nbt_test_inventory

The nbt_test_inventory command

  • Description: Counts the number of inventories satisfying the given conditions
  • Syntax: /nbt_test_inventory [TARGET] <SLOT> <NBT|ITEM AMOUNT META NBT> [equal] [BOUNDS]
  • Example: /nbt_test_inventory @e[type=EntityHorse,r=50] slot.horse.3 {display : {Name : "Supersword"}} >5 <10
  • Side: MoreCommands must be installed on the server side, client side doesn't matter

Video: