On this pageItem.TextureData Represents item texture data. For example, if /items-opaque folder contains file nugget_iron_0.png, you should pass "nugget_iron" as texture name and 0 as texture index. _N suffix can be omitted, but it is generally not recommended.Index PropertiesdatametanameProperties optionaldatadata?: number = 0Texture index defined by _N texture suffix.optionalmetameta?: numberThat feature is obsoleteSame as data, so data is preferred in all cases.namename: stringTexture name, name of the file stored in the /items-opaque asset folder without extension and _N suffixes.
Represents item texture data. For example, if /items-opaque folder contains file nugget_iron_0.png, you should pass
"nugget_iron"as texture name and0as texture index. _N suffix can be omitted, but it is generally not recommended.