Updating from 1.6.4
to 7.0.0
Models
We have completely reworked our rendering system to be model-based instead of renderer-based.
Previously, you would do
.workableCasingRenderer(
"gtceu:block/casings/solid/machine_casing_robust_tungstensteel",
"gtceu:block/multiblock/primitive_blast_furnace", false
);
Now, you should instead use:
.workableCasingModel(
"gtceu:block/casings/solid/machine_casing_robust_tungstensteel",
"gtceu:block/multiblock/primitive_blast_furnace"
);
Previously, you would do
Now, you would do
To find an updated list of all the methods for models, look at MachineBuilder.java for singleblocks, and MultiblockMachineBuilder.java for multiblocks. Most methods have kept a similar name, replacing renderer
with model
.