Posted December 10, 201410 yr 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 https://github.com/bfox1/HardCoreTrees/tree/master
December 11, 201410 yr this the only item you have ?? if you register this item whith the texture from another of your items it loads? i
December 11, 201410 yr 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.
December 11, 201410 yr With Minecraft 1.8 you need to register the textures Eternaldoom has written about this at http://www.minecraftforge.net/forum/index.php/topic,24263.0.html This question has been answered on the forums before. Did you really need to know?
December 11, 201410 yr 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.
December 11, 201410 yr 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.
December 11, 201410 yr 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.