Package net.minecraft.world.chunk
Class ChunkStatus
java.lang.Object
net.minecraft.world.chunk.ChunkStatus
- Mappings:
Namespace Name named net/minecraft/world/chunk/ChunkStatus
intermediary net/minecraft/class_2806
official duz
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static interface
A task called when a chunk needs to be generated.protected static interface
A task called when a chunk is loaded but does not need to be generated. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ChunkStatus
static final ChunkStatus
private final ChunkType
private static final List
<ChunkStatus> static final ChunkStatus
static final ChunkStatus
static final int
static final ChunkStatus
private final ChunkStatus.GenerationTask
private final EnumSet
<Heightmap.Type> private final int
static final ChunkStatus
static final ChunkStatus
private final ChunkStatus.LoadTask
static final ChunkStatus
static final EnumSet
<Heightmap.Type> private static final EnumSet
<Heightmap.Type> private final ChunkStatus
private final boolean
static final ChunkStatus
private static final IntList
static final ChunkStatus
static final ChunkStatus
static final ChunkStatus
private final int
-
Constructor Summary
ConstructorDescriptionChunkStatus
(@Nullable ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkStatus
byDistanceFromFull
(int level) static ChunkStatus
static List
<ChunkStatus> static int
getDistanceFromFull
(ChunkStatus status) int
getIndex()
static int
int
boolean
isAtLeast
(ChunkStatus chunkStatus) private static ChunkStatus
register
(String id, @Nullable ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask) runGenerationTask
(ChunkGenerationContext context, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks) runLoadTask
(ChunkGenerationContext context, FullChunkConverter fullChunkConverter, Chunk chunk) boolean
toString()
-
Field Details
-
field_35470
public static final int field_35470- See Also:
- Mappings:
Namespace Name Mixin selector named field_35470
Lnet/minecraft/world/chunk/ChunkStatus;field_35470:I
intermediary field_35470
Lnet/minecraft/class_2806;field_35470:I
official a
Lduz;a:I
-
PRE_CARVER_HEIGHTMAPS
- Mappings:
Namespace Name Mixin selector named PRE_CARVER_HEIGHTMAPS
Lnet/minecraft/world/chunk/ChunkStatus;PRE_CARVER_HEIGHTMAPS:Ljava/util/EnumSet;
intermediary field_19159
Lnet/minecraft/class_2806;field_19159:Ljava/util/EnumSet;
official o
Lduz;o:Ljava/util/EnumSet;
-
POST_CARVER_HEIGHTMAPS
- Mappings:
Namespace Name Mixin selector named POST_CARVER_HEIGHTMAPS
Lnet/minecraft/world/chunk/ChunkStatus;POST_CARVER_HEIGHTMAPS:Ljava/util/EnumSet;
intermediary field_19160
Lnet/minecraft/class_2806;field_19160:Ljava/util/EnumSet;
official b
Lduz;b:Ljava/util/EnumSet;
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/world/chunk/ChunkStatus;EMPTY:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12798
Lnet/minecraft/class_2806;field_12798:Lnet/minecraft/class_2806;
official c
Lduz;c:Lduz;
-
STRUCTURE_STARTS
- Mappings:
Namespace Name Mixin selector named STRUCTURE_STARTS
Lnet/minecraft/world/chunk/ChunkStatus;STRUCTURE_STARTS:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_16423
Lnet/minecraft/class_2806;field_16423:Lnet/minecraft/class_2806;
official d
Lduz;d:Lduz;
-
STRUCTURE_REFERENCES
- Mappings:
Namespace Name Mixin selector named STRUCTURE_REFERENCES
Lnet/minecraft/world/chunk/ChunkStatus;STRUCTURE_REFERENCES:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_16422
Lnet/minecraft/class_2806;field_16422:Lnet/minecraft/class_2806;
official e
Lduz;e:Lduz;
-
BIOMES
- Mappings:
Namespace Name Mixin selector named BIOMES
Lnet/minecraft/world/chunk/ChunkStatus;BIOMES:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12794
Lnet/minecraft/class_2806;field_12794:Lnet/minecraft/class_2806;
official f
Lduz;f:Lduz;
-
NOISE
- Mappings:
Namespace Name Mixin selector named NOISE
Lnet/minecraft/world/chunk/ChunkStatus;NOISE:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12804
Lnet/minecraft/class_2806;field_12804:Lnet/minecraft/class_2806;
official g
Lduz;g:Lduz;
-
SURFACE
- Mappings:
Namespace Name Mixin selector named SURFACE
Lnet/minecraft/world/chunk/ChunkStatus;SURFACE:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12796
Lnet/minecraft/class_2806;field_12796:Lnet/minecraft/class_2806;
official h
Lduz;h:Lduz;
-
CARVERS
- Mappings:
Namespace Name Mixin selector named CARVERS
Lnet/minecraft/world/chunk/ChunkStatus;CARVERS:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12801
Lnet/minecraft/class_2806;field_12801:Lnet/minecraft/class_2806;
official i
Lduz;i:Lduz;
-
FEATURES
- Mappings:
Namespace Name Mixin selector named FEATURES
Lnet/minecraft/world/chunk/ChunkStatus;FEATURES:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12795
Lnet/minecraft/class_2806;field_12795:Lnet/minecraft/class_2806;
official j
Lduz;j:Lduz;
-
INITIALIZE_LIGHT
- Mappings:
Namespace Name Mixin selector named INITIALIZE_LIGHT
Lnet/minecraft/world/chunk/ChunkStatus;INITIALIZE_LIGHT:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_44633
Lnet/minecraft/class_2806;field_44633:Lnet/minecraft/class_2806;
official k
Lduz;k:Lduz;
-
LIGHT
- Mappings:
Namespace Name Mixin selector named LIGHT
Lnet/minecraft/world/chunk/ChunkStatus;LIGHT:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12805
Lnet/minecraft/class_2806;field_12805:Lnet/minecraft/class_2806;
official l
Lduz;l:Lduz;
-
SPAWN
- Mappings:
Namespace Name Mixin selector named SPAWN
Lnet/minecraft/world/chunk/ChunkStatus;SPAWN:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12786
Lnet/minecraft/class_2806;field_12786:Lnet/minecraft/class_2806;
official m
Lduz;m:Lduz;
-
FULL
- Mappings:
Namespace Name Mixin selector named FULL
Lnet/minecraft/world/chunk/ChunkStatus;FULL:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_12803
Lnet/minecraft/class_2806;field_12803:Lnet/minecraft/class_2806;
official n
Lduz;n:Lduz;
-
DISTANCE_TO_STATUS
- Mappings:
Namespace Name Mixin selector named DISTANCE_TO_STATUS
Lnet/minecraft/world/chunk/ChunkStatus;DISTANCE_TO_STATUS:Ljava/util/List;
intermediary field_12791
Lnet/minecraft/class_2806;field_12791:Ljava/util/List;
official p
Lduz;p:Ljava/util/List;
-
STATUS_TO_DISTANCE
- Mappings:
Namespace Name Mixin selector named STATUS_TO_DISTANCE
Lnet/minecraft/world/chunk/ChunkStatus;STATUS_TO_DISTANCE:Lit/unimi/dsi/fastutil/ints/IntList;
intermediary field_12788
Lnet/minecraft/class_2806;field_12788:Lit/unimi/dsi/fastutil/ints/IntList;
official q
Lduz;q:Lit/unimi/dsi/fastutil/ints/IntList;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named index
Lnet/minecraft/world/chunk/ChunkStatus;index:I
intermediary field_16646
Lnet/minecraft/class_2806;field_16646:I
official r
Lduz;r:I
-
previous
- Mappings:
Namespace Name Mixin selector named previous
Lnet/minecraft/world/chunk/ChunkStatus;previous:Lnet/minecraft/world/chunk/ChunkStatus;
intermediary field_16647
Lnet/minecraft/class_2806;field_16647:Lnet/minecraft/class_2806;
official s
Lduz;s:Lduz;
-
generationTask
- Mappings:
Namespace Name Mixin selector named generationTask
Lnet/minecraft/world/chunk/ChunkStatus;generationTask:Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;
intermediary field_12792
Lnet/minecraft/class_2806;field_12792:Lnet/minecraft/class_2806$class_2807;
official t
Lduz;t:Lduz$a;
-
loadTask
- Mappings:
Namespace Name Mixin selector named loadTask
Lnet/minecraft/world/chunk/ChunkStatus;loadTask:Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;
intermediary field_19346
Lnet/minecraft/class_2806;field_19346:Lnet/minecraft/class_2806$class_4305;
official u
Lduz;u:Lduz$b;
-
taskMargin
private final int taskMargin- Mappings:
Namespace Name Mixin selector named taskMargin
Lnet/minecraft/world/chunk/ChunkStatus;taskMargin:I
intermediary field_12802
Lnet/minecraft/class_2806;field_12802:I
official v
Lduz;v:I
-
shouldAlwaysUpgrade
private final boolean shouldAlwaysUpgrade- Mappings:
Namespace Name Mixin selector named shouldAlwaysUpgrade
Lnet/minecraft/world/chunk/ChunkStatus;shouldAlwaysUpgrade:Z
intermediary field_44634
Lnet/minecraft/class_2806;field_44634:Z
official w
Lduz;w:Z
-
chunkType
- Mappings:
Namespace Name Mixin selector named chunkType
Lnet/minecraft/world/chunk/ChunkStatus;chunkType:Lnet/minecraft/world/chunk/ChunkType;
intermediary field_12787
Lnet/minecraft/class_2806;field_12787:Lnet/minecraft/class_2808;
official x
Lduz;x:Ldvb;
-
heightMapTypes
- Mappings:
Namespace Name Mixin selector named heightMapTypes
Lnet/minecraft/world/chunk/ChunkStatus;heightMapTypes:Ljava/util/EnumSet;
intermediary field_12793
Lnet/minecraft/class_2806;field_12793:Ljava/util/EnumSet;
official y
Lduz;y:Ljava/util/EnumSet;
-
-
Constructor Details
-
ChunkStatus
ChunkStatus(@Nullable @Nullable ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/chunk/ChunkStatus;<init>(Lnet/minecraft/world/chunk/ChunkStatus;IZLjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;)V
intermediary <init>
Lnet/minecraft/class_2806;<init>(Lnet/minecraft/class_2806;IZLjava/util/EnumSet;Lnet/minecraft/class_2808;Lnet/minecraft/class_2806$class_2807;Lnet/minecraft/class_2806$class_4305;)V
official <init>
Lduz;<init>(Lduz;IZLjava/util/EnumSet;Ldvb;Lduz$a;Lduz$b;)V
-
-
Method Details
-
register
private static ChunkStatus register(String id, @Nullable @Nullable ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, EnumSet<Heightmap.Type> heightMapTypes, ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask) - Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/world/chunk/ChunkStatus;register(Ljava/lang/String;Lnet/minecraft/world/chunk/ChunkStatus;IZLjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;)Lnet/minecraft/world/chunk/ChunkStatus;
intermediary method_20611
Lnet/minecraft/class_2806;method_20611(Ljava/lang/String;Lnet/minecraft/class_2806;IZLjava/util/EnumSet;Lnet/minecraft/class_2808;Lnet/minecraft/class_2806$class_2807;Lnet/minecraft/class_2806$class_4305;)Lnet/minecraft/class_2806;
official a
Lduz;a(Ljava/lang/String;Lduz;IZLjava/util/EnumSet;Ldvb;Lduz$a;Lduz$b;)Lduz;
-
createOrderedList
- Mappings:
Namespace Name Mixin selector named createOrderedList
Lnet/minecraft/world/chunk/ChunkStatus;createOrderedList()Ljava/util/List;
intermediary method_16558
Lnet/minecraft/class_2806;method_16558()Ljava/util/List;
official a
Lduz;a()Ljava/util/List;
-
byDistanceFromFull
- Mappings:
Namespace Name Mixin selector named byDistanceFromFull
Lnet/minecraft/world/chunk/ChunkStatus;byDistanceFromFull(I)Lnet/minecraft/world/chunk/ChunkStatus;
intermediary method_12161
Lnet/minecraft/class_2806;method_12161(I)Lnet/minecraft/class_2806;
official a
Lduz;a(I)Lduz;
-
getMaxDistanceFromFull
public static int getMaxDistanceFromFull()- Mappings:
Namespace Name Mixin selector named getMaxDistanceFromFull
Lnet/minecraft/world/chunk/ChunkStatus;getMaxDistanceFromFull()I
intermediary method_12155
Lnet/minecraft/class_2806;method_12155()I
official b
Lduz;b()I
-
getDistanceFromFull
- Mappings:
Namespace Name Mixin selector named getDistanceFromFull
Lnet/minecraft/world/chunk/ChunkStatus;getDistanceFromFull(Lnet/minecraft/world/chunk/ChunkStatus;)I
intermediary method_12175
Lnet/minecraft/class_2806;method_12175(Lnet/minecraft/class_2806;)I
official a
Lduz;a(Lduz;)I
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/world/chunk/ChunkStatus;getIndex()I
intermediary method_16559
Lnet/minecraft/class_2806;method_16559()I
official c
Lduz;c()I
-
getPrevious
- Mappings:
Namespace Name Mixin selector named getPrevious
Lnet/minecraft/world/chunk/ChunkStatus;getPrevious()Lnet/minecraft/world/chunk/ChunkStatus;
intermediary method_16560
Lnet/minecraft/class_2806;method_16560()Lnet/minecraft/class_2806;
official d
Lduz;d()Lduz;
-
runGenerationTask
public CompletableFuture<Chunk> runGenerationTask(ChunkGenerationContext context, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks) - Mappings:
Namespace Name Mixin selector named runGenerationTask
Lnet/minecraft/world/chunk/ChunkStatus;runGenerationTask(Lnet/minecraft/world/chunk/ChunkGenerationContext;Ljava/util/concurrent/Executor;Lnet/minecraft/world/chunk/FullChunkConverter;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
intermediary method_12154
Lnet/minecraft/class_2806;method_12154(Lnet/minecraft/class_9312;Ljava/util/concurrent/Executor;Lnet/minecraft/class_9311;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
official a
Lduz;a(Ldvd;Ljava/util/concurrent/Executor;Ldvc;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
-
runLoadTask
public CompletableFuture<Chunk> runLoadTask(ChunkGenerationContext context, FullChunkConverter fullChunkConverter, Chunk chunk) - Mappings:
Namespace Name Mixin selector named runLoadTask
Lnet/minecraft/world/chunk/ChunkStatus;runLoadTask(Lnet/minecraft/world/chunk/ChunkGenerationContext;Lnet/minecraft/world/chunk/FullChunkConverter;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
intermediary method_20612
Lnet/minecraft/class_2806;method_20612(Lnet/minecraft/class_9312;Lnet/minecraft/class_9311;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
official a
Lduz;a(Ldvd;Ldvc;Ldua;)Ljava/util/concurrent/CompletableFuture;
-
getTaskMargin
public int getTaskMargin()- Mappings:
Namespace Name Mixin selector named getTaskMargin
Lnet/minecraft/world/chunk/ChunkStatus;getTaskMargin()I
intermediary method_12152
Lnet/minecraft/class_2806;method_12152()I
official e
Lduz;e()I
-
shouldAlwaysUpgrade
public boolean shouldAlwaysUpgrade()- Mappings:
Namespace Name Mixin selector named shouldAlwaysUpgrade
Lnet/minecraft/world/chunk/ChunkStatus;shouldAlwaysUpgrade()Z
intermediary method_51378
Lnet/minecraft/class_2806;method_51378()Z
official f
Lduz;f()Z
-
getChunkType
- Mappings:
Namespace Name Mixin selector named getChunkType
Lnet/minecraft/world/chunk/ChunkStatus;getChunkType()Lnet/minecraft/world/chunk/ChunkType;
intermediary method_12164
Lnet/minecraft/class_2806;method_12164()Lnet/minecraft/class_2808;
official g
Lduz;g()Ldvb;
-
byId
- Mappings:
Namespace Name Mixin selector named byId
Lnet/minecraft/world/chunk/ChunkStatus;byId(Ljava/lang/String;)Lnet/minecraft/world/chunk/ChunkStatus;
intermediary method_12168
Lnet/minecraft/class_2806;method_12168(Ljava/lang/String;)Lnet/minecraft/class_2806;
official a
Lduz;a(Ljava/lang/String;)Lduz;
-
getHeightmapTypes
- Mappings:
Namespace Name Mixin selector named getHeightmapTypes
Lnet/minecraft/world/chunk/ChunkStatus;getHeightmapTypes()Ljava/util/EnumSet;
intermediary method_12160
Lnet/minecraft/class_2806;method_12160()Ljava/util/EnumSet;
official h
Lduz;h()Ljava/util/EnumSet;
-
isAtLeast
- Mappings:
Namespace Name Mixin selector named isAtLeast
Lnet/minecraft/world/chunk/ChunkStatus;isAtLeast(Lnet/minecraft/world/chunk/ChunkStatus;)Z
intermediary method_12165
Lnet/minecraft/class_2806;method_12165(Lnet/minecraft/class_2806;)Z
official b
Lduz;b(Lduz;)Z
-
toString
-