LocationPredicate
Link to locationpredicate
Importing the class
Link to 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.
ZenScript Copyimport crafttweaker.api.predicate.LocationPredicate;
Extending Record
Link to extending-record
LocationPredicate extends Record. That means all methods available in Record are also available in LocationPredicate
Static Methods
Link to static-methods
Name: at
Return Type: LocationPredicate
ZenScript CopyLocationPredicate.at(x as DoubleMinMaxBoundsPredicate, y as DoubleMinMaxBoundsPredicate, z as DoubleMinMaxBoundsPredicate) as LocationPredicate
Parameter | Type |
---|---|
Parameter x | Type DoubleMinMaxBoundsPredicate |
Parameter y | Type DoubleMinMaxBoundsPredicate |
Parameter z | Type DoubleMinMaxBoundsPredicate |
Name: create
Return Type: LocationPredicateBuilder
ZenScript Copy// LocationPredicate.create() as LocationPredicateBuilder
LocationPredicate.create();