Home Getting Started With Scripts Commands Examples
BracketDumpers BracketHandlers BracketValidators

EntityDimensions

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.

script.zs
import crafttweaker.api.entity.EntityDimensions;

Methods

Return Type: AABB

script.zs
EntityDimensions.makeBoundingBox(vec as Vec3) as AABB
ParameterTypeDescription
Parameter
vec
Type
Vec3
Description
No Description Provided

Return Type: AABB

script.zs
EntityDimensions.makeBoundingBox(x as double, y as double, z as double) as AABB
ParameterTypeDescription
Parameter
x
Type
double
Description
No Description Provided
Parameter
y
Type
double
Description
No Description Provided
Parameter
z
Type
double
Description
No Description Provided

Return Type: EntityDimensions

script.zs
EntityDimensions.scale(factor as float) as EntityDimensions
ParameterTypeDescription
Parameter
factor
Type
float
Description
No Description Provided

Return Type: EntityDimensions

script.zs
EntityDimensions.scale(widthFactor as float, heightFactor as float) as EntityDimensions
ParameterTypeDescription
Parameter
widthFactor
Type
float
Description
No Description Provided
Parameter
heightFactor
Type
float
Description
No Description Provided