Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public static void registerRender(String[] list,String Domain,Item item){
  2.  
  3. for(int i = 0; i< list.length; i++){
  4. //Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, i, new ModelResourceLocation(list[i],"inventory"));
  5. ModelLoader.setCustomModelResourceLocation(item, i, new ModelResourceLocation(ModInfo.Tex + list[i],"inventory"));
  6.  
  7. }
  8.  
  9.  
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement