public class TickCriterion extends AbstractCriterion<TickCriterion.Conditions>
Modifier and Type | Class and Description |
---|---|
static class |
TickCriterion.Conditions |
Criterion.ConditionsContainer<T extends CriterionConditions>
Modifier and Type | Field and Description |
---|---|
static Identifier |
ID |
Constructor and Description |
---|
TickCriterion() |
Modifier and Type | Method and Description |
---|---|
TickCriterion.Conditions |
conditionsFromJson(JsonObject jsonObject,
EntityPredicate.Extended extended,
AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) |
Identifier |
getId() |
void |
trigger(ServerPlayerEntity player) |
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
public static final Identifier ID
public Identifier getId()
public TickCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
conditionsFromJson
in class AbstractCriterion<TickCriterion.Conditions>
public void trigger(ServerPlayerEntity player)