public abstract class AbstractCriterionTrigger<T extends ICriterionInstance> extends java.lang.Object implements ICriterionTrigger<T>
ICriterionTrigger.Listener<T extends ICriterionInstance>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PlayerAdvancements,java.util.Set<ICriterionTrigger.Listener<T>>> |
field_227069_a_ |
Constructor and Description |
---|
AbstractCriterionTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(PlayerAdvancements playerAdvancementsIn,
ICriterionTrigger.Listener<T> listener) |
protected void |
func_227070_a_(PlayerAdvancements p_227070_1_,
java.util.function.Predicate<T> p_227070_2_) |
protected void |
func_227071_b_(PlayerAdvancements p_227071_1_) |
void |
removeAllListeners(PlayerAdvancements playerAdvancementsIn) |
void |
removeListener(PlayerAdvancements playerAdvancementsIn,
ICriterionTrigger.Listener<T> listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserializeInstance, getId
private final java.util.Map<PlayerAdvancements,java.util.Set<ICriterionTrigger.Listener<T extends ICriterionInstance>>> field_227069_a_
public final void addListener(PlayerAdvancements playerAdvancementsIn, ICriterionTrigger.Listener<T> listener)
addListener
in interface ICriterionTrigger<T extends ICriterionInstance>
public final void removeListener(PlayerAdvancements playerAdvancementsIn, ICriterionTrigger.Listener<T> listener)
removeListener
in interface ICriterionTrigger<T extends ICriterionInstance>
public final void removeAllListeners(PlayerAdvancements playerAdvancementsIn)
removeAllListeners
in interface ICriterionTrigger<T extends ICriterionInstance>
protected void func_227070_a_(PlayerAdvancements p_227070_1_, java.util.function.Predicate<T> p_227070_2_)
protected void func_227071_b_(PlayerAdvancements p_227071_1_)