public abstract class AbstractCriterionConditions extends Object implements CriterionConditions
Modifier and Type | Field and Description |
---|---|
private Identifier |
id |
private EntityPredicate.Extended |
playerPredicate |
Constructor and Description |
---|
AbstractCriterionConditions(Identifier id,
EntityPredicate.Extended playerPredicate) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getId() |
protected EntityPredicate.Extended |
getPlayerPredicate() |
JsonObject |
toJson(AdvancementEntityPredicateSerializer predicateSerializer) |
String |
toString() |
private final Identifier id
private final EntityPredicate.Extended playerPredicate
public AbstractCriterionConditions(Identifier id, EntityPredicate.Extended playerPredicate)
public Identifier getId()
getId
in interface CriterionConditions
protected EntityPredicate.Extended getPlayerPredicate()
public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
toJson
in interface CriterionConditions