Skip to content

Command cleaninventory

tom2208 edited this page Feb 22, 2020 · 3 revisions

This commands sorts an inventory that is associated with a block (like a chest).

Permission

chestcleaner.cmd.cleaninventory

Syntax

  • /cleaninventory : Sorts the inventory of the block you're look on, if available. (has a range of 12 blocks, so if your too far away, form a chest or something else, it could try to sort an air block)
  • /cleaninventory [x] [y] [z] : Sorts the inventory of the block on the position x/y/z (x,y,z are integers) in your world if that block has an inventory. Example: "/cleaninventory 234 34 -34"
  • /cleaninventory [x] [y] [z] [worldname] : Sorts the inventory of the block on the position x/y/z (x,y,z are integers) in the world with the name "worldname" if that block has an inventory. Example: "/cleaninventory 234 34 -34 world_nether"