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

the "nbt" in advancement doesn`t work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w14b
    • None
    • Unconfirmed

      (it work in 1.12.2)

      1.edit an advancement`s criteria and requirements to

      "criteria":
      { "explosion":
      { "trigger": "minecraft:entity_hurt_player",
      "conditions":
      { "damage":
      { "source_entity":{"nbt":"

      {ignited:1b}

      "},
      "type":

      {"is_explosion":true}

      ,
      "blocked":true
      }
      }
      }
      },
      "requirements":
      [
      ["explosion"]
      ]

      2.get creeper spawn egg,flint_and_steel ,shield and changing your gamemode to survive
      3.let creeper explode it self and block its damage with shield (it should not trigger)[not trigger in this version]
      4.ignite the creeper and block the damage with shield (it should trigger)[still not trigger]

      5.edit this advancement`s criteria and requirements to
      "criteria":
      { "explosion":
      { "trigger": "minecraft:entity_hurt_player",
      "conditions":
      { "damage":
      { "source_entity":{"nbt":"

      {\"ignited\":1b}

      "},
      "type":

      {"is_explosion":true}

      ,
      "blocked":true
      }
      }
      }
      },
      "requirements":
      [
      ["explosion"]
      ]

      6.do step 3,4 again,and both still not work

            Unassigned Unassigned
            AiDSl AiDSl
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: