Enum Class MessageTrustStatus

java.lang.Object
java.lang.Enum<MessageTrustStatus>
net.minecraft.client.network.message.MessageTrustStatus
All Implemented Interfaces:
Serializable, Comparable<MessageTrustStatus>, Constable, StringIdentifiable

@Environment(CLIENT) public enum MessageTrustStatus extends Enum<MessageTrustStatus> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/client/network/message/MessageTrustStatus
intermediary net/minecraft/class_7595
official fyr
  • Enum Constant Details

    • SECURE

      public static final MessageTrustStatus SECURE
      Mappings:
      Namespace Name Mixin selector
      named SECURE Lnet/minecraft/client/network/message/MessageTrustStatus;SECURE:Lnet/minecraft/client/network/message/MessageTrustStatus;
      intermediary field_39780 Lnet/minecraft/class_7595;field_39780:Lnet/minecraft/class_7595;
      official a Lfyr;a:Lfyr;
    • MODIFIED

      public static final MessageTrustStatus MODIFIED
      Mappings:
      Namespace Name Mixin selector
      named MODIFIED Lnet/minecraft/client/network/message/MessageTrustStatus;MODIFIED:Lnet/minecraft/client/network/message/MessageTrustStatus;
      intermediary field_39781 Lnet/minecraft/class_7595;field_39781:Lnet/minecraft/class_7595;
      official b Lfyr;b:Lfyr;
    • NOT_SECURE

      public static final MessageTrustStatus NOT_SECURE
      Mappings:
      Namespace Name Mixin selector
      named NOT_SECURE Lnet/minecraft/client/network/message/MessageTrustStatus;NOT_SECURE:Lnet/minecraft/client/network/message/MessageTrustStatus;
      intermediary field_39782 Lnet/minecraft/class_7595;field_39782:Lnet/minecraft/class_7595;
      official c Lfyr;c:Lfyr;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MessageTrustStatus> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/network/message/MessageTrustStatus;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_40801 Lnet/minecraft/class_7595;field_40801:Lcom/mojang/serialization/Codec;
      official d Lfyr;d:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/network/message/MessageTrustStatus;id:Ljava/lang/String;
      intermediary field_40802 Lnet/minecraft/class_7595;field_40802:Ljava/lang/String;
      official e Lfyr;e:Ljava/lang/String;
  • Constructor Details

    • MessageTrustStatus

      private MessageTrustStatus(String id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/network/message/MessageTrustStatus;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7595;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lfyr;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static MessageTrustStatus[] 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

      public static MessageTrustStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getStatus

      public static MessageTrustStatus getStatus(SignedMessage message, Text decorated, Instant receptionTimestamp)
      Mappings:
      Namespace Name Mixin selector
      named getStatus Lnet/minecraft/client/network/message/MessageTrustStatus;getStatus(Lnet/minecraft/network/message/SignedMessage;Lnet/minecraft/text/Text;Ljava/time/Instant;)Lnet/minecraft/client/network/message/MessageTrustStatus;
      intermediary method_44742 Lnet/minecraft/class_7595;method_44742(Lnet/minecraft/class_7471;Lnet/minecraft/class_2561;Ljava/time/Instant;)Lnet/minecraft/class_7595;
      official a Lfyr;a(Lyf;Lxp;Ljava/time/Instant;)Lfyr;
    • isModified

      private static boolean isModified(SignedMessage message, Text decorated)
      Mappings:
      Namespace Name Mixin selector
      named isModified Lnet/minecraft/client/network/message/MessageTrustStatus;isModified(Lnet/minecraft/network/message/SignedMessage;Lnet/minecraft/text/Text;)Z
      intermediary method_45755 Lnet/minecraft/class_7595;method_45755(Lnet/minecraft/class_7471;Lnet/minecraft/class_2561;)Z
      official a Lfyr;a(Lyf;Lxp;)Z
    • isNotInDefaultFont

      private static boolean isNotInDefaultFont(Text content)
      Mappings:
      Namespace Name Mixin selector
      named isNotInDefaultFont Lnet/minecraft/client/network/message/MessageTrustStatus;isNotInDefaultFont(Lnet/minecraft/text/Text;)Z
      intermediary method_45754 Lnet/minecraft/class_7595;method_45754(Lnet/minecraft/class_2561;)Z
      official a Lfyr;a(Lxp;)Z
    • isNotInDefaultFont

      private static boolean isNotInDefaultFont(Style style)
      Mappings:
      Namespace Name Mixin selector
      named isNotInDefaultFont Lnet/minecraft/client/network/message/MessageTrustStatus;isNotInDefaultFont(Lnet/minecraft/text/Style;)Z
      intermediary method_45756 Lnet/minecraft/class_7595;method_45756(Lnet/minecraft/class_2583;)Z
      official a Lfyr;a(Lym;)Z
    • isInsecure

      public boolean isInsecure()
      Mappings:
      Namespace Name Mixin selector
      named isInsecure Lnet/minecraft/client/network/message/MessageTrustStatus;isInsecure()Z
      intermediary method_44740 Lnet/minecraft/class_7595;method_44740()Z
      official a Lfyr;a()Z
    • createIndicator

      @Nullable public @Nullable MessageIndicator createIndicator(SignedMessage message)
      Mappings:
      Namespace Name Mixin selector
      named createIndicator Lnet/minecraft/client/network/message/MessageTrustStatus;createIndicator(Lnet/minecraft/network/message/SignedMessage;)Lnet/minecraft/client/gui/hud/MessageIndicator;
      intermediary method_44741 Lnet/minecraft/class_7595;method_44741(Lnet/minecraft/class_7471;)Lnet/minecraft/class_7591;
      official a Lfyr;a(Lyf;)Lffb;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;