Scale
Modifies the scale(s) of an entity using Pehkui.
Type ID: astral:scale
Danger
This power type is being deprecated and will be removed in a future version.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
width |
Float | 1.0 |
The entity's model width scale. |
height |
Float | 1.0 |
The entity's model height scale. |
reach |
Float | 1.0 |
The entity's reach scale. |
motion |
Float | 1.0 |
The entity's motion scale. |
jump |
Float | 1.0 |
The entity's jump scale. |
reset_on_lost |
Boolean | false |
Whether to reset all modified scales back to 1.0 when the power is "lost" (removed or disabled). |
operation |
Scale Operation | "multiplicative" |
The operation with which to scale. |
Examples
1 2 3 4 5 6 | |
Sets the entity's width and height to 1.5x their initial value, and their reach to 1.25x the initial value. For players, they will be 3 blocks tall and will be able to reach up to around 4.5 blocks away.
1 2 3 4 5 6 7 8 9 | |
Decreases the entity's reach by 50% while they are sneaking, resetting back to default when the condition is false.
Added: v1.0.0, Last Updated: v1.0.0, Deprecated: v1.7.0