Package net.minecraft.client.render
Enum Class FogShape
- All Implemented Interfaces:
Serializable,Comparable<FogShape>,Constable
- Mappings:
Namespace Name official ehointermediary net/minecraft/class_6854named net/minecraft/client/render/FogShape
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
SPHERE
- Mappings:
Namespace Name Mixin selector official aLeho;a:Leho;intermediary field_36350Lnet/minecraft/class_6854;field_36350:Lnet/minecraft/class_6854;named SPHERELnet/minecraft/client/render/FogShape;SPHERE:Lnet/minecraft/client/render/FogShape;
-
CYLINDER
- Mappings:
Namespace Name Mixin selector official bLeho;b:Leho;intermediary field_36351Lnet/minecraft/class_6854;field_36351:Lnet/minecraft/class_6854;named CYLINDERLnet/minecraft/client/render/FogShape;CYLINDER:Lnet/minecraft/client/render/FogShape;
-
-
Field Details
-
id
private final int id- Mappings:
Namespace Name Mixin selector official cLeho;c:Iintermediary field_36352Lnet/minecraft/class_6854;field_36352:Inamed idLnet/minecraft/client/render/FogShape;id:I
-
-
Constructor Details
-
FogShape
private FogShape(int id) - Mappings:
Namespace Name Mixin selector official <init>Leho;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_6854;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/client/render/FogShape;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLeho;a()Iintermediary method_40036Lnet/minecraft/class_6854;method_40036()Inamed getIdLnet/minecraft/client/render/FogShape;getId()I
-