Optional
listener: IconRebuildListenerSets item's model to display only in player's hand.
RenderMesh, ICRender.Model or BlockRenderer.Model to be used as item model
Optional
texture: stringtexture name to be used for the model (use "atlas::terrain"
for block textures)
Optional
material: stringmaterial name to be used for the model
Sets item's model to display both in the inventory and in hand.
RenderMesh, ICRender.Model or BlockRenderer.Model to be used as item model
Optional
texture: stringtexture name to be used for the model (use "atlas::terrain"
for block textures)
Optional
material: stringmaterial name to be used for the model
Sets item's model to display only in player's inventory.
RenderMesh, ICRender.Model or BlockRenderer.Model to be used as item model
Optional
texture: stringtexture name to be used for the model (use "atlas::terrain"
for block textures)
Optional
material: stringmaterial name to be used for the model
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class representing item model in player's hand and/or inventory. To get an instance of this class from your code, use ItemModel.getFor static function.
Remarks
The coordinates of the full block in player's hand or inventory is (0, 0, 0), (1, 1, 1), so it is generally recommended to use the models that fit that bound at least for the inventory.
Since
2.0.2b20