apace100 / apoli

MIT License
37 stars 44 forks source link

Add `pose` power type #228

Closed eggohito closed 3 months ago

eggohito commented 5 months ago

This PR adds the pose power type (originally from eggolib) for modifying the general and/or arm pose(s) of an entity. It accepts these fields:

Field Type Default Description
entity_pose Entity Pose optional Determines the general pose to use. Accepts "standing", "fall_flying" (elytra flight), "sleeping", "swimming" (swimming or crawling), "spin_attack" (trident with riptide), "crouching", "long_jumping", "dying", "croaking", "using_tongue", "sitting", "roaring", "sniffing", "emerging", "digging", "sliding", "shooting", or "inhaling".
arm_pose Arm Pose optional Determines the arm pose to use. Accepts "empty", "item", "block" (blocking with a shield), "bow_and_arrow" (charging a bow with an arrow), "throw_spear" (charging a trident), "crossbow_charge", "crossbow_hold", "spyglass", "toot_horn", or "brush".
priority Integer 0 Determines the placement priority of the power. The power with the highest value will be used for modifying the entity's pose.