Commands in Depth



1 comment

  • Evgenii Permiakov

    I would like to remove 15 apples from a player’s inventory only if there are 15 or more apples in this person’s inventory. Command /clear @p apple 0 15 will remove 15 apples if a player has 15 or more. However it will also remove 8, if a player only has 8. Is there a way to solve it?

    I am trying to check if a player has 15 apples in the inventory? From my research I found that Java edition of Minecraft allow a command /testfor @p {Inventory:[{id:minecraft:apple,Count:3b}]}. However MEE seems to have a different syntax for /testfor command. Does anyone now how to test the quantity of items in the inventory?


Please sign in to leave a comment.

Powered by Zendesk