Package net.minecraft.network
Enum Class NetworkPhase
- All Implemented Interfaces:
Serializable,Comparable<NetworkPhase>,Constable
- Mappings:
Namespace Name official vhintermediary net/minecraft/class_2539named net/minecraft/network/NetworkPhase
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()static NetworkPhaseReturns the enum constant of this class with the specified name.static NetworkPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HANDSHAKING
- Mappings:
Namespace Name Mixin selector official aLvh;a:Lvh;intermediary field_20590Lnet/minecraft/class_2539;field_20590:Lnet/minecraft/class_2539;named HANDSHAKINGLnet/minecraft/network/NetworkPhase;HANDSHAKING:Lnet/minecraft/network/NetworkPhase;
-
PLAY
- Mappings:
Namespace Name Mixin selector official bLvh;b:Lvh;intermediary field_20591Lnet/minecraft/class_2539;field_20591:Lnet/minecraft/class_2539;named PLAYLnet/minecraft/network/NetworkPhase;PLAY:Lnet/minecraft/network/NetworkPhase;
-
STATUS
- Mappings:
Namespace Name Mixin selector official cLvh;c:Lvh;intermediary field_20592Lnet/minecraft/class_2539;field_20592:Lnet/minecraft/class_2539;named STATUSLnet/minecraft/network/NetworkPhase;STATUS:Lnet/minecraft/network/NetworkPhase;
-
LOGIN
- Mappings:
Namespace Name Mixin selector official dLvh;d:Lvh;intermediary field_20593Lnet/minecraft/class_2539;field_20593:Lnet/minecraft/class_2539;named LOGINLnet/minecraft/network/NetworkPhase;LOGIN:Lnet/minecraft/network/NetworkPhase;
-
CONFIGURATION
- Mappings:
Namespace Name Mixin selector official eLvh;e:Lvh;intermediary field_45671Lnet/minecraft/class_2539;field_45671:Lnet/minecraft/class_2539;named CONFIGURATIONLnet/minecraft/network/NetworkPhase;CONFIGURATION:Lnet/minecraft/network/NetworkPhase;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official fLvh;f:Ljava/lang/String;intermediary field_20594Lnet/minecraft/class_2539;field_20594:Ljava/lang/String;named idLnet/minecraft/network/NetworkPhase;id:Ljava/lang/String;
-
-
Constructor Details
-
NetworkPhase
- Mappings:
Namespace Name Mixin selector official <init>Lvh;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2539;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/network/NetworkPhase;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-
getId
- Mappings:
Namespace Name Mixin selector official aLvh;a()Ljava/lang/String;intermediary method_10785Lnet/minecraft/class_2539;method_10785()Ljava/lang/String;named getIdLnet/minecraft/network/NetworkPhase;getId()Ljava/lang/String;
-