an item that changes the nbt block

Started by smeorkuk687 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
an item that changes the nbt block

I need to make a change using an item in the nbt block. I want to open my door using their level 5 cards. It should look like level 1 of the card opens the door with nbt levelcard 1. How can this be done, please tell me

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
or then transfer from the…
Sat, 01/25/2025 - 13:52

or then transfer from the nbt item to the nbt block

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could do the trigger, …
Wed, 02/19/2025 - 10:47

you could do the trigger, "OnRightClicked" or something for the block, then check if the item the enity who right clicked the block with is your level 5 keycard, if it is then it changes it's own NBT and open. Voila!