AABB
Link to aabb
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.util.math.AABB;
Methoden
Link to methoden
Name: contains
Return Type: boolean
ZenScript CopyAABB.contains(other as Vec3) as boolean
Parameter | Type | Beschreibung |
---|---|---|
Parameter other | Type Vec3 | Beschreibung No Description Provided |
Name: contains
Return Type: boolean
ZenScript CopyAABB.contains(x as double, y as double, z as double) as boolean
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type double | Beschreibung No Description Provided |
Parameter y | Type double | Beschreibung No Description Provided |
Parameter z | Type double | Beschreibung No Description Provided |
Name: contract
Return Type: AABB
ZenScript CopyAABB.contract(x as double, y as double, z as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type double | Beschreibung No Description Provided |
Parameter y | Type double | Beschreibung No Description Provided |
Parameter z | Type double | Beschreibung No Description Provided |
Name: deflate
Return Type: AABB
ZenScript CopyAABB.deflate(scalar as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter scalar | Type double | Beschreibung No Description Provided |
Name: deflate
Return Type: AABB
ZenScript CopyAABB.deflate(x as double, y as double, z as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type double | Beschreibung No Description Provided |
Parameter y | Type double | Beschreibung No Description Provided |
Parameter z | Type double | Beschreibung No Description Provided |
Name: expandTowards
Return Type: AABB
ZenScript CopyAABB.expandTowards(x as double, y as double, z as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type double | Beschreibung No Description Provided |
Parameter y | Type double | Beschreibung No Description Provided |
Parameter z | Type double | Beschreibung No Description Provided |
Name: getSize
Return Type: double
ZenScript Copy// AABB.getSize() as double
myAABB.getSize();
Name: getXsize
Return Type: double
ZenScript Copy// AABB.getXsize() as double
myAABB.getXsize();
Name: getYsize
Return Type: double
ZenScript Copy// AABB.getYsize() as double
myAABB.getYsize();
Name: getZsize
Return Type: double
ZenScript Copy// AABB.getZsize() as double
myAABB.getZsize();
Name: hasNaN
Return Type: boolean
ZenScript Copy// AABB.hasNaN() as boolean
myAABB.hasNaN();
Name: inflate
Return Type: AABB
ZenScript CopyAABB.inflate(scalar as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter scalar | Type double | Beschreibung No Description Provided |
Name: inflate
Return Type: AABB
ZenScript CopyAABB.inflate(x as double, y as double, z as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type double | Beschreibung No Description Provided |
Parameter y | Type double | Beschreibung No Description Provided |
Parameter z | Type double | Beschreibung No Description Provided |
Name: intersects
Return Type: boolean
ZenScript CopyAABB.intersects(other as AABB) as boolean
Parameter | Type | Beschreibung |
---|---|---|
Parameter other | Type AABB | Beschreibung No Description Provided |
Name: intersects
Return Type: boolean
ZenScript CopyAABB.intersects(minX as double, minY as double, minZ as double, maxX as double, maxY as double, maxZ as double) as boolean
Parameter | Type | Beschreibung |
---|---|---|
Parameter minX | Type double | Beschreibung No Description Provided |
Parameter minY | Type double | Beschreibung No Description Provided |
Parameter minZ | Type double | Beschreibung No Description Provided |
Parameter maxX | Type double | Beschreibung No Description Provided |
Parameter maxY | Type double | Beschreibung No Description Provided |
Parameter maxZ | Type double | Beschreibung No Description Provided |
Name: max
Return Type: double
ZenScript CopyAABB.max(direction as Axis) as double
Parameter | Type | Beschreibung |
---|---|---|
Parameter direction | Type Axis | Beschreibung No Description Provided |
Name: min
Return Type: double
ZenScript CopyAABB.min(direction as Axis) as double
Parameter | Type | Beschreibung |
---|---|---|
Parameter direction | Type Axis | Beschreibung No Description Provided |
Name: move
Return Type: AABB
ZenScript CopyAABB.move(x as double, y as double, z as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter x | Type double | Beschreibung No Description Provided |
Parameter y | Type double | Beschreibung No Description Provided |
Parameter z | Type double | Beschreibung No Description Provided |
Name: setMaxX
Return Type: AABB
ZenScript CopyAABB.setMaxX(maxX as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter maxX | Type double | Beschreibung No Description Provided |
Name: setMaxY
Return Type: AABB
ZenScript CopyAABB.setMaxY(maxY as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter maxY | Type double | Beschreibung No Description Provided |
Name: setMaxZ
Return Type: AABB
ZenScript CopyAABB.setMaxZ(maxZ as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter maxZ | Type double | Beschreibung No Description Provided |
Name: setMinX
Return Type: AABB
ZenScript CopyAABB.setMinX(minX as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter minX | Type double | Beschreibung No Description Provided |
Name: setMinY
Return Type: AABB
ZenScript CopyAABB.setMinY(minY as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter minY | Type double | Beschreibung No Description Provided |
Name: setMinZ
Return Type: AABB
ZenScript CopyAABB.setMinZ(minZ as double) as AABB
Parameter | Type | Beschreibung |
---|---|---|
Parameter minZ | Type double | Beschreibung No Description Provided |
Properties
Link to properties
Name | Type | Has Getter | Has Setter | Beschreibung |
---|---|---|---|---|
Name center | Type Vec3 | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name hasNaN | Type boolean | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name size | Type double | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name xSize | Type double | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name ySize | Type double | Has Getter true | Has Setter false | Beschreibung No Description Provided |
Name zSize | Type double | Has Getter true | Has Setter false | Beschreibung No Description Provided |