Package net.minecraft.network.message
Enum Class MessageVerifier.Status
- All Implemented Interfaces:
Serializable
,Comparable<MessageVerifier.Status>
,Constable
- Enclosing interface:
MessageVerifier
The verification status of a message.
- Mappings:
Namespace Name official si$b
intermediary net/minecraft/class_7615$class_7646
named net/minecraft/network/message/MessageVerifier$Status
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe message cannot be verified due to the last message not being verified.The message cannot be verified.The message is verified. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageVerifier.Status
Returns the enum constant of this class with the specified name.static MessageVerifier.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SECURE
The message is verified.- Mappings:
Namespace Name Mixin selector official a
Lsi$b;a:Lsi$b;
intermediary field_39910
Lnet/minecraft/class_7615$class_7646;field_39910:Lnet/minecraft/class_7615$class_7646;
named SECURE
Lnet/minecraft/network/message/MessageVerifier$Status;SECURE:Lnet/minecraft/network/message/MessageVerifier$Status;
-
NOT_SECURE
The message cannot be verified.- Mappings:
Namespace Name Mixin selector official b
Lsi$b;b:Lsi$b;
intermediary field_39911
Lnet/minecraft/class_7615$class_7646;field_39911:Lnet/minecraft/class_7615$class_7646;
named NOT_SECURE
Lnet/minecraft/network/message/MessageVerifier$Status;NOT_SECURE:Lnet/minecraft/network/message/MessageVerifier$Status;
-
BROKEN_CHAIN
The message cannot be verified due to the last message not being verified.- Mappings:
Namespace Name Mixin selector official c
Lsi$b;c:Lsi$b;
intermediary field_39912
Lnet/minecraft/class_7615$class_7646;field_39912:Lnet/minecraft/class_7615$class_7646;
named BROKEN_CHAIN
Lnet/minecraft/network/message/MessageVerifier$Status;BROKEN_CHAIN:Lnet/minecraft/network/message/MessageVerifier$Status;
-
-
Constructor Details
-
Status
private Status()
-
-
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
-