Enum Class ChunkBuilderMode

java.lang.Object
java.lang.Enum<ChunkBuilderMode>
net.minecraft.client.render.ChunkBuilderMode
All Implemented Interfaces:
Serializable, Comparable<ChunkBuilderMode>, Constable, TranslatableOption

@Environment(CLIENT) public enum ChunkBuilderMode extends Enum<ChunkBuilderMode> implements TranslatableOption
Mappings:
Namespace Name
named net/minecraft/client/render/ChunkBuilderMode
intermediary net/minecraft/class_6597
official fml
  • Enum Constant Details

    • NONE

      public static final ChunkBuilderMode NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/client/render/ChunkBuilderMode;NONE:Lnet/minecraft/client/render/ChunkBuilderMode;
      intermediary field_34788 Lnet/minecraft/class_6597;field_34788:Lnet/minecraft/class_6597;
      official a Lfml;a:Lfml;
    • PLAYER_AFFECTED

      public static final ChunkBuilderMode PLAYER_AFFECTED
      Mappings:
      Namespace Name Mixin selector
      named PLAYER_AFFECTED Lnet/minecraft/client/render/ChunkBuilderMode;PLAYER_AFFECTED:Lnet/minecraft/client/render/ChunkBuilderMode;
      intermediary field_34789 Lnet/minecraft/class_6597;field_34789:Lnet/minecraft/class_6597;
      official b Lfml;b:Lfml;
    • NEARBY

      public static final ChunkBuilderMode NEARBY
      Mappings:
      Namespace Name Mixin selector
      named NEARBY Lnet/minecraft/client/render/ChunkBuilderMode;NEARBY:Lnet/minecraft/client/render/ChunkBuilderMode;
      intermediary field_34790 Lnet/minecraft/class_6597;field_34790:Lnet/minecraft/class_6597;
      official c Lfml;c:Lfml;
  • Field Details

    • BY_ID

      private static final IntFunction<ChunkBuilderMode> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/client/render/ChunkBuilderMode;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_34791 Lnet/minecraft/class_6597;field_34791:Ljava/util/function/IntFunction;
      official d Lfml;d:Ljava/util/function/IntFunction;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/render/ChunkBuilderMode;id:I
      intermediary field_34792 Lnet/minecraft/class_6597;field_34792:I
      official e Lfml;e:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/render/ChunkBuilderMode;name:Ljava/lang/String;
      intermediary field_34793 Lnet/minecraft/class_6597;field_34793:Ljava/lang/String;
      official f Lfml;f:Ljava/lang/String;
  • Constructor Details

    • ChunkBuilderMode

      private ChunkBuilderMode(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/ChunkBuilderMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_6597;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lfml;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static ChunkBuilderMode[] 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 ChunkBuilderMode 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 b Lbah;b()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 a Lbah;a()Ljava/lang/String;
    • get

      public static ChunkBuilderMode get(int id)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/render/ChunkBuilderMode;get(I)Lnet/minecraft/client/render/ChunkBuilderMode;
      intermediary method_38523 Lnet/minecraft/class_6597;method_38523(I)Lnet/minecraft/class_6597;
      official a Lfml;a(I)Lfml;