nbt_test_entity

The nbt_test_entity command

  • Description: Counts entities specified by the target selector
  • Syntax: /nbt_test_entity <TARGET> [equal] [BOUNDS]
  • Example: /nbt_test_entity @e[type=Pig,nbt={Saddle:1}] >10 <50
  • Side: MoreCommands must be installed on the server side, client side doesn't matter

Video: