mojira.dev
MC-307585

'fall_after_explosion' advancement trigger does not work with TNT anymore

In snapshot 24w12a for the Minecraft Update 1.20.5 a new advancement trigger was added called 'fall_after_explosion'. Internally, it was used for the Who Needs Rockets? advancement which was to launch yourself 8 blocks or higher using wind charges. For datapacks, it allowed to detect using TNT cannons to launch yourself upwards, which is exactly what the BlazeandCave's Advancement Pack did. The advancement pack added an advancement called "We Have Liftoff!" to launch yourself 100 blocks upwards using TNT, clearly implying the use of TNT cannons to achieve the goal. Below you may find the difference in triggers between Who Needs Rockets? and We Have Liftoff!

Who Needs Rockets?
"trigger": "minecraft:fall_after_explosion",
"conditions": {
"cause": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:wind_charge"
}
}
],
"distance": {
"y": {
"min": 8.0

We Have Liftoff!
"trigger": "minecraft:fall_after_explosion",
"conditions": {
"cause": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:tnt"
}
}
],
"distance": {
"y": {
"min": 100.0

As you can see, the difference is very minimal. You may replicate this advancement in your world in one of the 3 ways:
1) Use the custom datapack attached to this bug report compatbile with both Minecraft 1.21.11 and 26.1
2) Change the Who Needs Rockets advancement to be 1:1 We Have Liftoff
3) Download the BlazeandCave’s Advancement Pack 1.20.2 for Minecraft 1.21.11 and BlazeandCave’s Advancement Pack 1.20.3 for Minecraft 26.1.x
After you have chosen a method, follow these steps to reproduce the issue:

1) Create a world with the attached datapack, modified advancement, or the BlazeandCave’s Advancement Pack in Minecraft version 1.21.11
2) Recreate the following contraption as shown in the video attached

Observed Result: Upon the Player launching themselves in the air, they get the advancement We Have Liftoff, the same way they would have since this advancement was added to the datapack (1.21)

3) Create a world with the attached datapack, modified advancement, or the BlazeandCave’s Advancement Pack in Minecraft version 26.1
4) Recreate the following contraption as shown in the video attached

Observed Result: Now upon replicating the same steps the advancement does not trigger. I believe the underlying cause to be something with the advancement trigger rather than the datapack since:
a) the trigger has not changed since its release in 1.21
b) the trigger only does not work for TNT rather than Wind Charges as you are still able to obtain the vanilla advancement on the latest version

Environment

Everything was done on vanilla instances

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media]

yungie

(Unassigned)

Unconfirmed

(Unassigned)

26.1.2

Retrieved