Interface Criterion<T extends CriterionConditions>
- All Known Implementing Classes:
AbstractCriterion
,AnyBlockUseCriterion
,BeeNestDestroyedCriterion
,BredAnimalsCriterion
,BrewedPotionCriterion
,ChangedDimensionCriterion
,ChanneledLightningCriterion
,ConstructBeaconCriterion
,ConsumeItemCriterion
,CuredZombieVillagerCriterion
,DefaultBlockUseCriterion
,EffectsChangedCriterion
,EnchantedItemCriterion
,EnterBlockCriterion
,EntityHurtPlayerCriterion
,FallAfterExplosionCriterion
,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 named net/minecraft/advancement/criterion/Criterion
intermediary net/minecraft/class_179
official ap
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginTrackingCondition
(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) default AdvancementCriterion
<T> void
endTracking
(PlayerAdvancementTracker tracker) void
endTrackingCondition
(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) com.mojang.serialization.Codec
<T>
-
Method Details
-
beginTrackingCondition
void beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) - Mappings:
Namespace Name Mixin selector named beginTrackingCondition
Lnet/minecraft/advancement/criterion/Criterion;beginTrackingCondition(Lnet/minecraft/advancement/PlayerAdvancementTracker;Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;)V
intermediary method_792
Lnet/minecraft/class_179;method_792(Lnet/minecraft/class_2985;Lnet/minecraft/class_179$class_180;)V
official a
Lap;a(Laln;Lap$a;)V
-
endTrackingCondition
void endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) - Mappings:
Namespace Name Mixin selector named endTrackingCondition
Lnet/minecraft/advancement/criterion/Criterion;endTrackingCondition(Lnet/minecraft/advancement/PlayerAdvancementTracker;Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;)V
intermediary method_793
Lnet/minecraft/class_179;method_793(Lnet/minecraft/class_2985;Lnet/minecraft/class_179$class_180;)V
official b
Lap;b(Laln;Lap$a;)V
-
endTracking
- Mappings:
Namespace Name Mixin selector named endTracking
Lnet/minecraft/advancement/criterion/Criterion;endTracking(Lnet/minecraft/advancement/PlayerAdvancementTracker;)V
intermediary method_791
Lnet/minecraft/class_179;method_791(Lnet/minecraft/class_2985;)V
official a
Lap;a(Laln;)V
-
getConditionsCodec
com.mojang.serialization.Codec<T> getConditionsCodec()- Mappings:
Namespace Name Mixin selector named getConditionsCodec
Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
intermediary method_54937
Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
official a
Lap;a()Lcom/mojang/serialization/Codec;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/advancement/criterion/Criterion;create(Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/advancement/AdvancementCriterion;
intermediary method_53699
Lnet/minecraft/class_179;method_53699(Lnet/minecraft/class_184;)Lnet/minecraft/class_175;
official a
Lap;a(Laq;)Lan;
-