public static class LocationPredicate.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private Biome |
biome |
private BlockPredicate |
block |
private DimensionType |
dimension |
private StructureFeature<?> |
feature |
private FluidPredicate |
fluid |
private LightPredicate |
light |
private NumberRange.FloatRange |
x |
private NumberRange.FloatRange |
y |
private NumberRange.FloatRange |
z |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LocationPredicate.Builder |
biome(Biome biome) |
LocationPredicate |
build() |
static LocationPredicate.Builder |
create() |
private NumberRange.FloatRange x
private NumberRange.FloatRange y
private NumberRange.FloatRange z
@Nullable private StructureFeature<?> feature
@Nullable private DimensionType dimension
private LightPredicate light
private BlockPredicate block
private FluidPredicate fluid
public static LocationPredicate.Builder create()
public LocationPredicate.Builder biome(@Nullable Biome biome)
public LocationPredicate build()