public interface Criterion<T extends CriterionConditions>
Modifier and Type | Interface and Description |
---|---|
static class |
Criterion.ConditionsContainer<T extends CriterionConditions> |
Modifier and Type | Method and Description |
---|---|
void |
beginTrackingCondition(PlayerAdvancementTracker manager,
Criterion.ConditionsContainer<T> conditionsContainer) |
T |
conditionsFromJson(JsonObject obj,
AdvancementEntityPredicateDeserializer predicateDeserializer) |
void |
endTracking(PlayerAdvancementTracker tracker) |
void |
endTrackingCondition(PlayerAdvancementTracker manager,
Criterion.ConditionsContainer<T> conditionsContainer) |
Identifier |
getId() |
Identifier getId()
void beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditionsContainer)
void endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditionsContainer)
void endTracking(PlayerAdvancementTracker tracker)
T conditionsFromJson(JsonObject obj, AdvancementEntityPredicateDeserializer predicateDeserializer)