April 2, 20169 yr When doing Item.getItemFromBlock(Blocks.unlit_redstone_torch) this returns null. This is because the map BLOCK_TO_ITEM does not contain the unlit redstone torch. The function registerItems in Item does not register the block. Not sure if this is a forge or minecraft bug or whether it's intended. I'm looking to render the item in a gui, so if this is intended does any one know of another way of getting the Item graphic for the block? Regards.
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.