Package icu.suc.mc.serverevents
Class ServerEventPriority
java.lang.Object
icu.suc.mc.serverevents.ServerEventPriority
Provides a legacy event priority abstraction.
This class exists primarily for compatibility and developer familiarity,
mirroring the conventional event priority model used in older APIs such as
Bukkit. It maps human-readable priority levels to Identifier-based
Fabric event phases.
The defined priorities are actively applied to events exposed under
ServerEvents.*, where they are used as phase identifiers during
event registration and invocation.
Outside of ServerEvents.*, these priorities do not have intrinsic
meaning unless explicitly integrated into the event dispatching logic.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.IdentifierExecuted afterNORMAL.static final net.minecraft.resources.IdentifierExecuted afterHIGH.static final net.minecraft.resources.IdentifierExecuted afterLOWEST.static final net.minecraft.resources.IdentifierExecuted first.static final net.minecraft.resources.IdentifierExecuted afterHIGHEST.static final net.minecraft.resources.IdentifierExecuted afterLOW.static final net.minecraft.resources.Identifier[] -
Method Summary
-
Field Details
-
PRIORITIES
@Internal public static final net.minecraft.resources.Identifier[] PRIORITIES -
LOWEST
public static final net.minecraft.resources.Identifier LOWESTExecuted first. -
LOW
public static final net.minecraft.resources.Identifier LOWExecuted afterLOWEST. -
NORMAL
public static final net.minecraft.resources.Identifier NORMALExecuted afterLOW. Default priority.- See Also:
-
HIGH
public static final net.minecraft.resources.Identifier HIGHExecuted afterNORMAL. -
HIGHEST
public static final net.minecraft.resources.Identifier HIGHESTExecuted afterHIGH. -
MONITOR
public static final net.minecraft.resources.Identifier MONITORExecuted afterHIGHEST. For observation only.
-
-
Method Details
-
register
@Internal public static net.minecraft.resources.Identifier register(int id, net.minecraft.resources.Identifier identifier) -
getById
public static net.minecraft.resources.Identifier getById(int id)
-