Posted July 10, 201411 yr I am working on a mod and one of the things it adds is cups to Minecraft. I wanted them to be able to be placed on the ground like cakes and drunk from. I have a really good looking model for them and they already render really well. However, I can't figure out how to make drop them drop an item upon being destroyed rather than a block. I am new to developing in 1.7.10. Should I use an event or write code in the block file that would handle it? Creator of the Recipe Expansion Pack mod. http://www.minecraftforum.net/topic/1983421-172-forge-recipe-expansion-pack-version-012/ Updated to 1.7.2!
July 10, 201411 yr public Item getItemDropped(int p_149650_1_, Random rnd, int p_149650_3_) { return youritem; }
July 10, 201411 yr Author Thanks that worked! Creator of the Recipe Expansion Pack mod. http://www.minecraftforum.net/topic/1983421-172-forge-recipe-expansion-pack-version-012/ Updated to 1.7.2!
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.