net.minecraft.advancements.critereon

public abstract class SimpleCriterionTrigger<T extends SimpleCriterionTrigger$SimpleInstance>

implements CriterionTrigger<T>

dy
net.minecraft.advancements.critereon.SimpleCriterionTrigger
net.minecraft.class_4558
net.minecraft.advancement.criterion.AbstractCriterion
net.minecraft.advancements.critereon.CriterionTriggerAbstract

Field summary

Modifier and TypeField
private final Map<PlayerAdvancements, Set<CriterionTrigger$Listener<T>>>
a
players
field_20735
progressions

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public final void
a(amh arg0, ar$a<T> arg1)
addPlayerListener(PlayerAdvancements arg0, CriterionTrigger$Listener<T> arg1)
method_792(class_2985 arg0, class_179$class_180<T> arg1)
beginTrackingCondition(PlayerAdvancementTracker arg0, Criterion$ConditionsContainer<T> arg1)
public final void
b(amh arg0, ar$a<T> arg1)
removePlayerListener(PlayerAdvancements arg0, CriterionTrigger$Listener<T> arg1)
method_793(class_2985 arg0, class_179$class_180<T> arg1)
endTrackingCondition(PlayerAdvancementTracker arg0, Criterion$ConditionsContainer<T> arg1)
public final void
a(amh arg0)
removePlayerListeners(PlayerAdvancements arg0)
method_791(class_2985 arg0)
endTracking(PlayerAdvancementTracker arg0)
protected void
a(asi arg0, Predicate<T> arg1)
trigger(ServerPlayer arg0, Predicate<T> arg1)
method_22510(class_3222 arg0, Predicate<T> arg1)
trigger(ServerPlayerEntity player, Predicate<T> predicate)