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

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: