@minecraft/server / ItemType
Class: ItemType ​
Defined in: @minecraft/server/index.d.ts:15211
Represents the type of an item - for example, Wool.
Properties ​
id ​
readonlyid:string
Defined in: @minecraft/server/index.d.ts:15219
Remarks ​
Returns the identifier of the item type - for example, 'minecraft:apple'.
localizationKey ​
readonlylocalizationKey:string
Defined in: @minecraft/server/index.d.ts:15226
Remarks ​
Key for the localization of this ItemType's name used in .lang files.