Package net.minecraft.client.render
Enum Class FogShape
- All Implemented Interfaces:
Serializable
,Comparable<FogShape>
,Constable
- Mappings:
Namespace Name official egr
intermediary net/minecraft/class_6854
named 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
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Enum Constant Details
-
SPHERE
- Mappings:
Namespace Name Mixin selector official a
Legr;a:Legr;
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
- Mappings:
Namespace Name Mixin selector official b
Legr;b:Legr;
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
Legr;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>
Legr;<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
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 a
Legr;a()I
intermediary method_40036
Lnet/minecraft/class_6854;method_40036()I
named getId
Lnet/minecraft/client/render/FogShape;getId()I
-