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

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Misoloo Misode
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: