public static class ICriterionTrigger.Listener<T extends ICriterionInstance>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Advancement |
advancement |
private T |
criterionInstance |
private java.lang.String |
criterionName |
Constructor and Description |
---|
Listener(T criterionInstanceIn,
Advancement advancementIn,
java.lang.String criterionNameIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
T |
getCriterionInstance() |
void |
grantCriterion(PlayerAdvancements playerAdvancementsIn) |
int |
hashCode() |
private final T extends ICriterionInstance criterionInstance
private final Advancement advancement
private final java.lang.String criterionName
public Listener(T criterionInstanceIn, Advancement advancementIn, java.lang.String criterionNameIn)
public T getCriterionInstance()
public void grantCriterion(PlayerAdvancements playerAdvancementsIn)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object