EntityDimensions
Link to entitydimensions
Импорт класса
Link to импорт-класса
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;
Методы
Link to методы
Name: makeBoundingBox
Return Type: AABB
ZenScript CopyEntityDimensions.makeBoundingBox(x as double, y as double, z as double) as AABB
Параметр | Тип |
---|---|
Параметр x | Тип double |
Параметр y | Тип double |
Параметр z | Тип double |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(factor as float) as EntityDimensions
Параметр | Тип |
---|---|
Параметр factor | Тип float |
Name: scale
Return Type: EntityDimensions
ZenScript CopyEntityDimensions.scale(widthFactor as float, heightFactor as float) as EntityDimensions
Параметр | Тип |
---|---|
Параметр widthFactor | Тип float |
Параметр heightFactor | Тип float |