Package net.minecraft.world.chunk
Enum Class ChunkType
- All Implemented Interfaces:
Serializable
,Comparable<ChunkType>
,Constable
Specifies the type of a chunk
- Mappings:
Namespace Name named net/minecraft/world/chunk/ChunkType
intermediary net/minecraft/class_2808
official dvb
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA chunk which is complete and bound to a world.A chunk which is incomplete and not loaded to the world yet. -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
PROTOCHUNK
A chunk which is incomplete and not loaded to the world yet.- Mappings:
Namespace Name Mixin selector named PROTOCHUNK
Lnet/minecraft/world/chunk/ChunkType;PROTOCHUNK:Lnet/minecraft/world/chunk/ChunkType;
intermediary field_12808
Lnet/minecraft/class_2808;field_12808:Lnet/minecraft/class_2808;
official a
Ldvb;a:Ldvb;
-
LEVELCHUNK
A chunk which is complete and bound to a world.- Mappings:
Namespace Name Mixin selector named LEVELCHUNK
Lnet/minecraft/world/chunk/ChunkType;LEVELCHUNK:Lnet/minecraft/world/chunk/ChunkType;
intermediary field_12807
Lnet/minecraft/class_2808;field_12807:Lnet/minecraft/class_2808;
official b
Ldvb;b:Ldvb;
-
-
Constructor Details
-
ChunkType
private ChunkType()
-
-
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
-