MinecraftClear instruction

Clear

Permissions level Java version: 2 base rock version: 1 base rock version: 1
Limited conditions Enable cheating >

Clear the items of the player's items.

Grammar Java version Clear [] [] [] The basic rock version Player: target][itemname: item] [data: int] [maxcount: int] parameters

Je: : EntityBe: Player: Target : CommandSelector

Specify the player who wants to be cleared.If it is not specified, the commander of the command is default.It must be the player's name, target selectioner or uuid [only java version].And the target selector allows players only.

Je: : item_predicatebe: itemname: item : Commanditem

Specify items to be cleared.If it is not specified, the default is all the items.In the Java version, it must be the ID parameter (supporting items).In the base rock version, it must be a block ID in the form of items or the form of items.

data: int : int

Specify the data value of the items to be removed.If it is not specified or -1 , the data value of the item is not considered; if the specified data value is invalid, the default is 0 .It must be a 32 -bit integer value.The numbers (including) between -1 and 2147483647 must be.

Je: : Integerbe: MaxCount: int : int

Specify the maximum value to be removed.If it is not specified or -1 < /code> [Only Bidth Edition], then all the items that meet other requirements by default; if it is 0 <0 No items will be cleared, and the number of specified items is returned at the same time.It must be a 32 -bit integer value.In the Java version, 0 and 2147483647 (inclusive) must be between 0 and 2147483647.In the base rock version, numbers (inclusive) must be between -1 and 2147483647.Effect

/tr>
Command trigger conditions java version Kyan Edition
Any Parameters are not correctly specified Unable to parse Unable to parse
or Player: Target Unsure and command executors are not players ExecutionFailure Execution failure
Or Player: Target Can't analyze it as one or more online players
There is no specified item in the player's items
Player: Target Not a player type selector N/A
Data: int or MAXCOUNT: int Small than -1
When the execution is successful Clear or detect the items of designated players
Output