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
Copy
import crafttweaker.api.entity.EntityDimensions;

Name: makeBoundingBox

Return Type: AABB

ZenScript
Copy
EntityDimensions.makeBoundingBox(vec as Vec3) as AABB
ПараметрТипОписание
Параметр
vec
Тип
Vec3
Описание
No Description Provided

Name: makeBoundingBox

Return Type: AABB

ZenScript
Copy
EntityDimensions.makeBoundingBox(x as double, y as double, z as double) as AABB
ПараметрТипОписание
Параметр
x
Тип
double
Описание
No Description Provided
Параметр
y
Тип
double
Описание
No Description Provided
Параметр
z
Тип
double
Описание
No Description Provided

Name: scale

Return Type: EntityDimensions

ZenScript
Copy
EntityDimensions.scale(factor as float) as EntityDimensions
ПараметрТипОписание
Параметр
factor
Тип
float
Описание
No Description Provided

Name: scale

Return Type: EntityDimensions

ZenScript
Copy
EntityDimensions.scale(widthFactor as float, heightFactor as float) as EntityDimensions
ПараметрТипОписание
Параметр
widthFactor
Тип
float
Описание
No Description Provided
Параметр
heightFactor
Тип
float
Описание
No Description Provided