An item that never comes off.

Started by XSpeedRate on

Topic category: Help with modding (Java Edition)

Last seen on 16:03, 3. Jan 2024
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
An item that never comes off.

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?

Last seen on 16:03, 3. Jan 2024
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anybody?
Mon, 01/31/2022 - 17:57

Anybody?

Last seen on 21:23, 22. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is very easy Create a…
Mon, 02/07/2022 - 18:47

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.