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

3

Item command argument.

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    /execute as @e[nbt={Inventory:[{id:"minecraft:grass_block"}]}] run say hi

     

    All entities with grass block will say "hi"