mojira.dev
MC-153820

The entity_properties block loot table condition only works for players

The condition, used in a block loot table can only successfully detect players, even though other entities can break blocks too. For example TNT, the wither, the ender dragon. This is inconsistent with entity loot tables.

 

The following condition does not detect if the block was broken by TNT. It rather detects if it was broken by a player.

{
  "condition": "minecraft:entity_properties",
  "predicate": {
    "type": "minecraft:tnt"
  },
  "entity": "this"
}

Linked issues

Comments 0

No comments.

Misode

boq

Unconfirmed

(Unassigned)

Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1

19w35a

Retrieved