We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

10

Better Lock Tag for Chests (and Doors)

2 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 3
    Registered User commented
    Comment actions Permalink

    Yes, have the Lock tag be just like the item, without the Slot and Count tags. For example, something like this:

    Lock:{id:"minecraft:tripwire_hook",tag:{display:{Name:'{"text":"The Key"}'}}}

    would definitely be awesome! I would suggest keeping the old functionality in as well, for backwards compatibility.

  • 0
    Registered User commented
    Comment actions Permalink

    Another idea would be to just use a blockstate and not an nbt tag, then you wouldn't have to make the door a block entity.