Mojira Archive
MC-277192

The behaivor of loot table of killed naturally spawning creaking is inconsistent with other killed mob entities

The creaking summoned by Creaking Heart with specific DeathLootTable doesn't drop items when break the  Creaking Heart . But /kill can make it drop items.

Also can modify the loot table minecraft:entities/creaking_transient to check. The result is the same as setting its DeathLootTable.

It seems the death of creaking by destorying Creaking Heart is disappears directly instead of being killed by players ,though player can obtain advancement "Monster Hunter".

What I expected to happen was...:
When player destorys  Creaking Heart the creaking drop items by its DeathLootTable, like player kill other mob entities.

What actually happened was...:
No items dropped.

Steps to Reproduce:

  1. Creat a new world and ensure open the "Winter Drop" experiments feature.
  2. Go to a enough open area, put Creaking Heart and Pale Oak Wood to bulid like summon.png to prepare.
  3. Run the command:
    /time set night

    when creaking is appeared, run:

    /data modify entity @n[type=minecraft:creaking_transient] DeathLootTable set value "minecraft:blocks/stone" 
    

    destroy the Creaking Heart, the creaking does't drop items.

  4. Repeat Step 2,3 to resummon it,run:
    /kill @n[type=minecraft:creaking_transient]

    the creaking dropped items(should be a Cobblestone).

Works As Intended

wplxfore

2024-10-03, 05:35 AM

2025-01-12, 03:30 PM

2024-10-07, 09:33 AM

0

0

Community Consensus

24w40a

-