Untitled


SUBMITTED BY: antoineh1

DATE: May 8, 2016, 2 p.m.

FORMAT: Text only

SIZE: 428 Bytes

HITS: 5661

  1. @SideOnly(Side.CLIENT)
  2. public void initModel(){
  3. //ModelBakery.registerItemVariants(this, new ResourceLocation(getRegistryName()+"_0"), new ResourceLocation(getRegistryName()+"_1"));
  4. ModelLoader.setCustomModelResourceLocation(this, 0, new ModelResourceLocation(getRegistryName()+"_0","inventory"));
  5. ModelLoader.setCustomModelResourceLocation(this, 1, new ModelResourceLocation(getRegistryName()+"_1","inventory"));
  6. }

comments powered by Disqus