use of net.minecraftforge.fml.relauncher.SideOnly in project Overloaded by CJ-MC-Mods.
the class ItemMultiTool method registerModel.
@SideOnly(Side.CLIENT)
@Override
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(new ResourceLocation(MODID, "multi_tool"), null);
ModelLoader.setCustomModelResourceLocation(this, 0, location);
}
use of net.minecraftforge.fml.relauncher.SideOnly in project Overloaded by CJ-MC-Mods.
the class BlockInfiniteWaterSource method registerModel.
@SideOnly(Side.CLIENT)
@Override
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(new ResourceLocation(MODID, "infinite_water_source"), null);
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, location);
}
use of net.minecraftforge.fml.relauncher.SideOnly in project Overloaded by CJ-MC-Mods.
the class BlockItemInterface method registerModel.
@SideOnly(Side.CLIENT)
@Override
public void registerModel() {
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(getRegistryName(), null));
ClientRegistry.bindTileEntitySpecialRenderer(TileItemInterface.class, new ItemInterfaceRenderer());
}
use of net.minecraftforge.fml.relauncher.SideOnly in project Overloaded by CJ-MC-Mods.
the class BlockItemManipulator method registerModel.
@Override
@SideOnly(Side.CLIENT)
public void registerModel() {
ModelResourceLocation location = new ModelResourceLocation(getRegistryName(), null);
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, location);
}
use of net.minecraftforge.fml.relauncher.SideOnly in project Overloaded by CJ-MC-Mods.
the class BlockCompressed method registerModel.
@SideOnly(Side.CLIENT)
@Override
public void registerModel() {
CompressedBlockAssets.addToTextureQueue(new CompressedBlockAssets.CompressedResourceLocation(getBaseModelLocation(), getRegistryName(), getCompressionAmount()));
ModelResourceLocation rl = new ModelResourceLocation(getRegistryName(), "inventory");
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, rl);
}
Aggregations