mojira.dev

When you go /clear @p stone 0 64 this should remove 64 items of stone if the player has 64, but it just still clears you if you have 1 item.
Another bug is that when you go "/? clear" it only says "/clear <player> [item] [data]" when it should go "/clear <player> [item] [data] [Count]" so you know that the last number mean how many you clear.

Attachments

Comments 5

The first issue is not really an issue. The syntax is not what you provided, but:

/clear <player> [item] [data value] [maxClearCount] [NBT tags]

When you write 64, that means that the maximum of 64 items will be deleted, so, if a player has 65 items of the same type, it will only delete 64.

One bug per ticket please.

... also the command help syntax is correct, see screenshot.

so if i want to check if one has 64 of something and get exactly 64 off him, then id have to first check, if he has 64 and then remove one by one, as he might chuck some in that split second between the checking and removing? thats a neussence, why cant the syntax be: /clear <player> [item] [data value] [ClearCount] [NBT tags]
where [ClearCount] is exact, not max or min.

the problem with it now, is that i could check if one has 64 of x and thereby remove at max 64 of x. but one might have only one of x but this will trigger nontheless...

@@unknown: For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

Tainted Energy

(Unassigned)

Unconfirmed

Minecraft 14w05b

Retrieved