Enum Class MessageTrustStatus

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

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

    • SECURE

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

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

      public static final MessageTrustStatus FILTERED
      Mappings:
      Namespace Name Mixin selector
      official c Levh;c:Levh;
      intermediary field_39938 Lnet/minecraft/class_7595;field_39938:Lnet/minecraft/class_7595;
      named FILTERED Lnet/minecraft/client/network/message/MessageTrustStatus;FILTERED:Lnet/minecraft/client/network/message/MessageTrustStatus;
    • NOT_SECURE

      public static final MessageTrustStatus NOT_SECURE
      Mappings:
      Namespace Name Mixin selector
      official d Levh;d:Levh;
      intermediary field_39782 Lnet/minecraft/class_7595;field_39782:Lnet/minecraft/class_7595;
      named NOT_SECURE Lnet/minecraft/client/network/message/MessageTrustStatus;NOT_SECURE:Lnet/minecraft/client/network/message/MessageTrustStatus;
    • BROKEN_CHAIN

      public static final MessageTrustStatus BROKEN_CHAIN
      Mappings:
      Namespace Name Mixin selector
      official e Levh;e:Levh;
      intermediary field_39905 Lnet/minecraft/class_7595;field_39905:Lnet/minecraft/class_7595;
      named BROKEN_CHAIN Lnet/minecraft/client/network/message/MessageTrustStatus;BROKEN_CHAIN:Lnet/minecraft/client/network/message/MessageTrustStatus;
  • Constructor Details

    • MessageTrustStatus

      private MessageTrustStatus()
  • 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, @Nullable @Nullable PlayerListEntry sender, Instant receptionTimestamp)
      Mappings:
      Namespace Name Mixin selector
      official a Levh;a(Lsd;Lrq;Leuz;Ljava/time/Instant;)Levh;
      intermediary method_44742 Lnet/minecraft/class_7595;method_44742(Lnet/minecraft/class_7471;Lnet/minecraft/class_2561;Lnet/minecraft/class_640;Ljava/time/Instant;)Lnet/minecraft/class_7595;
      named getStatus Lnet/minecraft/client/network/message/MessageTrustStatus;getStatus(Lnet/minecraft/network/message/SignedMessage;Lnet/minecraft/text/Text;Lnet/minecraft/client/network/PlayerListEntry;Ljava/time/Instant;)Lnet/minecraft/client/network/message/MessageTrustStatus;
    • isInsecure

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

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