This page is about the format for configuring block entity renderers from 1.16 to 1.19. For the format used since 1.20, see Render Item Lists.

This page covers the format used for configuring the location of items in Mantle inventory block entity renderers between 1.16 and 1.19. This format populated the data using custom model loaders, which was then fetched at runtime by the block entity renderer.

Inventory

The inventory model loader is added by Mantle, and is the default way to add item locations to a block entity renderer for supporting block entity renderers. It has the following format:

  • (Object): Inventory model JSON.
    • loader (Resource Location): Always mantle:inventory.
    • All fields from Colored Block Model.
    • 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.

Table

The table model loader is added by Tinkers’ Construct to combine the inventory model with the retextured model. It is notably supported by the crafting station, tinker station, part builder, modifier worktable, and tinkers anvil. It has the following format:

  • (Object): Inventory model JSON.
    • loader (Resource Location): Always tconstruct:table.
    • All fields from Colored Block Model.
    • retextured (String): Name of the texture from textures to retexture.
    • retextured (Array): List of names to retexture.
      • retextured (String): A name from textures to retexture.
    • 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.

Melter

The melter model loader is added by Tinkers’ Construct to combine the inventory model with the tank model. It is notably supported by the melter, hence its name. The melter model does not support rendering fluid in the model by default, only when the config option is enabled. It has the following format:

  • (Object): Inventory model JSON.
    • loader (Resource Location): Always tconstruct:melter.
    • All fields from Simple Block Model.
    • gui (Simple Block Model): Model to render when the block is in the GUI. Typically used to allow backfaces on the original model. If unset, the base model will be used in the GUI.
    • fluid (Fluid Cuboid): Location to place the fluid in the model.
      • increments (Integer): Number of different levels of fluid to generate models for. Models are generated dynamically so it will not impact load times, but it may impact performance at runtime.
    • 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.

Casting

The casting model loader is added by Tinkers’ Construct to combine the inventory model with the fluid model. It is notably supported by the casting table and basin, hence its name. It has the following format:

  • (Object): Inventory model JSON.
    • loader (Resource Location): Always tconstruct:casting.
    • All fields from Colored Block Model.
    • fluid (Fluid Cuboid): Location to place the fluid in the model.
    • items (Array): List of items to display. Only the first 2 values are used.
      • (Render Item): An item to render. Index in the list corresponds to the index in the block’s inventory.