Advertisement
Guest User

Rendering a block

a guest
Jan 4th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. public static void preInitModel()
  2.     {
  3.         ResourceLocation[] resourceVariants = new ResourceLocation[]
  4.         {
  5.                 new ResourceLocation(Reference.ResourcePath + "evolvedFurnace_burning"),
  6.                 new ResourceLocation(Reference.ResourcePath + "evolvedFurnace")
  7.         };
  8.         ModelBakery.registerItemVariants(Item.getItemFromBlock(EvolvedFurnace), resourceVariants);
  9.         ModelResourceLocation itemModelResourceLocation = new ModelResourceLocation(Reference.ResourcePath + "evolvedFurnace", "inventory");
  10.         ModelLoader.setCustomModelResourceLocation((Item.getItemFromBlock(EvolvedFurnace)), 0, itemModelResourceLocation);
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement