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

The entity_properties block loot table condition only works for players

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w35a
    • Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1
    • None
    • Unconfirmed
    • (Unassigned)

      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"
      }
      

            boq [Mojang] Bartosz Bok
            Misoloo [Helper] Misode
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: