-
Bug
-
Resolution: Duplicate
-
None
-
1.17.1
-
None
-
Windows 10; Java 16
-
Unconfirmed
-
(Unassigned)
The Bug: mining a diamond_ore block after it has been removed from minable/pickaxe and needs_iron_tool tag with or without a tool yields no blocks even though it is expected that it would like other blocks such as cactus or any other block that can be mined by any or no tool. Simply put there is an inconsistency with the minable tags and needs_<type>_tool tags and blocks that break without using these features.
Steps to reproduce:
If you download the datapack below start at step 4 otherwise start at step 1.
1) Create the basic setup for a datapack that will replace the vanilla one
2) Copy the files from the jar: "<pack_name>/data/minecraft/tags/minable/pickaxe.json" and "<pack_name>/data/minecraft/tags/needs_iron_tool.json"
3) Remove "minecraft:diamond_ore" entry/field from both files.
4) Then either drag and drop the data pack into a new world datapacks screen or move it to the datapacks folder of an existing world.(make sure you have cheats enabled)
5) Make sure the pack is loaded & enabled via "/datapack list" otherwise enable with the "/enable" command.
6) Disable the vanilla datapack with "/datapack disable vanilla"
7) Place a diamond block and mine it with your hand or any tool and it will not drop regardless of the loot table.
Expected Result: A diamond would drop from breaking the block with your hand or any tool.
Note: The datapack is a near complete copy of the files in the jar, the only edited files are minable/pickaxe.json, needs_iron_tool.json, and loot_tables/blocks/diamond_ore.json(it is a modified copy of the cactus loot table, but it drops a diamond instead.)
- duplicates
-
MC-138163 /loot mine doesn't always drop the same as mining the block manually
- Resolved