LocationPredicate

Link to locationpredicate

Diese Klasse importieren

Link to diese-klasse-importieren

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.LocationPredicate;

Name: any

Return Type: LocationPredicate

ZenScript
Copy
// LocationPredicate.any() as LocationPredicate

LocationPredicate.any();

Name: at

Return Type: LocationPredicate

ZenScript
Copy
LocationPredicate.at(x as DoubleMinMaxBoundsPredicate, y as DoubleMinMaxBoundsPredicate, z as DoubleMinMaxBoundsPredicate) as LocationPredicate
ParameterTypeBeschreibung
Parameter
x
Type
DoubleMinMaxBoundsPredicate
Beschreibung
No Description Provided
Parameter
y
Type
DoubleMinMaxBoundsPredicate
Beschreibung
No Description Provided
Parameter
z
Type
DoubleMinMaxBoundsPredicate
Beschreibung
No Description Provided

Name: create

Return Type: LocationPredicateBuilder

ZenScript
Copy
// LocationPredicate.create() as LocationPredicateBuilder

LocationPredicate.create();

Name: inBiome

Return Type: LocationPredicate

ZenScript
Copy
LocationPredicate.inBiome(biome as ResourceLocation) as LocationPredicate
ParameterTypeBeschreibung
Parameter
biome
Type
ResourceLocation
Beschreibung
No Description Provided

Name: inBiome

Return Type: LocationPredicate

ZenScript
Copy
LocationPredicate.inBiome(biome as string) as LocationPredicate
ParameterTypeBeschreibung
Parameter
biome
Type
string
Beschreibung
No Description Provided

Name: inDimension

Return Type: LocationPredicate

ZenScript
Copy
LocationPredicate.inDimension(dimension as ResourceLocation) as LocationPredicate
ParameterTypeBeschreibung
Parameter
dimension
Type
ResourceLocation
Beschreibung
No Description Provided

Name: inDimension

Return Type: LocationPredicate

ZenScript
Copy
LocationPredicate.inDimension(dimension as string) as LocationPredicate
ParameterTypeBeschreibung
Parameter
dimension
Type
string
Beschreibung
No Description Provided

Name: inFeature

Return Type: LocationPredicate

ZenScript
Copy
LocationPredicate.inFeature(feature as ResourceLocation) as LocationPredicate
ParameterTypeBeschreibung
Parameter
feature
Type
ResourceLocation
Beschreibung
No Description Provided

Name: inFeature

Return Type: LocationPredicate

ZenScript
Copy
LocationPredicate.inFeature(feature as string) as LocationPredicate
ParameterTypeBeschreibung
Parameter
feature
Type
string
Beschreibung
No Description Provided