use of com.cjm721.overloaded.util.FacingStateMapper in project Overloaded by CJ-MC-Mods.
the class BlockEnergyExtractor method registerModel.
@Override
@SideOnly(Side.CLIENT)
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(getRegistryName(), null);
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, location);
FacingStateMapper stateMapper = new FacingStateMapper(getRegistryName());
ModelLoader.setCustomStateMapper(this, stateMapper);
}
use of com.cjm721.overloaded.util.FacingStateMapper in project Overloaded by CJ-MC-Mods.
the class BlockGrill method registerModel.
@Override
@SideOnly(Side.CLIENT)
public void registerModel() {
ResourceLocation resourceLocation = new ResourceLocation(MODID, "grill");
ModelResourceLocation location = new ModelResourceLocation(resourceLocation, null);
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, location);
FacingStateMapper stateMapper = new FacingStateMapper(resourceLocation);
ModelLoader.setCustomStateMapper(this, stateMapper);
}
Aggregations