LocationPredicate
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.
import crafttweaker.api.predicate.LocationPredicate;
Members
static any() as LocationPredicate
static at(x as Doubles, y as Doubles, z as Doubles) as LocationPredicate
// LocationPredicate.at(x as DoubleMinMaxBoundsPredicate, y as DoubleMinMaxBoundsPredicate, z as DoubleMinMaxBoundsPredicate) as LocationPredicate;LocationPredicate.at(myDoubles, myDoubles, myDoubles);
Parameters:
Return Type:
LocationPredicate
static create() as Builder
static inBiome(biome as ResourceLocation) as LocationPredicate
LocationPredicate.inBiome(myResourceLocation);
Parameters:
biome: ResourceLocation
Type: ResourceLocation
Return Type:
LocationPredicate
static inBiome(biome as string) as LocationPredicate
LocationPredicate.inBiome(myString);
Parameters:
biome: string
Type: string
Return Type:
LocationPredicate
static inDimension(dimension as ResourceLocation) as LocationPredicate
LocationPredicate.inDimension(myResourceLocation);
Parameters:
dimension: ResourceLocation
Type: ResourceLocation
Return Type:
LocationPredicate
static inDimension(dimension as string) as LocationPredicate
LocationPredicate.inDimension(myString);
Parameters:
dimension: string
Type: string
Return Type:
LocationPredicate
static inStructure(structure as ResourceLocation) as LocationPredicate
LocationPredicate.inStructure(myResourceLocation);
Parameters:
structure: ResourceLocation
Type: ResourceLocation
Return Type:
LocationPredicate
static inStructure(structure as string) as LocationPredicate
LocationPredicate.inStructure(myString);
Parameters:
structure: string
Type: string
Return Type:
LocationPredicate