Movement Action Types
Action types are the core of Arc Lib's functionality. They define the events that can trigger rewards and conditions in your datapack. Each action type corresponds to a specific event or state in the game, such as a player sprinting, taking damage, or placing a block.
If you can't find the action type you're looking for, it may be because it hasn't been implemented yet. If you think an action type should be added, feel free to open an issue on the GitHub repository to suggest it.
Action Type Categoriesβ
π¦Ά On Crouch
The arc:on_crouch action type is triggered when a player crouches (sneaks).
πͺ On Elytra Fly
The arc:onelytrafly action type is triggered when a player is flying with an elytra.
π On Horse Ride
The arc:onhorseride action type is triggered when a player is riding a horse.
πββοΈ On Sprint
The arc:on_sprint action type is triggered when a player is sprinting.
π¦Ά On Start Crouching
The arc:oncrouchstart action type is triggered when a player starts crouching (sneaking).
πͺ On Start Elytra Flying
The arc:onelytrafly_start action type is triggered when a player starts flying with an elytra.
π On Start Horse Riding
The arc:onhorseride_start action type is triggered when a player starts riding a horse.
πββοΈ On Start Sprinting
The arc:onsprintstart action type is triggered when a player starts sprinting.
πββοΈ On Start Swimming
The arc:onswimstart action type is triggered when a player starts swimming.
πΆββοΈ On Start Walking
The arc:onwalkstart action type is triggered when a player starts walking.
π¦Ά On Stop Crouching
The arc:oncrouchstop action type is triggered when a player stops crouching (sneaking).
πͺ On Stop Elytra Flying
The arc:onelytrafly_stop action type is triggered when a player stops flying with an elytra.
π On Stop Horse Riding
The arc:onhorseride_stop action type is triggered when a player stops riding a horse.
πββοΈ On Stop Sprinting
The arc:onsprintstop action type is triggered when a player stops sprinting.
πββοΈ On Stop Swimming
The arc:onswimstop action type is triggered when a player stops swimming.
πΆββοΈ On Stop Walking
The arc:onwalkstop action type is triggered when a player stops walking.
πββοΈ On Swim
The arc:on_swim action type is triggered when a player is swimming.
πΆββοΈ On Walk
The arc:on_walk action type is triggered when a player is walking.