public class ImpossibleCriterion extends Object implements Criterion<ImpossibleCriterion.Conditions>
Modifier and Type | Class and Description |
---|---|
static class |
ImpossibleCriterion.Conditions |
Criterion.ConditionsContainer<T extends CriterionConditions>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
ID |
Constructor and Description |
---|
ImpossibleCriterion() |
Modifier and Type | Method and Description |
---|---|
void |
beginTrackingCondition(PlayerAdvancementTracker manager,
Criterion.ConditionsContainer<ImpossibleCriterion.Conditions> conditionsContainer) |
ImpossibleCriterion.Conditions |
conditionsFromJson(JsonObject jsonObject,
AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) |
void |
endTracking(PlayerAdvancementTracker tracker) |
void |
endTrackingCondition(PlayerAdvancementTracker manager,
Criterion.ConditionsContainer<ImpossibleCriterion.Conditions> conditionsContainer) |
Identifier |
getId() |
private static final Identifier ID
public Identifier getId()
getId
in interface Criterion<ImpossibleCriterion.Conditions>
public void beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<ImpossibleCriterion.Conditions> conditionsContainer)
beginTrackingCondition
in interface Criterion<ImpossibleCriterion.Conditions>
public void endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<ImpossibleCriterion.Conditions> conditionsContainer)
endTrackingCondition
in interface Criterion<ImpossibleCriterion.Conditions>
public void endTracking(PlayerAdvancementTracker tracker)
endTracking
in interface Criterion<ImpossibleCriterion.Conditions>
public ImpossibleCriterion.Conditions conditionsFromJson(JsonObject jsonObject, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
conditionsFromJson
in interface Criterion<ImpossibleCriterion.Conditions>