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
ParametroTipoDescrizione
Parametro
biome
Tipo
ResourceLocation
Descrizione
No Description Provided

Name: biome

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.biome(biome as string) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
biome
Tipo
string
Descrizione
No Description Provided

Name: block

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.block(predicate as BlockPredicate) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
BlockPredicate
Descrizione
No Description Provided

Name: block

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.block(predicate as BlockPredicateBuilder) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
BlockPredicateBuilder
Descrizione
No Description Provided

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
ParametroTipoDescrizione
Parametro
dimension
Tipo
ResourceLocation
Descrizione
No Description Provided

Name: dimension

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.dimension(dimension as string) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
dimension
Tipo
string
Descrizione
No Description Provided

Name: feature

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.feature(feature as ResourceLocation) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
feature
Tipo
ResourceLocation
Descrizione
No Description Provided

Name: feature

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.feature(feature as string) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
feature
Tipo
string
Descrizione
No Description Provided

Name: fluid

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.fluid(predicate as FluidPredicate) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
FluidPredicate
Descrizione
No Description Provided

Name: fluid

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.fluid(predicate as FluidPredicateBuilder) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
FluidPredicateBuilder
Descrizione
No Description Provided

Name: light

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.light(predicate as LightPredicate) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
LightPredicate
Descrizione
No Description Provided

Name: light

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.light(predicate as LightPredicateBuilder) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
LightPredicateBuilder
Descrizione
No Description Provided

Name: smokey

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.smokey(smokey as bool?) as LocationPredicateBuilder
ParametroTipoDescrizioneOptionalDefaultValue
Parametro
smokey
Tipo
bool?
Descrizione
No Description Provided
Optional
DefaultValue

Name: x

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.x(x as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
x
Tipo
DoubleMinMaxBoundsPredicate
Descrizione
No Description Provided

Name: y

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.y(y as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
y
Tipo
DoubleMinMaxBoundsPredicate
Descrizione
No Description Provided

Name: z

Return Type: LocationPredicateBuilder

ZenScript
Copy
LocationPredicateBuilder.z(z as DoubleMinMaxBoundsPredicate) as LocationPredicateBuilder
ParametroTipoDescrizione
Parametro
z
Tipo
DoubleMinMaxBoundsPredicate
Descrizione
No Description Provided