Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-270468

Blocks that do not require a tool cannot be given a required tool level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w14a
    • None
    • Windows 10, Java 21.0.2
    • Community Consensus
    • (Unassigned)

      If a block does not require a tool by default, it cannot be given one via datapack tags. The block will be added to the relevant tags if the files are added, but the behavior of the block is unchanged.

      Steps to reproduce:

      1. Create a datapack.
      2. Add a block that does not require a tool to drop, such as a Rail or a Piston, to the block tag "#minecraft:needs_diamond_tool".
      3. Attempt to break the block with an iron pickaxe in survival mode.

      Expected: The block would not drop unless using a tool of diamond or better level.

      Actual: The block will always drop.

      In this example, I used rails because they mine faster with pickaxes, but by default do not require any tool. I have also observed this bug with Pistons, as well as Oak Logs (mines faster with axe).

            Unassigned Unassigned
            ChromaTK1 ChromaTK1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: