mojira.dev
MC-135783

Dead coral plants and fans require Silk Touch pickaxes to be mined, unlike alive variants

The Bug

Only pickaxes enchanted with Silk Touch can harvest dead coral fans/plants, while any tool with Silk Touch can harvest alive coral fans/plants, causing an inconsistency.

Steps to Reproduce

  1. Give yourself a pickaxe and axe enchanted with Silk Touch:

    /give @s minecraft:diamond_axe[minecraft:enchantments={silk_touch:1}]
    /give @s minecraft:diamond_pickaxe[minecraft:enchantments={silk_touch:1}]
  2. Place two alive coral plants/fans and mine each with the axe and pickaxe. Note how they both drop.

  3. Place two dead coral plants/fans and mine each with the tools. Note how the dead coral plant/fan only drops when mined with the pickaxe.

Observed Results

The dead coral plant/fan does not drop when mined with the Silk Touch axe.

Expected Results

Dead coral plants/fans would drop when mined with any Silk Touch tool, to match the behavior with alive coral plants/fans.

Linked issues

Attachments

Comments 27

The bug is more "specific" in the 1.14 snapshots: Dead coral fans/plants' loot tables are only activated when you mine them with a pickaxe.
(In the same way that a stone block's loot table only is activated if you use a pickaxe)

So in the 1.14 snapshots the inconsistency is that alive coral fans/plants' loot tables are activated when you use any tools while dead coral fans/plants' loot tables are only activated when you use a pickaxe.

Still having a problem with this in 1.14.2 Pre-Release 3. As said above the loot table is only called when using a pick axe to harvest the dead coral. I've changed the loot table for the alive and dead variants of the coral to be able to be harvested with shears, and the shears only harvest the alive coral, the dead on just gets destroyed. I've attached the two loot tables as an example.

The alternative condition is called correctly on the dead brain coral, as when I harvest it with a pick axe I get the bone meal drop.

17 more comments

Can confirm in 1.19.

Can confirm in 1.19.2.

Can confirm in 1.21.4. Requesting ownership of this report, as the original reporter has been inactive since 2018.

Although it's true that I've been inactive, I've been watching this bug report and how it's going from the background. I'd like to have my ownership back if possible.

EDIT: I don't want to clog up the chat any more as it is off topic, so I'll reply here - I understand, but the person primarily responsible for keeping a bug report up to date, then, should not be called "Reporter" - it doesn't make sense in my opinion. Maybe "owner" would be more fitting, or both could coexist. Anyhow, I respect your work and hope you have a good day.

@unknown: The reporter of a bug report is responsible for keeping it up to date. This involves updating commands and adding new affected versions. Simply watching the report rot is neither good nor helpful. @unknown improved the quality of the bug report and will probably take better care of it as a new reporter. Ownership retransfer denied.

Kurtisdede

Viradex

(Unassigned)

Confirmed

Gameplay

Low

Loot tables

Minecraft 18w32a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.14.2 Pre-Release 3, ..., 25w04a, 25w05a, 25w06a, 1.21.5, 1.21.7

Retrieved