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 | Descrizione |
---|---|---|
Parametro x | Tipo double | Descrizione No Description Provided |
Parametro y | Tipo double | Descrizione No Description Provided |
Parametro z | Tipo double | Descrizione No Description Provided |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(factor as float) as EntityDimensions
Parametro | Tipo | Descrizione |
---|---|---|
Parametro factor | Tipo float | Descrizione No Description Provided |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(widthFactor as float, heightFactor as float) as EntityDimensions
Parametro | Tipo | Descrizione |
---|---|---|
Parametro widthFactor | Tipo float | Descrizione No Description Provided |
Parametro heightFactor | Tipo float | Descrizione No Description Provided |