Enum Class MessageTrustStatus
- All Implemented Interfaces:
Serializable,Comparable<MessageTrustStatus>,Constable,StringIdentifiable
@Environment(CLIENT)
public enum MessageTrustStatus
extends Enum<MessageTrustStatus>
implements StringIdentifiable
- Mappings:
Namespace Name official fexintermediary net/minecraft/class_7595named net/minecraft/client/network/message/MessageTrustStatus
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<MessageTrustStatus>private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.createIndicator(SignedMessage message) static MessageTrustStatusgetStatus(SignedMessage message, Text decorated, Instant receptionTimestamp) booleanprivate static booleanisModified(SignedMessage message, Text decorated) private static booleanisNotInDefaultFont(Style style) private static booleanisNotInDefaultFont(Text content) static MessageTrustStatusReturns the enum constant of this class with the specified name.static MessageTrustStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SECURE
- Mappings:
Namespace Name Mixin selector official aLfex;a:Lfex;intermediary field_39780Lnet/minecraft/class_7595;field_39780:Lnet/minecraft/class_7595;named SECURELnet/minecraft/client/network/message/MessageTrustStatus;SECURE:Lnet/minecraft/client/network/message/MessageTrustStatus;
-
MODIFIED
- Mappings:
Namespace Name Mixin selector official bLfex;b:Lfex;intermediary field_39781Lnet/minecraft/class_7595;field_39781:Lnet/minecraft/class_7595;named MODIFIEDLnet/minecraft/client/network/message/MessageTrustStatus;MODIFIED:Lnet/minecraft/client/network/message/MessageTrustStatus;
-
NOT_SECURE
- Mappings:
Namespace Name Mixin selector official cLfex;c:Lfex;intermediary field_39782Lnet/minecraft/class_7595;field_39782:Lnet/minecraft/class_7595;named NOT_SECURELnet/minecraft/client/network/message/MessageTrustStatus;NOT_SECURE:Lnet/minecraft/client/network/message/MessageTrustStatus;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official dLfex;d:Lcom/mojang/serialization/Codec;intermediary field_40801Lnet/minecraft/class_7595;field_40801:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/client/network/message/MessageTrustStatus;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official eLfex;e:Ljava/lang/String;intermediary field_40802Lnet/minecraft/class_7595;field_40802:Ljava/lang/String;named idLnet/minecraft/client/network/message/MessageTrustStatus;id:Ljava/lang/String;
-
-
Constructor Details
-
MessageTrustStatus
- Mappings:
Namespace Name Mixin selector official <init>Lfex;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7595;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/network/message/MessageTrustStatus;<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
-
getStatus
public static MessageTrustStatus getStatus(SignedMessage message, Text decorated, Instant receptionTimestamp) - Mappings:
Namespace Name Mixin selector official aLfex;a(Ltl;Lsw;Ljava/time/Instant;)Lfex;intermediary method_44742Lnet/minecraft/class_7595;method_44742(Lnet/minecraft/class_7471;Lnet/minecraft/class_2561;Ljava/time/Instant;)Lnet/minecraft/class_7595;named getStatusLnet/minecraft/client/network/message/MessageTrustStatus;getStatus(Lnet/minecraft/network/message/SignedMessage;Lnet/minecraft/text/Text;Ljava/time/Instant;)Lnet/minecraft/client/network/message/MessageTrustStatus;
-
isModified
- Mappings:
Namespace Name Mixin selector official aLfex;a(Ltl;Lsw;)Zintermediary method_45755Lnet/minecraft/class_7595;method_45755(Lnet/minecraft/class_7471;Lnet/minecraft/class_2561;)Znamed isModifiedLnet/minecraft/client/network/message/MessageTrustStatus;isModified(Lnet/minecraft/network/message/SignedMessage;Lnet/minecraft/text/Text;)Z
-
isNotInDefaultFont
- Mappings:
Namespace Name Mixin selector official aLfex;a(Lsw;)Zintermediary method_45754Lnet/minecraft/class_7595;method_45754(Lnet/minecraft/class_2561;)Znamed isNotInDefaultFontLnet/minecraft/client/network/message/MessageTrustStatus;isNotInDefaultFont(Lnet/minecraft/text/Text;)Z
-
isNotInDefaultFont
- Mappings:
Namespace Name Mixin selector official aLfex;a(Lts;)Zintermediary method_45756Lnet/minecraft/class_7595;method_45756(Lnet/minecraft/class_2583;)Znamed isNotInDefaultFontLnet/minecraft/client/network/message/MessageTrustStatus;isNotInDefaultFont(Lnet/minecraft/text/Style;)Z
-
isInsecure
public boolean isInsecure()- Mappings:
Namespace Name Mixin selector official aLfex;a()Zintermediary method_44740Lnet/minecraft/class_7595;method_44740()Znamed isInsecureLnet/minecraft/client/network/message/MessageTrustStatus;isInsecure()Z
-
createIndicator
- Mappings:
Namespace Name Mixin selector official aLfex;a(Ltl;)Lena;intermediary method_44741Lnet/minecraft/class_7595;method_44741(Lnet/minecraft/class_7471;)Lnet/minecraft/class_7591;named createIndicatorLnet/minecraft/client/network/message/MessageTrustStatus;createIndicator(Lnet/minecraft/network/message/SignedMessage;)Lnet/minecraft/client/gui/hud/MessageIndicator;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLapr;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-