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

17

Sneak Tag

5 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    Then what is the point of SNEAKING

     

  • 0
    Registered User commented
    Comment actions Permalink

    The point on sneaking is so if your doing commands and you want to add Sneak detection you can easily do so. Before this you either had to no java or create a score board.

  • 1
    Registered User commented
    Comment actions Permalink

    But the point of NBT data is for long-term storage. Why would it be relevant whether or not a player is sneaking if after they relog, they'll instantly unsneak?

    Also, like you mentioned, you can just make a scoreboard objective and test for that. It's really not that difficult. If you're in 1.15 and above, you could even create a custom predicate in a datapack using the entity_properties condition that tests if a player is sneaking. There's no point in this new NBT tag.

    "[If you wanted sneak detection] you either had to know Java or create a scoreboard"

    Then create a freaking scoreboard it's not that hard.

  • 0
    Registered User commented
    Comment actions Permalink

    It honestly just makes life easier mate.

  • 0
    Registered User commented
    Comment actions Permalink

    Andre Chen The point is to make it easier. Using a scoreboard requires multiple lines and is inelegant. Using a predicate requires creating a separate file. This all makes it more annoying to easily check if a player is sneaking.