Wiki
⚡ Actions
Actions are objects assigned to Action Holders. Actions consist of an Action Type, zero or more Condition Types, and zero or more Reward Types. When an action is triggered by its Action Type, all of its conditions are checked. If all conditions pass, all rewards are granted.
🎬 Action Types
6 items
🎁 Reward Types
8 items
📑 Condition Types
12 items
👤 Action Holders
Action holders are objects assigned to players that hold actions. The default action holder provided by Arc Lib is the player action holder. Modders can create their own action holders for more specialized use cases like the Jobs+ mod for job and power-up specific actions.
📊 Action Data
Action Data is a crucial component of the Arc Lib framework, serving as a container for information related to in-game events. When an event is triggered, such as a player eating an item or breaking a block, an ActionData object is created to hold the context of that event. This object is then passed to the relevant actions, allowing them to perform checks and grant rewards based on the event's details.