DistancePredicate
Link to distancepredicate
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 Copyimport crafttweaker.api.predicate.DistancePredicate;
Static Methods
Link to static-methods
Name: absoluteDistance
Return Type: DistancePredicate
ZenScript CopyDistancePredicate.absoluteDistance(bounds as DoubleMinMaxBoundsPredicate) as DistancePredicate
Parameter | Type | Beschreibung |
---|---|---|
Parameter bounds | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Name: any
Return Type: DistancePredicate
ZenScript Copy// DistancePredicate.any() as DistancePredicate
DistancePredicate.any();
Name: create
Return Type: DistancePredicate
ZenScript CopyDistancePredicate.create(x as DoubleMinMaxBoundsPredicate, y as DoubleMinMaxBoundsPredicate, z as DoubleMinMaxBoundsPredicate, horizontal as DoubleMinMaxBoundsPredicate, absolute as DoubleMinMaxBoundsPredicate) as DistancePredicate
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Parameter y | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Parameter z | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Parameter horizontal | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Parameter absolute | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Name: horizontalDistance
Return Type: DistancePredicate
ZenScript CopyDistancePredicate.horizontalDistance(bounds as DoubleMinMaxBoundsPredicate) as DistancePredicate
Parameter | Type | Beschreibung |
---|---|---|
Parameter bounds | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Name: verticalDistance
Return Type: DistancePredicate
ZenScript CopyDistancePredicate.verticalDistance(bounds as DoubleMinMaxBoundsPredicate) as DistancePredicate
Parameter | Type | Beschreibung |
---|---|---|
Parameter bounds | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Name: xyz
Return Type: DistancePredicate
ZenScript CopyDistancePredicate.xyz(x as DoubleMinMaxBoundsPredicate, y as DoubleMinMaxBoundsPredicate, z as DoubleMinMaxBoundsPredicate) as DistancePredicate
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Parameter y | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |
Parameter z | Type DoubleMinMaxBoundsPredicate | Beschreibung No Description Provided |