use of binnie.core.models.ModelMutlipass in project Binnie by ForestryMC.
the class BlockCeramicBrick method registerStateMapper.
@SideOnly(Side.CLIENT)
@Override
public void registerStateMapper() {
ResourceLocation resourceLocation = new ResourceLocation(Constants.BOTANY_MOD_ID, "ceramicBrick");
ModelLoader.setCustomStateMapper(this, new DefaultStateMapper(resourceLocation));
ModelManager.registerCustomBlockModel(new BlockModelEntry(new ModelResourceLocation(resourceLocation, "normal"), new ModelResourceLocation(resourceLocation, "inventory"), new ModelMutlipass<>(BlockCeramicBrick.class), this));
}
use of binnie.core.models.ModelMutlipass in project Binnie by ForestryMC.
the class BlockDesign method registerStateMapper.
@SideOnly(Side.CLIENT)
@Override
public void registerStateMapper() {
ResourceLocation registryName = getRegistryName();
ModelLoader.setCustomStateMapper(this, new DefaultStateMapper(registryName));
ModelManager.registerCustomBlockModel(new BlockModelEntry(new ModelResourceLocation(registryName, "normal"), new ModelResourceLocation(registryName, "inventory"), new ModelMutlipass<>(BlockDesign.class), this));
}
Aggregations