CrushedPixel

Minecraft /stats return types

Oct 28th, 2015
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. General: If there's an entity selector (for example @p, @e, @r) in the command, it stores the amount of matched entities in AffectedEntities, otherwise AffectedEntities is set to 1
  2.  
  3. General: Stores the amount of entities, for which the command was successfully run, in SuccessCount
  4.  
  5. /testforblock, AffectedBlocks, either 0 or 1
  6. /setblock, AffectedBlocks, 0 or 1
  7.  
  8. /scoreboard teams list, QueryResult, amount of teams
  9. /scoreboard players list, QueryResult, amount of players tracked on any scoreboard
  10. /scoreboard players list [playername], QueryResult, amount of scores for specified player
  11. /scoreboard teams leave, AffectedEntities, amount of entities that left their team
  12. /scoreboard teams join, AffectedEntities, amount of entities that joined a team
  13. /scoreboard teams empty, AffectedEntities, amount of entities that were in the team
  14.  
  15. /list, QueryResult, amount of players in the world
  16.  
  17. /replaceitem, AffectedItems, amount of items in the new item stack
  18.  
  19. /xp, QueryResult, total XP or total XP levels, depending if relative or levels were added
  20. /worldborder, QueryResult, the worldborder's diameter
  21. /time query, QueryResult, the current daytime or gametime
  22. /spreadplayers, AffectedEntities, the amount of entities that were spread
  23. /give, AffectedItems, the amount of items given to the player
  24. /gamerule, QueryResult, the gamerule's value as a number
  25. /fill, AffectedBlocks, the amount of blocks that were filled
  26. /enchant, AffectedItems, either 0 or 1
  27. /testforblocks, AffectedBlocks, 0 or the amount of blocks that were matched
  28. /clone, AffectedBlocks, the amount of blocks that were cloned
  29. /clear, AffectedItems, the amount of items that were removed
  30. /blockdata, AffectedBlocks, either 0 or 1
Advertisement
Add Comment
Please, Sign In to add comment