Mojira Archive
MC-128135

the "nbt" in advancement doesn`t work

(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

Duplicate

AiDSl

2018-04-08, 10:50 AM

2018-05-02, 04:29 AM

2018-04-08, 12:53 PM

1

1

Unconfirmed

Minecraft 18w14b

-