public static class NetherTravelTrigger.Instance extends AbstractCriterionInstance
Modifier and Type | Field and Description |
---|---|
private DistancePredicate |
distance |
private LocationPredicate |
entered |
private LocationPredicate |
exited |
Constructor and Description |
---|
Instance(LocationPredicate enteredIn,
LocationPredicate exitedIn,
DistancePredicate distanceIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(WorldServer world,
Vec3d enteredNetherPosition,
double x,
double y,
double z) |
getId, toString
private final LocationPredicate entered
private final LocationPredicate exited
private final DistancePredicate distance
public Instance(LocationPredicate enteredIn, LocationPredicate exitedIn, DistancePredicate distanceIn)
public boolean test(WorldServer world, Vec3d enteredNetherPosition, double x, double y, double z)