Enum Class ChunkBuilderMode

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

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

    • NONE

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

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

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

    • modes

      private static final ChunkBuilderMode[] modes
      Mappings:
      Namespace Name Mixin selector
      official d Ldxu;d:[Ldxu;
      intermediary field_34791 Lnet/minecraft/class_6597;field_34791:[Lnet/minecraft/class_6597;
      named modes Lnet/minecraft/client/render/ChunkBuilderMode;modes:[Lnet/minecraft/client/render/ChunkBuilderMode;
    • id

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

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

    • ChunkBuilderMode

      private ChunkBuilderMode(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldxu;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_6597;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/client/render/ChunkBuilderMode;<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()
      Mappings:
      Namespace Name Mixin selector
      official a Ldxu;a()I
      intermediary method_38522 Lnet/minecraft/class_6597;method_38522()I
      named getId Lnet/minecraft/client/render/ChunkBuilderMode;getId()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Ldxu;b()Ljava/lang/String;
      intermediary method_38524 Lnet/minecraft/class_6597;method_38524()Ljava/lang/String;
      named getName Lnet/minecraft/client/render/ChunkBuilderMode;getName()Ljava/lang/String;
    • get

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