public class LocationPredicate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LocationPredicate |
ANY |
Constructor and Description |
---|
LocationPredicate(MinMaxBounds x,
MinMaxBounds y,
MinMaxBounds z,
Biome biome,
java.lang.String feature,
DimensionType dimension) |
Modifier and Type | Method and Description |
---|---|
static LocationPredicate |
deserialize(JsonElement element) |
boolean |
test(WorldServer world,
double x,
double y,
double z) |
boolean |
test(WorldServer world,
float x,
float y,
float z) |
public static LocationPredicate ANY
public LocationPredicate(MinMaxBounds x, MinMaxBounds y, MinMaxBounds z, Biome biome, java.lang.String feature, DimensionType dimension)
public boolean test(WorldServer world, double x, double y, double z)
public boolean test(WorldServer world, float x, float y, float z)
public static LocationPredicate deserialize(JsonElement element)