LocationPredicate
Importing the class
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.
import crafttweaker.api.predicate.LocationPredicate;
Static Methods
Return Type: LocationPredicate
// LocationPredicate.any() as LocationPredicate
LocationPredicate.any();
Return Type: LocationPredicate
LocationPredicate.at(x as DoubleMinMaxBoundsPredicate, y as DoubleMinMaxBoundsPredicate, z as DoubleMinMaxBoundsPredicate) as LocationPredicate
Parameter | Type | Description |
---|---|---|
Parameter x | Type DoubleMinMaxBoundsPredicate | Description No Description Provided |
Parameter y | Type DoubleMinMaxBoundsPredicate | Description No Description Provided |
Parameter z | Type DoubleMinMaxBoundsPredicate | Description No Description Provided |
Return Type: LocationPredicateBuilder
// LocationPredicate.create() as LocationPredicateBuilder
LocationPredicate.create();
Return Type: LocationPredicate
LocationPredicate.inBiome(biome as ResourceLocation) as LocationPredicate
Parameter | Type | Description |
---|---|---|
Parameter biome | Type ResourceLocation | Description No Description Provided |
Return Type: LocationPredicate
LocationPredicate.inBiome(biome as string) as LocationPredicate
Parameter | Type | Description |
---|---|---|
Parameter biome | Type string | Description No Description Provided |
Return Type: LocationPredicate
LocationPredicate.inDimension(dimension as ResourceLocation) as LocationPredicate
Parameter | Type | Description |
---|---|---|
Parameter dimension | Type ResourceLocation | Description No Description Provided |
Return Type: LocationPredicate
LocationPredicate.inDimension(dimension as string) as LocationPredicate
Parameter | Type | Description |
---|---|---|
Parameter dimension | Type string | Description No Description Provided |
Return Type: LocationPredicate
LocationPredicate.inFeature(feature as ResourceLocation) as LocationPredicate
Parameter | Type | Description |
---|---|---|
Parameter feature | Type ResourceLocation | Description No Description Provided |
Return Type: LocationPredicate
LocationPredicate.inFeature(feature as string) as LocationPredicate
Parameter | Type | Description |
---|---|---|
Parameter feature | Type string | Description No Description Provided |