Posted April 4, 201312 yr This mod adds a few Armor pices into the game, they are Renering perfectly, if you were them, but if you place them into the world this happens: Does anyone have any idea, what is exactly happening/how I can fix it? Thank you!
April 4, 201312 yr It looks like You don't bind textures to the models. use Minecraft.getMinecraft().renderEngine.bindTexture("/mods/AwesomeArmorMod/textures/items/TopHat.png"); in Your renderer classes. But It would help if You've posted some code. http://imageshack.us/a/img707/2757/senitielsspacemarinemod.png[/img]
April 4, 201312 yr Author But thats what I'm doing, and if I were them on my head, the terrain looks ok!
April 4, 201312 yr Wait. You're not just tossing them, but placing them as blocks, right? This makes matters some more complicated. Are these hats primarily items, which can be placed as blocks, or blocks, which can be equipped? In the first case I know how to handle item Rendering, but I didn't do any complicated blocks, so I won't be of much use in the second case. Anyway, for Your blocks You need another rendering method. Take fence rendering for example, to see how it's done. But if You already do have a special rendering class for hat blocks, I'm out of ideas. http://imageshack.us/a/img707/2757/senitielsspacemarinemod.png[/img]
April 5, 201312 yr Author It's a block, which has it's own Item class, the Item can be equipped as armor and yes, I'm having an special rendering class for hat blocks. But anyway thank you
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.