Enum Class FogShape

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

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

    • SPHERE

      public static final FogShape SPHERE
      Mappings:
      Namespace Name Mixin selector
      official a Ldzg;a:Ldzg;
      intermediary field_36350 Lnet/minecraft/class_6854;field_36350:Lnet/minecraft/class_6854;
      named SPHERE Lnet/minecraft/client/render/FogShape;SPHERE:Lnet/minecraft/client/render/FogShape;
    • CYLINDER

      public static final FogShape CYLINDER
      Mappings:
      Namespace Name Mixin selector
      official b Ldzg;b:Ldzg;
      intermediary field_36351 Lnet/minecraft/class_6854;field_36351:Lnet/minecraft/class_6854;
      named CYLINDER Lnet/minecraft/client/render/FogShape;CYLINDER:Lnet/minecraft/client/render/FogShape;
  • Field Details

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official c Ldzg;c:I
      intermediary field_36352 Lnet/minecraft/class_6854;field_36352:I
      named id Lnet/minecraft/client/render/FogShape;id:I
  • Constructor Details

    • FogShape

      private FogShape(int id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldzg;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_6854;<init>(Ljava/lang/String;II)V
      named <init> Lnet/minecraft/client/render/FogShape;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static FogShape[] 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 FogShape 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 Ldzg;a()I
      intermediary method_40036 Lnet/minecraft/class_6854;method_40036()I
      named getId Lnet/minecraft/client/render/FogShape;getId()I