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

9

Hasitem filter

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    This is actually already a thing and has been for a while. By inputting “..” in front or before the integer you signify to the game that you want to detect less than and equal to or more than and equal to the the integer.

    Ex:

    /give @a[hasitem={item=apple,quantity=..4}] apple 1