public interface ICriterionTrigger<T extends ICriterionInstance>
Modifier and Type | Interface and Description |
---|---|
static class |
ICriterionTrigger.Listener<T extends ICriterionInstance> |
Modifier and Type | Method and Description |
---|---|
void |
addListener(PlayerAdvancements playerAdvancementsIn,
ICriterionTrigger.Listener<T> listener) |
T |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
ResourceLocation |
getId() |
void |
removeAllListeners(PlayerAdvancements playerAdvancementsIn) |
void |
removeListener(PlayerAdvancements playerAdvancementsIn,
ICriterionTrigger.Listener<T> listener) |
ResourceLocation getId()
void addListener(PlayerAdvancements playerAdvancementsIn, ICriterionTrigger.Listener<T> listener)
void removeListener(PlayerAdvancements playerAdvancementsIn, ICriterionTrigger.Listener<T> listener)
void removeAllListeners(PlayerAdvancements playerAdvancementsIn)
T deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)