Modify Swim Speed (Power Type)
Modifies how fast the entity that has the power swims.
Modifies how fast the entity that has the power swims.
Type ID: apoli:modify_swim_speed
Fields
| Field | Type | Default | Description |
|---|---|---|---|
modifier | Attribute Modifier | optional | If specified, this modifier will apply to the swim speed. |
modifiers | Array of Attribute Modifiers | optional | If specified, these modifiers will apply to the swim speed. |
Examples
{
"type": "apoli:modify_swim_speed",
"modifier": {
"operation": "addition",
"value": 0.025
}
} This power will make the entity that has the power swim/walk significantly faster in water.
The modifier applies to how much momentum you keep each tick in water, which is
0.8when wading and0.9while actually swimming (swimming counts as sprinting). Both cases are modified, so the power works in the swimming pose too.
The result is clamped to
0.96— the value vanilla’s own Dolphin’s Grace uses. Momentum retention closer to1.0sends terminal velocity through the roof and trips the server’s “moved too quickly” check.