Package net.minecraft.world.chunk
Enum Class ChunkStatus.ChunkType
- All Implemented Interfaces:
Serializable
,Comparable<ChunkStatus.ChunkType>
,Constable
- Enclosing class:
ChunkStatus
Specifies the type of a chunk
- Mappings:
Namespace Name official dli$a
intermediary net/minecraft/class_2806$class_2808
named net/minecraft/world/chunk/ChunkStatus$ChunkType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA chunk which is complete and bound to a world.A chunk which is incomplete and not loaded to the world yet. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkStatus.ChunkType
Returns the enum constant of this class with the specified name.static ChunkStatus.ChunkType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROTOCHUNK
A chunk which is incomplete and not loaded to the world yet.- Mappings:
Namespace Name Mixin selector official a
Ldli$a;a:Ldli$a;
intermediary field_12808
Lnet/minecraft/class_2806$class_2808;field_12808:Lnet/minecraft/class_2806$class_2808;
named PROTOCHUNK
Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;PROTOCHUNK:Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;
-
LEVELCHUNK
A chunk which is complete and bound to a world.- Mappings:
Namespace Name Mixin selector official b
Ldli$a;b:Ldli$a;
intermediary field_12807
Lnet/minecraft/class_2806$class_2808;field_12807:Lnet/minecraft/class_2806$class_2808;
named LEVELCHUNK
Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;LEVELCHUNK:Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;
-
-
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
-