Package net.minecraft.client.render
Enum Class FogShape
- All Implemented Interfaces:
Serializable
,Comparable<FogShape>
,Constable
- Mappings:
Namespace Name named net/minecraft/client/render/FogShape
intermediary net/minecraft/class_6854
official fgh
-
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 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
- 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
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 named getId
Lnet/minecraft/client/render/FogShape;getId()I
intermediary method_40036
Lnet/minecraft/class_6854;method_40036()I
official a
Lfgh;a()I
-