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

  • (Object): The fluid cuboid object.
    • center (Vector): Location of the center of the item. If unset, defaults to <0,0,0>.
    • size (Number): Size of the item in pixels. If set to 0, item will not render.
    • x (Integer): 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.
    • y (Integer): 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.
    • transform (Resource Location): Selects which item transforms are used to render this item, based on the types seen in 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 as none.
      • tconstruct:melter: Applies transforms used when placed inside the melter. Typically the same as none but notably makes Tinkers’ Construct tools use their small model.
      • tconstruct:casting_table: Applies transforms used when on the casting table. Typically the same as fixed but notably makes Tinkers’ Construct tools use their small model.
      • tconstruct:casting_basin: Applies transforms used when in a casting basin. Typically the same as none but notably makes Tinkers’ Construct tools use their small model.

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:

  • (Object): A render item list object.
    • parent (Resource Location): If set, loads properties from the render item list at the specified location for any properties not set in this JSON.
    • items (Array): List of items to display.
      • (Render Item): An item to render. Index in the list corresponds to the index in the block’s inventory.