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