SHARE
TWEET

ItemRenderRegister.java

a guest Jul 11th, 2016 16 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.Matthew.Swarmcraft.client.render.items;
  2.  
  3. import com.Matthew.Swarmcraft.items.ModItems;
  4.  
  5. import net.minecraft.client.Minecraft;
  6. import net.minecraft.client.renderer.block.model.ModelResourceLocation;
  7.  
  8. public final class ItemRenderRegister {
  9.    
  10.     public static void registerItemRenderer(){
  11.        
  12.         Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
  13.         .register(ModItems.tutorialItem, 0, new ModelResourceLocation("swarmcraft:tutorial_item", "inventory"));
  14.     }
  15.    
  16.    
  17.  
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top