Posted June 21, 201411 yr I have recently started modding minecraft. Today, I am working on adding a Pizza oven to minecraft and of course, sided textures. The problem I have is that the front is not visible if it is an item. How do I fix this? BlockOven.java: http://pastebin.com/adwqBQAL Screenshot: Check out my mod!
June 21, 201411 yr In the inventory, the metadata is still 0 as you set it to another value, in the onBlockPlacedBy method, and you check if the side is the bottom or the top of the oven, and then set the texture. Else, you check if the metadata is equal to the side, so a metadata is 0, and the bottom face is 0, so it sets the front texture to the bottom. If you want to face the oven the same way as all the vanilla furnace, check if the metadata is 0 and the side is 2, and then return the fron texture. But you need to do it before everything else in that method. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
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.