Skip to content

Model Override Config

Tschipp edited this page Dec 4, 2022 · 16 revisions

The model overrides config can be used to manually override models for certain blocks. This is especially useful for blocks that change their appearance based on NBT.

Format (Pre 1.13):
modid:block;meta{NBT}->(type)modid:item;meta{nbt}
1.13+:
modid:block[properties]{NBT}->(type)modid:item{nbt}
1.19.2+:
modid:block[properties]{NBT}->(item)modid:item{nbt} or modid:block[properties]{NBT}->(block)modid:block[properties]

Meta, NBT and the type are optional.
The type defaults to "item".

Basic Examples:
minecraft:furnace->minecraft:dirt
minecraft:furnace->minecraft:dirt;1
minecraft:log;1->minecraft:stone;2
minecraft:hopper->(block)minecraft:hopper
minecraft:flower->(item)minecraft:flower

Note: Since metadata was removed in 1.13, the config takes block state strings like this:
minecraft:oak_log[axis=x] If you were to use blockstates and nbt (which is highly unlikely) you would do something like this: energymod:generator[facing=north]{energy:300}

Advanced Examples:
energymod:generator{energy:300}->energymod:battery;1
buildingmod:bricks;1{type="red"}->buildingmod:brick{type="orange"}

Clone this wiki locally