mojira.dev
MC-188615

/loot kill does not drop Player-kill only drops when executed by tamed Wolf

How to reproduce:

  1. Summon a tamed Wolf

  2. Summon a mob to be killed

  3. Run the following command on repeat:

/execute as <Wolf's UUID> run loot spawn ~ ~ ~ kill <Mob's UUID>

 4. Observe as no player-kill only drops are generated, even though they are when a tamed wolf actually kills a mob.

Attachments

Comments 1

Can confirm in 1.21.5:


How to Reproduce

Start off by summoning a wolf:

/summon wolf ~ ~ ~ {Owner:"YourNameHere"}

Tag the wolf

/tag @e[type=wolf,limit=1,sort=nearest] add testWolf

Summon a wither skeleton:

/summon minecraft:wither_skeleton ~ ~ ~

Tag the skeleton:

/tag @e[type=wither_skeleton,sort=nearest,limit=1] add testSkeleton

Run this command using a repeating command block:

/execute as @e[tag=testWolf,limit=1] run loot spawn ~ ~ ~ kill @e[tag=testSkeleton,limit=1]

Conclusion:

You will notice that no player-kill only drops (wither skull) have dropped, but when a wolf attacks a wither skeleton, there is a chance it drops player-kill only drops.

[media]

[media]

BugReporter90001

(Unassigned)

Community Consensus

Platform

Low

Commands, Loot tables

1.16 Pre-release 3, 1.21.5

Retrieved