• 1

    posted a message on Best Minecraft Version for Modding?

    in my honest opinion, start with either 1.8.9 or 1.9. 1.7.10 is getting a bit old, and 1.10 might as well be an expanded/modded 1.9.

    Posted in: Modification Development
  • 1

    posted a message on Replacement for RenderItem#getItemModelMesher
    Quote from Spyeedy»

    Okay so i replace getUnlocalizedName.substring(5) with getRegistryName()? I still have to specify the modid?




    he's saying you replace Reference.MOD_ID + ":" + item.getUnlocalizedName.substring(5) with item.getRegistryName() like so:

    ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));


    this basically does the same thing as Reference.MOD_ID + ":" + item.getUnlocalizedName.substring(5) except it's guaranteed to work, whereas unlocalized names can change without warning thus rendering the line useless the moment the unlocalized name doesn't fit.

    Posted in: Modification Development
  • To post a comment, please .