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

the "nbt" in advancement doesn`t work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 18w14b
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      (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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: