Shaking (Power Type)
Makes the entity that has the power shake, similar to a Strider out of lava or a Zombie undergoing conversion.
Makes the entity that has the power shake, similar to a Strider out of lava or a Zombie undergoing conversion.
Type ID: apoli:shaking
Fields
None.
Behaviour
The shake is the same body-yaw wobble vanilla uses, so it shows on the entity as other players see it, not in your own first-person view. Skeletons and strays are the one exception — their renderer decides isShaking on its own and ignores the power.
The
conditionon this power is checked by the client, against the world as the client knows it. Conditions that need server-only state — power inventories, apoli:command, apoli:advancement, apoli:scoreboard, apoli:stat — will never pass here. Gate the power with apoli:power_active or a resource instead; those are synced.
Examples
{
"type": "apoli:shaking",
"condition": {
"type": "apoli:on_fire",
"inverted": true
}
} This example will make the entity shake if the entity is not burning.