mojira.dev
MC-56599

On the /help menu it shows /clear <player>. But just "/clear" works so it should be /clear [player]

/clear <player> [item] [data] [maxCount] [dataTag]
Should mean that <player> is required. But it's not, just:

1. GO IN TO GAME
2. type "/clear", IT WORKS

So it should be:
/clear [player] [item] [data] [maxCount] [dataTag]

Comments 1

Considering MC-12906, I don't think this qualifies as a feature request. It is true that the /clear command can be used without any arguments, and the documentation for it should reflect that.

However, the help pages are a bit inconsistent on how they accomplish this. For example, the spawnpoint command is listed as

/spawnpoint OR /spawnpoint <player> OR /spawnpoint <player> <x> <y> <z>

However, the only command that lists all of its arguments as being optional is /help.

Anyway, on 14w21b, the help for clear says

/clear <player> [item] [data]

trazlander

michael

Confirmed

Minecraft 1.7.9, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 1.7.10-pre1, ..., Minecraft 14w26c, Minecraft 1.7.10, Minecraft 14w27a, Minecraft 14w27b, Minecraft 14w28a

Minecraft 14w28b

Retrieved