How to add custom tag to doors, and how to detect it?

Started by OneHana on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add custom tag to doors, and how to detect it?

I want to add "locked" tag to doors

and after right clicked, it shows lockpicking GUI

 

but I'm so confused about which type of tag I need and how to add it to doors?

 

I made this procedure, and wrote command   /give @s oak_door{locked:1}

it displays only "tags not found" when I right click it.

I wonder that it's because the door hasn't the correct tag, or my procedure is wrong

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I solved it in different way
Mon, 01/16/2023 - 22:04

I solved it in different way