Models
See also: the Minecraft Wiki on models.
This page serves as an index for many different types of custom model loaders added by various SlimeKnights mods. Item models are defined in assets/<domain>/model/item/<name>.json
, where <domain>:<name>
is the item’s ID. Block models are typically defined under assets/<domain>/model/block/
, though the names are arbitrary (as long as its properly referenced from the block state).
Basic
- Model Components: Components that show up in many different model formats.
- Faucet Fluids: JSON defining the location of fluid in a block when a Tinkers’ Construct or Ceramics faucet pours into the block.
Mantle
The following pages cover custom model formats defined in Mantle:
- Connected: Model with textures that change if the neighbor is the same block type.
- Fluids: Model format defining the location of fluids, used for various types of tanks.
- Inventory: Model format defining the location of items rendered on the model.
- Retextured: Model that dynamically changes it’s texture based on it’s NBT.
- NBT Key: Item model that dynamically changes it’s texture based on it’s NBT.
- Fallback: Model loader which can conditionally redirect to a different loader based on whether a mod is loaded.
Tinkers’ Construct
- Fluid Container: Extension of Forge’s fluid container model which bakes the fluid color into the model rather than using an item color handler. Additionally, it supports fluid NBT for the texture and colors.
Block
- Casting: Model defining both a list of items and a fluid location for casting tables and basins.
- Channel: Model defining the locations of fluids on each side of the casting channel.
- Fluid Texture: Retextured model variant that additionally includes a fluid texture.
- Melter: Model defining a list of items and a fluid location for the melter. Based on config, can statically render the fluid instead of using the block entity renderer. Additionally, it can optionally replace the model shown in the GUI variant.
- Table: Retextured model that additionally defines a list of items to display.
- Tank: Model defining a fluid location for a tank. Based on config, can statically render the fluid instead of using the block entity renderer. Additionally, it can optionally replace the model shown in the GUI variant.