Class ElementEvents
java.lang.Object
io.github.xrickastley.sevenelements.events.ElementEvents
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Event<ElementEvents.ElementApplied> Called when an element is applied.static final Event<ElementEvents.ElementReapplied> Called when an element is reapplied.static final Event<ElementEvents.ElementRefreshed> Called when an element is refreshed.static final Event<ElementEvents.ElementRemoved> Called when an element is removed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
APPLIED
Called when an element is applied.
An element is "applied" when its corresponding Elemental Application is first applied to the entity. -
REAPPLIED
Called when an element is reapplied. Not to be confused withREFRESHED.
An element is "reapplied" when its corresponding Elemental Application is reapplied through theElementalApplication#reapply()method. -
REFRESHED
Called when an element is refreshed. Not to be confused withREAPPLIED.
An element is "refreshed" when its corresponding Elemental Application is replaced with a new Elemental Application. -
REMOVED
Called when an element is removed.
An element is "removed" when its corresponding Elemental Application expires or is removed.
-
-
Constructor Details
-
ElementEvents
public ElementEvents()
-