Plugin category: Mechanic Suggested name: DeadPumpkins What I want: A plugin that converts pumpkin item entities to 86:4, the faceless pumpkin block. Ideas for commands: None Ideas for permissions: None When I'd like it by: January 31st
Not too sure what you want. All pumpkins in world to be changed to 86:4 or all pumpkins in inventory to be changed to 86:4 or...?
http://minecraft.gamepedia.com/Item_(entity) Maybe the things conveniently coined item entities. If a pumpkin item entity(86) is on the ground, then it is converted to 86:4.
I can try, does not seem to be too hard . Next time make sure you Tahg me so I can see your response faster. rayblon rayblon In the time I had I have made it so when I destroy the pumpkin then it drops me a stone block; because "86:4" is not a material (Material.PUMPKIN is) It's about 5-10 min work left, sadly I did not have enough time. Also I'm going to add a simple permission to bypass it, so if you want admins to drop normal pumpkin you'd give them the permission.
Spawn the entity using item ID not material. If the meta isn't in the constructor then you can edit it once you have a reference to it.
Sad news, I am unable to make it drop 86:4 - it's impossible to drop that as an entity; if you spawn it into your inventory then it is a normal pumpkin. Unless someone else gets this to work, I think it's impossible. Sorry.
It seems to be a bug. Although it's not completely intended, the damage value should persist when it's in one's inventory. I'll submit a ticket to Minecraft's Mojira later.
Konkz Noted; if you find any other blocks that do this, PM me their IDs/names. I'll make a mojira ticket detailing the blocks when they finish moving their database.
It's probably not a bug, as data values certainly persist in the inventory (go pick up some colored wool...). It's likely due to the fact that the faceless pumpkin itself is the bug.
Garris0n 86:1, 86:2, and 86:3 are implemented and intended blocks, but also get converted to 86 in the inventory.
rayblon The items in the inventory are limited, try doing the same with logs:9, will give sideways logs in the world, but normal ones in the inventory. Konkz How about using lores or changing the displayname?
Konkz timtower skore87 I made a mojira ticket for it, but it got struck down only two hours after it being submitted. Pointing out only the bug won't do me any good unless I can prove that the devs don't intend for the reversion to happen. I have a tweet from jeb_ that states he has been thinking about faceless pumpkins... from 2011. I can also use the fact that the damage values on the pumpkin hat affects it's appearance. If it was intended for only the "normal" pumpkin to be worn and in the inventory, it would not affect the hat. Any other ideas?
You never tagged me. Anyway, they determine the side in the world, not in your inventory. Mojang won't fix it because that's exactly how it's meant to work. The face is determined by how you place it, not it's inventory data value. The request itself is perfectly possible, just listen to the block place and change the block's data value.
Garris0n http://minecraft.gamepedia.com/Damage_value#Pumpkins_and_Jack_o.27Lanterns Found a workaround. Rename pumpkins that are broken as "Dead pumpkin" and, when a player attempts to place a pumpkin, check if it's named "Dead pumpkin" then replace the placed pumpkin with 86:4
timtower Konkz Found a workaround. Rename pumpkins that are broken as "Dead pumpkin" and, when a player attempts to place a pumpkin, check if it's named "Dead pumpkin" then replace the placed pumpkin with 86:4