Events
Events are fired during the lifecycle of an equipped relic. Below is a list of all custom events included in Relique.
RelicPreEquipEvent
Cancellable: true
Fired before an item is equipped into a relic slot. If cancelled, the item will not be equipped.
Method | Information |
|---|---|
| The |
| The ID of the target slot. |
| The target index within the slot. |
| The |
RelicEquipEvent
Cancellable: false
Fired after an item is successfully equipped and its attribute modifiers and sounds have been applied.
Method | Information |
|---|---|
| The |
| The ID of the slot. |
| The index within the slot. |
| The |
RelicUnequipEvent
Cancellable: false
Fired after an item is successfully unequipped and its attribute modifiers have been removed.
Method | Information |
|---|---|
| The |
| The ID of the slot. |
| The index within the slot. |
| The |
RelicDropEvent
Cancellable: false
Fired when a relic is forcibly dropped from an entity (e.g., upon death, or if a slot limit is dynamically reduced).
Method | Information |
|---|---|
| The |
| The ID of the slot. |
| The index within the slot. |
| The |
RelicTickEvent
Cancellable: false
Fired every server tick for every equipped relic on valid entities.
Method | Information |
|---|---|
| The |
| The ID of the slot. |
| The index within the slot. |
| The |