Enum Class ChatVisibility

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

public enum ChatVisibility extends Enum<ChatVisibility> implements TranslatableOption
Mappings:
Namespace Name
named net/minecraft/network/message/ChatVisibility
intermediary net/minecraft/class_1659
official cmj
  • Enum Constant Details

    • FULL

      public static final ChatVisibility FULL
      Mappings:
      Namespace Name Mixin selector
      named FULL Lnet/minecraft/network/message/ChatVisibility;FULL:Lnet/minecraft/network/message/ChatVisibility;
      intermediary field_7538 Lnet/minecraft/class_1659;field_7538:Lnet/minecraft/class_1659;
      official a Lcmj;a:Lcmj;
    • SYSTEM

      public static final ChatVisibility SYSTEM
      Mappings:
      Namespace Name Mixin selector
      named SYSTEM Lnet/minecraft/network/message/ChatVisibility;SYSTEM:Lnet/minecraft/network/message/ChatVisibility;
      intermediary field_7539 Lnet/minecraft/class_1659;field_7539:Lnet/minecraft/class_1659;
      official b Lcmj;b:Lcmj;
    • HIDDEN

      public static final ChatVisibility HIDDEN
      Mappings:
      Namespace Name Mixin selector
      named HIDDEN Lnet/minecraft/network/message/ChatVisibility;HIDDEN:Lnet/minecraft/network/message/ChatVisibility;
      intermediary field_7536 Lnet/minecraft/class_1659;field_7536:Lnet/minecraft/class_1659;
      official c Lcmj;c:Lcmj;
  • Field Details

    • BY_ID

      private static final IntFunction<ChatVisibility> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/network/message/ChatVisibility;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_7534 Lnet/minecraft/class_1659;field_7534:Ljava/util/function/IntFunction;
      official d Lcmj;d:Ljava/util/function/IntFunction;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/network/message/ChatVisibility;id:I
      intermediary field_7535 Lnet/minecraft/class_1659;field_7535:I
      official e Lcmj;e:I
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      named translationKey Lnet/minecraft/network/message/ChatVisibility;translationKey:Ljava/lang/String;
      intermediary field_7540 Lnet/minecraft/class_1659;field_7540:Ljava/lang/String;
      official f Lcmj;f:Ljava/lang/String;
  • Constructor Details

    • ChatVisibility

      private ChatVisibility(int id, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/message/ChatVisibility;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1659;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lcmj;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static ChatVisibility[] 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 ChatVisibility 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
    • getId

      public int getId()
      Specified by:
      getId in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/util/TranslatableOption;getId()I
      intermediary method_7362 Lnet/minecraft/class_7291;method_7362()I
      official a Layj;a()I
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      named getTranslationKey Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
      intermediary method_7359 Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
      official b Layj;b()Ljava/lang/String;
    • byId

      public static ChatVisibility byId(int id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/network/message/ChatVisibility;byId(I)Lnet/minecraft/network/message/ChatVisibility;
      intermediary method_7360 Lnet/minecraft/class_1659;method_7360(I)Lnet/minecraft/class_1659;
      official a Lcmj;a(I)Lcmj;