@@ -67,6 +67,7 @@ private AdvancementDisplayBuilder.Parent createTribeRootAdvancement(Consumer<Adv
67
67
for (Race r : extra ) {
68
68
builder .criterion ("be_" + r .getId ().getPath (), UCriteria .PLAYER_CHANGE_RACE .create (new RaceChangeCriterion .Conditions (Optional .empty (), r )));
69
69
}
70
+ builder .criteriaMerger (AdvancementRequirements .CriterionMerger .OR );
70
71
}
71
72
72
73
return builder .build (consumer , race .getId ().getPath () + "_route" );
@@ -117,17 +118,17 @@ private void generatePegasusTribeAdvancementsTree(Consumer<AdvancementEntry> con
117
118
p .child (UItems .LIGHTNING_JAR ).hidden ().frame (AdvancementFrame .CHALLENGE ).apply (d -> applyLightningBugCriterions (d , RacePredicate .of (Set .of (Race .CHANGELING ), Set .of ()), 10 , 90 )).build (consumer , "lightning_bug" );
118
119
p .child (UItems .LIGHTNING_JAR ).hidden ().frame (AdvancementFrame .CHALLENGE ).apply (d -> applyLightningBugCriterions (d , RacePredicate .of (Set .of (), Set .of (Race .CHANGELING )), 10 , 90 )).build (consumer , "wonder_bolt" );
119
120
});
120
- parent .child (UItems .PEGASUS_FEATHER ).hidden ().frame (AdvancementFrame .CHALLENGE ).criterion ("shed_feather" , CustomEventCriterion .createFlying ("shed_feather" )).rewards (AdvancementRewards .Builder .experience (1 )).build (consumer , "molting_season_1" )
121
+ parent .child (UItems .PEGASUS_FEATHER ).hidden ().frame (AdvancementFrame .TASK ).criterion ("shed_feather" , CustomEventCriterion .createFlying ("shed_feather" )).rewards (AdvancementRewards .Builder .experience (1 )).build (consumer , "molting_season_1" )
121
122
.child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 2 , 2 )).build (consumer , "molting_season_2" )
122
123
.child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 4 , 8 )).build (consumer , "molting_season_3" )
123
124
.child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 8 , 20 )).build (consumer , "molting_season_4" )
124
125
.child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 16 , 40 )).build (consumer , "molting_season_5" )
125
126
.child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 32 , 80 )).build (consumer , "molting_season_6" )
126
127
.child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 64 , 200 )).build (consumer , "molting_season_7" )
127
- .child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 128 , 500 )).build (consumer , "molting_season_8" )
128
- .child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 256 , 1000 )).build (consumer , "molting_season_9" )
129
- .child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 512 , 2280 )).build (consumer , "molting_season_10" )
130
- .child (UItems .GOLDEN_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 1024 , 4560 )).build (consumer , "molting_season_11" )
128
+ .child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 128 , 500 )).frame ( AdvancementFrame . CHALLENGE ). build (consumer , "molting_season_8" )
129
+ .child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 256 , 1000 )).frame ( AdvancementFrame . CHALLENGE ). build (consumer , "molting_season_9" )
130
+ .child (UItems .PEGASUS_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 512 , 2280 )).frame ( AdvancementFrame . CHALLENGE ). build (consumer , "molting_season_10" )
131
+ .child (UItems .GOLDEN_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 1024 , 4560 )).frame ( AdvancementFrame . CHALLENGE ). build (consumer , "molting_season_11" )
131
132
.child (UItems .GOLDEN_FEATHER ).apply (d -> applyShedFeatherCriterions (d , 2048 , 10000 )).frame (AdvancementFrame .GOAL ).build (consumer , "dedicated_flier" );
132
133
}
133
134
0 commit comments