LocationPredicateBuilder

Link to locationpredicatebuilder

Importare la Classe

Link to importare-la-classe

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.predicate.builder.LocationPredicateBuilder;

Name: biome

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.biome(biome as ResourceLocation) as LocationPredicateBuilder
ParametroTipo
Parametro
biome
Tipo
ResourceLocation

Name: biome

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.biome(biome as string) as LocationPredicateBuilder
ParametroTipo
Parametro
biome
Tipo
string

Name: block

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.block(predicate as BlockPredicate) as LocationPredicateBuilder
ParametroTipo
Parametro
predicate
Tipo
BlockPredicate

Name: block

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.block(predicate as BlockPredicateBuilder) as LocationPredicateBuilder
ParametroTipo
Parametro
predicate
Tipo
BlockPredicateBuilder

Name: build

Return Type: LocationPredicate

ZenScript
Copy
// LocationPredicateBuilder.build() as LocationPredicate

myLocationPredicateBuilder.build();

Name: dimension

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.dimension(dimension as ResourceLocation) as LocationPredicateBuilder
ParametroTipo
Parametro
dimension
Tipo
ResourceLocation

Name: dimension

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.dimension(dimension as string) as LocationPredicateBuilder
ParametroTipo
Parametro
dimension
Tipo
string

Name: fluid

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.fluid(predicate as FluidPredicate) as LocationPredicateBuilder
ParametroTipo
Parametro
predicate
Tipo
FluidPredicate

Name: fluid

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.fluid(predicate as FluidPredicateBuilder) as LocationPredicateBuilder
ParametroTipo
Parametro
predicate
Tipo
FluidPredicateBuilder

Name: light

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.light(predicate as LightPredicate) as LocationPredicateBuilder
ParametroTipo
Parametro
predicate
Tipo
LightPredicate

Name: light

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.light(predicate as LightPredicateBuilder) as LocationPredicateBuilder
ParametroTipo
Parametro
predicate
Tipo
LightPredicateBuilder

Name: smokey

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.smokey(smokey as bool?) as LocationPredicateBuilder
ParametroTipoOptionalDefault Value
Parametro
smokey
Tipo
bool?
Optional
Default Value

Name: structure

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.structure(structure as ResourceLocation) as LocationPredicateBuilder
ParametroTipo
Parametro
structure
Tipo
ResourceLocation

Name: structure

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.structure(structure as string) as LocationPredicateBuilder
ParametroTipo
Parametro
structure
Tipo
string

Name: x

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.x(x as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
ParametroTipo
Parametro
x
Tipo
DoubleMinMaxBoundsPredicate

Name: y

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.y(y as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
ParametroTipo
Parametro
y
Tipo
DoubleMinMaxBoundsPredicate

Name: z

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.z(z as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
ParametroTipo
Parametro
z
Tipo
DoubleMinMaxBoundsPredicate