LocationPredicateBuilder

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.predicate.builder.LocationPredicateBuilder;

Members

biome(biome as ResourceLocation) as Builder
script.zs
// Builder.biome(biome as ResourceLocation) as Builder;
myBuilder.biome(myResourceLocation);

Parameters:

Return Type: LocationPredicateBuilder

biome(biome as string) as Builder
script.zs
// Builder.biome(biome as string) as Builder;
myBuilder.biome(myString);

Parameters:

biome Type: string

Return Type: LocationPredicateBuilder

block(predicate as Builder) as Builder
script.zs
// Builder.block(predicate as Builder) as Builder;
myBuilder.block(myBuilder);

Parameters:

Return Type: LocationPredicateBuilder

build() as LocationPredicate
script.zs
// Builder.build() as LocationPredicate;
myBuilder.build();

Return Type: LocationPredicate

dimension(dimension as ResourceLocation) as Builder
script.zs
// Builder.dimension(dimension as ResourceLocation) as Builder;
myBuilder.dimension(myResourceLocation);

Parameters:

Return Type: LocationPredicateBuilder

dimension(dimension as string) as Builder
script.zs
// Builder.dimension(dimension as string) as Builder;
myBuilder.dimension(myString);

Parameters:

dimension Type: string

Return Type: LocationPredicateBuilder

fluid(predicate as Builder) as Builder
script.zs
// Builder.fluid(predicate as Builder) as Builder;
myBuilder.fluid(myBuilder);

Parameters:

Return Type: LocationPredicateBuilder

light(predicate as Builder) as Builder
script.zs
// Builder.light(predicate as Builder) as Builder;
myBuilder.light(myBuilder);

Parameters:

Return Type: LocationPredicateBuilder

smokey(smokey as Boolean = true) as Builder
script.zs
// Builder.smokey(smokey as Boolean = true) as Builder;
myBuilder.smokey(myBoolean);

Parameters:

smokey (optional) Type: Boolean

Default Value: true

Return Type: LocationPredicateBuilder

structure(structure as ResourceLocation) as Builder
script.zs
// Builder.structure(structure as ResourceLocation) as Builder;
myBuilder.structure(myResourceLocation);

Parameters:

Return Type: LocationPredicateBuilder

structure(structure as string) as Builder
script.zs
// Builder.structure(structure as string) as Builder;
myBuilder.structure(myString);

Parameters:

structure Type: string

Return Type: LocationPredicateBuilder

x(x as Doubles) as Builder
script.zs
// Builder.x(x as Doubles) as Builder;
myBuilder.x(myDoubles);

Return Type: LocationPredicateBuilder

y(y as Doubles) as Builder
script.zs
// Builder.y(y as Doubles) as Builder;
myBuilder.y(myDoubles);

Return Type: LocationPredicateBuilder

z(z as Doubles) as Builder
script.zs
// Builder.z(z as Doubles) as Builder;
myBuilder.z(myDoubles);

Return Type: LocationPredicateBuilder