EntityDimensions
Link to entitydimensions
Importing the class
Link to 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.
ZenScript Copyimport crafttweaker.api.entity.EntityDimensions;
Methods
Link to methods
Name: makeBoundingBox
Return Type: AABB
ZenScript CopyEntityDimensions.makeBoundingBox(x as double, y as double, z as double) as AABB
Parameter | Type | Description |
---|---|---|
Parameter x | Type double | Description No Description Provided |
Parameter y | Type double | Description No Description Provided |
Parameter z | Type double | Description No Description Provided |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(factor as float) as EntityDimensions
Parameter | Type | Description |
---|---|---|
Parameter factor | Type float | Description No Description Provided |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(widthFactor as float, heightFactor as float) as EntityDimensions
Parameter | Type | Description |
---|---|---|
Parameter widthFactor | Type float | Description No Description Provided |
Parameter heightFactor | Type float | Description No Description Provided |