Package net.minecraft.advancements
Class ICriterionTrigger.Listener<T extends ICriterionInstance>
- java.lang.Object
-
- net.minecraft.advancements.ICriterionTrigger.Listener<T>
-
- Enclosing interface:
- ICriterionTrigger<T extends ICriterionInstance>
public static class ICriterionTrigger.Listener<T extends ICriterionInstance> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Advancement
advancement
private java.lang.String
criterion
private T
trigger
-
Constructor Summary
Constructors Constructor Description Listener(T p_i47405_1_, Advancement p_i47405_2_, java.lang.String p_i47405_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
T
getTriggerInstance()
int
hashCode()
void
run(PlayerAdvancements p_192159_1_)
-
-
-
Field Detail
-
trigger
private final T extends ICriterionInstance trigger
-
advancement
private final Advancement advancement
-
criterion
private final java.lang.String criterion
-
-
Constructor Detail
-
Listener
public Listener(T p_i47405_1_, Advancement p_i47405_2_, java.lang.String p_i47405_3_)
-
-
Method Detail
-
getTriggerInstance
public T getTriggerInstance()
-
run
public void run(PlayerAdvancements p_192159_1_)
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-