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
named net/minecraft/client/render/FogShape
intermediary net/minecraft/class_6854
official fgh
  • Enum Constant Details

    • SPHERE

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

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

    • id

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

    • FogShape

      private FogShape(int id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/FogShape;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_6854;<init>(Ljava/lang/String;II)V
      official <init> Lfgh;<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
      named getId Lnet/minecraft/client/render/FogShape;getId()I
      intermediary method_40036 Lnet/minecraft/class_6854;method_40036()I
      official a Lfgh;a()I