use of binnie.extratrees.models.ModelETDecorativeLeaves in project Binnie by ForestryMC.
the class ProxyClient method registerModels.
@Override
public void registerModels() {
for (BlockETDecorativeLeaves leaves : ModuleWood.leavesDecorative) {
String resourceName = leaves.getRegistryName().toString();
ModelResourceLocation blockModelLocation = new ModelResourceLocation(resourceName);
ModelResourceLocation itemModeLocation = new ModelResourceLocation(resourceName, "inventory");
BlockModelEntry blockModelIndex = new BlockModelEntry(blockModelLocation, itemModeLocation, new ModelETDecorativeLeaves(), leaves);
registerBlockModel(blockModelIndex);
}
for (BlockETDefaultLeaves leaves : ModuleWood.leavesDefault) {
String resourceName = leaves.getRegistryName().toString();
ModelResourceLocation blockModelLocation = new ModelResourceLocation(resourceName);
ModelResourceLocation itemModeLocation = new ModelResourceLocation(resourceName, "inventory");
BlockModelEntry blockModelIndex = new BlockModelEntry(blockModelLocation, itemModeLocation, new ModelDefaultETLeaves(), leaves);
registerBlockModel(blockModelIndex);
}
for (BlockETSlab slab : ModuleWood.slabsDouble) {
ModuleArboriculture.proxy.registerWoodModel(slab, true);
}
for (BlockETSlab slab : ModuleWood.slabsDoubleFireproof) {
ModuleArboriculture.proxy.registerWoodModel(slab, true);
}
modelManager.registerModels();
}
Aggregations