Render Items
Render items describe the location of items rendered on block entities from Tinkers’ Construct. This page describes both the format for fluid cuboids along with common usages of them in Mantle and Tinkers’ Construct.
Format
<0,0,0>
.
Location of the center of the item. If unset, defaults to - Size of the item in pixels. If set to 0, item will not render.
- Rotation to apply to the item along the X axis, applied before Y rotation. Must be 0/90/180/270. If unset, defaults to 0.
- Rotation to apply to the item along the Y axis, applied after X rotation. Must be 0/90/180/270. If unset, defaults to 0.
- model display. The following options are available with vanilla and Tinkers’ Construct:
none
: Applies no transform. Default value.fixed
: Applies item frame transformations, which notably makes blocks much smaller.ground
: Applies transforms used for items on the ground.gui
: Applies transformations used for items .head
: Applies transforms used when worn on an entity’s head.firstperson_lefthand
: Applies transforms used when held in the left hand in first person. Rarely useful in models.firstperson_righthand
: Applies transforms used when held in the right hand in first person. Rarely useful in models.thirdperson_lefthand
: Applies transforms used when held in the left hand in third person. Rarely useful in models.thirdperson_righthand
: Applies transforms used when held in the right hand in third person. Rarely useful in models.tconstruct:table
: Applies transforms used when on any type of table from Tinkers’ Construct. Typically the same asnone
.tconstruct:melter
: Applies transforms used when placed inside the melter. Typically the same asnone
but notably makes Tinkers’ Construct tools use their small model.tconstruct:casting_table
: Applies transforms used when on the casting table. Typically the same asfixed
but notably makes Tinkers’ Construct tools use their small model.tconstruct:casting_basin
: Applies transforms used when in a casting basin. Typically the same asnone
but notably makes Tinkers’ Construct tools use their small model.
Selects which item transforms are used to render this item, based on the types seen in
The fluid cuboid object.
Render Item Lists
For the format used from 1.16 to 1.19, see Inventory Model.
Render item lists are used since 1.20 to define the location of items within a block entity renderer in Tinkers’ Construct or Ceramics. Render item lists are defined underassets/<domain>/mantle/model/render_items/<name>.json
for the block or template named <domain>:<name>
. They have the following format:
- If set, loads properties from the render item list at the specified location for any properties not set in this JSON.
- An item to render. Index in the list corresponds to the index in the block’s inventory.
List of items to display.
A render item list object.