Enum Class LoadingCycleCallback.LoadingCycle
java.lang.Object
java.lang.Enum<LoadingCycleCallback.LoadingCycle>
com.viaversion.viafabricplus.api.events.LoadingCycleCallback.LoadingCycle
- All Implemented Interfaces:
Serializable,Comparable<LoadingCycleCallback.LoadingCycle>,Constable
- Enclosing interface:
LoadingCycleCallback
public static enum LoadingCycleCallback.LoadingCycle
extends Enum<LoadingCycleCallback.LoadingCycle>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFinal stage after everything is loaded.After the files are loaded.After the game is loaded.After the settings are loaded.After ViaVersion is loaded.Before the files are loaded.Before the settings are loaded.Before ViaVersion is loaded. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LoadingCycleCallback.LoadingCycle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRE_SETTINGS_LOAD
Before the settings are loaded. -
POST_SETTINGS_LOAD
After the settings are loaded. -
PRE_FILES_LOAD
Before the files are loaded. -
POST_FILES_LOAD
After the files are loaded. -
PRE_VIAVERSION_LOAD
Before ViaVersion is loaded. -
POST_VIAVERSION_LOAD
After ViaVersion is loaded. -
FINAL_LOAD
Final stage after everything is loaded. -
POST_GAME_LOAD
After the game is loaded.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-