1

Undroppable items (custom player inventory) need help

KM_Production 7/17/16 3:59 pm
578
7/17/2016 4:04 pm
Is there any way to make player inventory items undroppable and unmovable from his inventory?
I know there is this command that makes entity pickup delay to 0
/entitydata @e[type=Item] {PickupDelay:0}
and
/replaceitem entity @p <slot> <item> [amount] [data] [dataTag]
So you can replace items.
But is there easier way to do it?
Posted by
KM_Production
Level 18 : Journeyman Miner
3

  Have something to say?

JoinSign in

1

Emrison
07/17/2016 4:04 pm
Level 40 : Master System
As for making items UNDROPABLE, it cant be done in vanilla. You could always have some command blocks testfor if the items has been dropped, kill the item, then replace the same inventory slot with it like you said. That is by far the best way to do it in the current version of Minecraft.
1

Welcome