Started by
XSpeedRate
on
Topic category: Help with Minecraft modding (Java Edition)
How do I make an item that doesn't come off by normal means? Let's say that keep inventory is off, so when you die the item stays in your off-hand, the player cannot take it off themselves. I also don't want the item to drop when the player is killed. Any ideas on how to tackle this?
Anybody?
This is very easy
Create a standalone procedure, give any name, and do the following.
Will it work? Yes
Useful? No
Why not? The item will be duplicated endlessly it move to the main-hand or moved to the inventory.
You will have to find a way to lock it from being moved. I do not know how to lock it in the off-hand.