Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So after a few hours of getting the SteelIngot.json to be read, Now im having problems getting the texture to load in-game.

 

No errors get displayed to console and ive been trying different methods for other people and how they got their textures to work. So far I have nothing and Results remain the same. The steel ingot is a Block with the missing texture on it instead of the texture it is suppose to have

 

Here is the GitRepo. I appreciate your guys help! Still trying to figure out 1.8 :P

https://github.com/bfox1/HardCoreTrees/tree/master

  • Author

No this is the only texture i got for now. And i dont know if it would load with another. Havent tested. It just i dont understand why its giving me a missing purple and black texture when i believe the code is right.

  • Author

I have seen that and even adding

 

    public static void registerItem(Item item , int metadata, String name)

    {

        ItemModelMesher mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();

        mesher.register(item, metadata, new ModelResourceLocation(name, "inventory"));

    }

im still getting no luck loading up the texture. I wonder if im doing it all wrong. But im more certain that everything is right.

  • Author

Found the Problem. I am going to assume this is a Bug of some form as i dont believe its intended to be here.

 

For those people who have done it right, but still end up not seeing their texture. Before you try this, make sure the code is correct and if so, create a New world. Dont understand why, im sure this is a bug that will be soon squashed. but it loads the texture perfectly in the new world and anyworld after that.

 

dNDIvO4.png

Minecraft.getMinecraft().getRenderItem().getItemModelMesher();

        mesher.register(item, metadata, new ModelResourceLocation(name, "inventory")) should go under the FMLIntitializationEvent function, and just copy json of a diamond and change the minecraft:diamond/Items to modid:item/Items

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.