1
Undroppable items (custom player inventory) need help
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?
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?
1
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.
