EntityDimensions
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.entity.EntityDimensions;
Members
makeBoundingBox(vec as Vec3) as AABB
makeBoundingBox(x as double, y as double, z as double) as AABB
scale(factor as float) as EntityDimensions
myEntityDimensions.scale(myFloat);
Parameters:
factor: float
Type: float
Return Type:
EntityDimensions
scale(widthFactor as float, heightFactor as float) as EntityDimensions
myEntityDimensions.scale(myFloat, myFloat);
Parameters:
widthFactor: float
Type: float
heightFactor: float
Type: float
Return Type:
EntityDimensions