make an item unable to be removed from inventory

Started by DeRokerij on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make an item unable to be removed from inventory

i want to make it so a specific item cannot be removed from the inventory unless in creative mode

i was wondering if anyone knew how to make it so that once a player has a specific item in their inventory that item can no longer be moved to a chest or dropped on the floor
 but other items still can be removed/moved

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wanted to know this too, i…
Sun, 04/14/2024 - 14:04

I wanted to know this too, i searched so much but i couldn't find anything

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
force it back into the…
Mon, 04/15/2024 - 06:05

force it back into the inventory upon drop