Sign in
Skip to main content

Commands let players perform actions and customize gameplay using text-based instructions. Use this topic to share feedback and ideas for improving commands and related tools.

9

Hasitem filter

1 Comments

Post a new comment:

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