Unpickable item

Hi!

I use /summon Item 21 75 312 {Item:{id:writable_book, Count:0}} to summon an unpickable item. Sponge doesn’t support 0-itemStacks, so I can’t do that exact same thing in Sponge with a plugin.
Any ideas how to accomplish the effect of an unpickable item?

Thanks! :slight_smile:

I don’t know if you can use this data, but an item entity have the property PickupDelay . http://minecraft.gamepedia.com/Item_(entity)

Ah, cool! It seems that there is no PickupDelay data.
I found this https://github.com/SpongePowered/SpongeCommon/blob/3def9ccc172b312b81a0677386a5b8a8105d6dd9/src/main/java/org/spongepowered/common/mixin/core/entity/item/MixinEntityItem.java#L117 but it is in SpongeCommon and not the API. What is the reason for this?

Those methods were used prior to the current Data API, and were never updated. Could you open an issue on SpongeAPI about exposing Item pickup delay?

@Aaron1011 Thanks for clearing this up!

and