Package net.minecraft.network
Enum Class ConnectionIntent
- All Implemented Interfaces:
Serializable,Comparable<ConnectionIntent>,Constable
- Mappings:
Namespace Name official acvintermediary net/minecraft/class_8592named net/minecraft/network/ConnectionIntent
-
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 TypeMethodDescriptionstatic ConnectionIntentbyId(int id) intgetId()getState()static ConnectionIntentReturns the enum constant of this class with the specified name.static ConnectionIntent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS
- Mappings:
Namespace Name Mixin selector official aLacv;a:Lacv;intermediary field_44974Lnet/minecraft/class_8592;field_44974:Lnet/minecraft/class_8592;named STATUSLnet/minecraft/network/ConnectionIntent;STATUS:Lnet/minecraft/network/ConnectionIntent;
-
LOGIN
- Mappings:
Namespace Name Mixin selector official bLacv;b:Lacv;intermediary field_44975Lnet/minecraft/class_8592;field_44975:Lnet/minecraft/class_8592;named LOGINLnet/minecraft/network/ConnectionIntent;LOGIN:Lnet/minecraft/network/ConnectionIntent;
-
-
Field Details
-
STATUS_ID
private static final int STATUS_ID- See Also:
- Mappings:
Namespace Name Mixin selector official cLacv;c:Iintermediary field_44976Lnet/minecraft/class_8592;field_44976:Inamed STATUS_IDLnet/minecraft/network/ConnectionIntent;STATUS_ID:I
-
LOGIN_ID
private static final int LOGIN_ID- See Also:
- Mappings:
Namespace Name Mixin selector official dLacv;d:Iintermediary field_44977Lnet/minecraft/class_8592;field_44977:Inamed LOGIN_IDLnet/minecraft/network/ConnectionIntent;LOGIN_ID:I
-
-
Constructor Details
-
ConnectionIntent
private ConnectionIntent()
-
-
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
-
byId
- Mappings:
Namespace Name Mixin selector official aLacv;a(I)Lacv;intermediary method_52284Lnet/minecraft/class_8592;method_52284(I)Lnet/minecraft/class_8592;named byIdLnet/minecraft/network/ConnectionIntent;byId(I)Lnet/minecraft/network/ConnectionIntent;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLacv;a()Iintermediary method_52283Lnet/minecraft/class_8592;method_52283()Inamed getIdLnet/minecraft/network/ConnectionIntent;getId()I
-
getState
- Mappings:
Namespace Name Mixin selector official bLacv;b()Lsh;intermediary method_52285Lnet/minecraft/class_8592;method_52285()Lnet/minecraft/class_2539;named getStateLnet/minecraft/network/ConnectionIntent;getState()Lnet/minecraft/network/NetworkState;
-