Package net.ixdarklord.coolcatcore.api.event.v2.core
package net.ixdarklord.coolcatcore.api.event.v2.core
-
ClassDescriptionEventInvoker<T>One cross-loader event, identified by its listener type: a functional interface.When a listener runs relative to the others of the same event.Where a phase's listeners run among other mods' own listeners of the game event: before them (NeoForge's highest priority, a Fabric phase before the default one), with them, or after them (the lowest priority, a phase after the default one).A result that can be returned from an event, either allowing the event to continue processing or to cancel the implementation resulting in vanilla behavior being disrupted.An extension to
EventResultallowing to attach any kind of value to the result,nullvalues are not permitted.