Interface Criterion<T extends CriterionConditions>
- All Known Implementing Classes:
AbstractCriterion
,BeeNestDestroyedCriterion
,BredAnimalsCriterion
,BrewedPotionCriterion
,ChangedDimensionCriterion
,ChanneledLightningCriterion
,ConstructBeaconCriterion
,ConsumeItemCriterion
,CuredZombieVillagerCriterion
,EffectsChangedCriterion
,EnchantedItemCriterion
,EnterBlockCriterion
,EntityHurtPlayerCriterion
,FilledBucketCriterion
,FishingRodHookedCriterion
,ImpossibleCriterion
,InventoryChangedCriterion
,ItemCriterion
,ItemDurabilityChangedCriterion
,KilledByCrossbowCriterion
,LevitationCriterion
,LightningStrikeCriterion
,OnKilledCriterion
,PlayerGeneratesContainerLootCriterion
,PlayerHurtEntityCriterion
,PlayerInteractedWithEntityCriterion
,RecipeCraftedCriterion
,RecipeUnlockedCriterion
,ShotCrossbowCriterion
,SlideDownBlockCriterion
,StartedRidingCriterion
,SummonedEntityCriterion
,TameAnimalCriterion
,TargetHitCriterion
,ThrownItemPickedUpByEntityCriterion
,TickCriterion
,TravelCriterion
,UsedEnderEyeCriterion
,UsedTotemCriterion
,UsingItemCriterion
,VillagerTradeCriterion
public interface Criterion<T extends CriterionConditions>
- Mappings:
Namespace Name official ao
intermediary net/minecraft/class_179
named net/minecraft/advancement/criterion/Criterion
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginTrackingCondition
(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) conditionsFromJson
(com.google.gson.JsonObject obj, AdvancementEntityPredicateDeserializer predicateDeserializer) default AdvancementCriterion<T>
void
endTracking
(PlayerAdvancementTracker tracker) void
endTrackingCondition
(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions)
-
Method Details
-
beginTrackingCondition
void beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) - Mappings:
Namespace Name Mixin selector official a
Lao;a(Lafe;Lao$a;)V
intermediary method_792
Lnet/minecraft/class_179;method_792(Lnet/minecraft/class_2985;Lnet/minecraft/class_179$class_180;)V
named beginTrackingCondition
Lnet/minecraft/advancement/criterion/Criterion;beginTrackingCondition(Lnet/minecraft/advancement/PlayerAdvancementTracker;Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;)V
-
endTrackingCondition
void endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) - Mappings:
Namespace Name Mixin selector official b
Lao;b(Lafe;Lao$a;)V
intermediary method_793
Lnet/minecraft/class_179;method_793(Lnet/minecraft/class_2985;Lnet/minecraft/class_179$class_180;)V
named endTrackingCondition
Lnet/minecraft/advancement/criterion/Criterion;endTrackingCondition(Lnet/minecraft/advancement/PlayerAdvancementTracker;Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;)V
-
endTracking
- Mappings:
Namespace Name Mixin selector official a
Lao;a(Lafe;)V
intermediary method_791
Lnet/minecraft/class_179;method_791(Lnet/minecraft/class_2985;)V
named endTracking
Lnet/minecraft/advancement/criterion/Criterion;endTracking(Lnet/minecraft/advancement/PlayerAdvancementTracker;)V
-
conditionsFromJson
T conditionsFromJson(com.google.gson.JsonObject obj, AdvancementEntityPredicateDeserializer predicateDeserializer) - Mappings:
Namespace Name Mixin selector official a
Lao;a(Lcom/google/gson/JsonObject;Lbg;)Lap;
intermediary method_795
Lnet/minecraft/class_179;method_795(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5257;)Lnet/minecraft/class_184;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/Criterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/CriterionConditions;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lao;a(Lap;)Lam;
intermediary method_53699
Lnet/minecraft/class_179;method_53699(Lnet/minecraft/class_184;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/Criterion;create(Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/advancement/AdvancementCriterion;
-