Item or block data current ItemModel relates to
Item or block id current ItemModel relates to
true, if the model is empty
true, if this item model overrides the default model in player's hand
true, if this item model overrides the default model in player's inventory
Sets item model's material only in player's hand
material name to be used for the model
Sets item's model to display only in player's hand
RenderMesh, ICRender.Model or BlockRenderer.Model to be used as item model
texture name to be used for the model (use "atlas::terrain" for block textures)
material name to be used for the model
Sets item model's texture only in player's hand
texture name to be used for the model (use "atlas::terrain" for block textures)
Sets item model's material in both player's inventory and in hand
material name to be used for the model. See {@page Materials and Shaders} for more information
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
texture name to be used for the model (use "atlas::terrain" for block textures)
material name to be used for the model
Sets item model's texture in both player's inventory and in hand
texture name to be used for the model (use "atlas::terrain" for block textures)
Sets item model's material only in player's inventory
material 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
texture name to be used for the model (use "atlas::terrain" for block textures)
material name to be used for the model
Sets item model's texture only in player's inventory
texture name to be used for the model (use "atlas::terrain" for block textures)
Generated using 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. 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