/clear <block> throws syntax error when no data value provided
Partner Rank:
1
Partner Team Reporting:
Pathway Studios
Verification Builds and Platforms:
1.11.0.8 RC1 (Minecraft-Release_UAP_x64_1926090)
Summary:
Running the command /clear @s <block> returns “Invalid command syntax: no such tile.<block> exists with that data value”. The command /clear @s <block> -1 returns the same error.
Impact:
This breaks mechanics in numerous maps, including Blitz Build, Blitz Build Summer, Restaurant Sim: Head Chef, and Ultimate Minigame Rush.
Repro Steps:
- Create a new world
- Run the command: /give @s stone 1 0
- Run the command: /clear @s stone
- Observe error in chat
Observed Results:
The block is not cleared and the game prints: “Invalid command syntax: no such tile.stone exists with that data value”
Expected Results:
The stone should be cleared from the player’s inventory.
Screenshot/Video?
Yes, attached.
Regression Builds:
1.10.0.7 RC2 (Minecraft-Release_UAP_x64_1846015)
Notes:
Running the command “/clear @s stone -1” returns the same syntax error.