EntityDimensions
Link to entitydimensions
Importare la Classe
Link to importare-la-classe
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;
Metodi
Link to metodi
Name: makeBoundingBox
Return Type: AABB
ZenScript CopyEntityDimensions.makeBoundingBox(x as double, y as double, z as double) as AABB
Parametro | Tipo |
---|---|
Parametro x | Tipo double |
Parametro y | Tipo double |
Parametro z | Tipo double |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(factor as float) as EntityDimensions
Parametro | Tipo |
---|---|
Parametro factor | Tipo float |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(widthFactor as float, heightFactor as float) as EntityDimensions
Parametro | Tipo |
---|---|
Parametro widthFactor | Tipo float |
Parametro heightFactor | Tipo float |