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.
import crafttweaker.api.entity.EntityDimensions;
Methods
Return Type: AABB
EntityDimensions.makeBoundingBox(x as double, y as double, z as double) as AABB
Parameter | Type |
---|---|
Parameter x | Type double |
Parameter y | Type double |
Parameter z | Type double |
Return Type: EntityDimensions
EntityDimensions.scale(factor as float) as EntityDimensions
Parameter | Type |
---|---|
Parameter factor | Type float |
Return Type: EntityDimensions
EntityDimensions.scale(widthFactor as float, heightFactor as float) as EntityDimensions
Parameter | Type |
---|---|
Parameter widthFactor | Type float |
Parameter heightFactor | Type float |