ItemDefinition
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
ItemDefinition
implements the following interfaces:
Undocumented Interfaces
FeatureElement
,IItemExtension
Members
asItem() as Item
Return Type:
ItemDefinition
as Item
Return Type:
ItemDefinition
Getter
Return Type:
string
commandString() as string
Return Type:
string
Getter
Return Type:
IItemStack
defaultInstance() as IItemStack
Return Type:
IItemStack
implicit as IItemStack
Return Type:
IItemStack
Getter
Return Type:
ResourceLocation
registryName() as ResourceLocation
Return Type:
ResourceLocation