-
Notifications
You must be signed in to change notification settings - Fork 2
Modders
Alembic provides a handful of new events to interface with the system on varying levels.
This event allows you to add/alter/remove the ComposedData that is passed to the tag parser. This allows you to modify different elements or add more data for use in tags before said tags are run.
This event gives you two stages, Pre and Post. This allows you to modify what happens when an entity takes damage. The AlembicDamageType is passed to you, so you can filter all you need.
This event gives you two versions, Increase and Decrease. These events fire when a player's FoodData changes in said direction.
You can register custom tags by extending AbstractTag and then calling registerTagType in AlembicAPI. For an example, look at the AlembicTagType class.
Tag Conditions are created and registered in almost the same way as Tags, but instead implementing TagCondition and calling the registerTagConditionType method in AlembicAPI. Predicates do not need registered, but you can still find examples on creation and implementation in the conditions package.