Class MegaModelTest

java.lang.Object
net.neoforged.neoforge.oldtest.client.model.MegaModelTest

public class MegaModelTest extends Object
Test mod that demos most Forge-provided model loaders in a single block + item, as well as in-JSON render states and the refactored immutable ModelData managed by the client level. The block can be found in the decoration tab.

Additionally, some fields in the JSON have deprecated names, so those MUST be updated in 1.20, or the model will break. They have all been annotated accordingly.

  • As a block: Composite loader, using 3 child element models, each with a different render type, some using vanilla's elements loader, and some Forge's
  • In the right hand: Fluid container with lava (emissive)
  • In the left hand: Multi-layer item with chainmail chestplate + emissive bow

Clicking on the upper half of the block will make the model move up by a bit, and clicking on the lower half will move it down.