Class AbstractCriterion<T extends AbstractCriterion.Conditions>
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<T>
- All Implemented Interfaces:
Criterion<T>
- Direct Known Subclasses:
AnyBlockUseCriterion
,BeeNestDestroyedCriterion
,BredAnimalsCriterion
,BrewedPotionCriterion
,ChangedDimensionCriterion
,ChanneledLightningCriterion
,ConstructBeaconCriterion
,ConsumeItemCriterion
,CuredZombieVillagerCriterion
,DefaultBlockUseCriterion
,EffectsChangedCriterion
,EnchantedItemCriterion
,EnterBlockCriterion
,EntityHurtPlayerCriterion
,FallAfterExplosionCriterion
,FilledBucketCriterion
,FishingRodHookedCriterion
,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 abstract class AbstractCriterion<T extends AbstractCriterion.Conditions>
extends Object
implements Criterion<T>
- Mappings:
Namespace Name named net/minecraft/advancement/criterion/AbstractCriterion
intermediary net/minecraft/class_4558
official ds
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<PlayerAdvancementTracker, Set<Criterion.ConditionsContainer<T>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
beginTrackingCondition
(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) final void
endTracking
(PlayerAdvancementTracker tracker) final void
endTrackingCondition
(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) protected void
trigger
(ServerPlayerEntity player, Predicate<T> predicate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancement.criterion.Criterion
create, getConditionsCodec
-
Field Details
-
progressions
private final Map<PlayerAdvancementTracker,Set<Criterion.ConditionsContainer<T extends AbstractCriterion.Conditions>>> progressions- Mappings:
Namespace Name Mixin selector named progressions
Lnet/minecraft/advancement/criterion/AbstractCriterion;progressions:Ljava/util/Map;
intermediary field_20735
Lnet/minecraft/class_4558;field_20735:Ljava/util/Map;
official a
Lds;a:Ljava/util/Map;
-
-
Constructor Details
-
AbstractCriterion
public AbstractCriterion()
-
-
Method Details
-
beginTrackingCondition
public final void beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) - Specified by:
beginTrackingCondition
in interfaceCriterion<T extends AbstractCriterion.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(Laks;Lap$a;)V
-
endTrackingCondition
public final void endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions) - Specified by:
endTrackingCondition
in interfaceCriterion<T extends AbstractCriterion.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(Laks;Lap$a;)V
-
endTracking
- Specified by:
endTracking
in interfaceCriterion<T extends AbstractCriterion.Conditions>
- 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(Laks;)V
-
trigger
- Mappings:
Namespace Name Mixin selector named trigger
Lnet/minecraft/advancement/criterion/AbstractCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/function/Predicate;)V
intermediary method_22510
Lnet/minecraft/class_4558;method_22510(Lnet/minecraft/class_3222;Ljava/util/function/Predicate;)V
official a
Lds;a(Laqn;Ljava/util/function/Predicate;)V
-