Package net.minecraft.world.chunk
Class ChunkStatus
java.lang.Object
net.minecraft.world.chunk.ChunkStatus
public class ChunkStatus extends Object
- Mappings:
Namespace Name official cjp
intermediary net/minecraft/class_2806
named net/minecraft/world/chunk/ChunkStatus
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChunkStatus.ChunkType
Specifies the type of a chunk(package private) static interface
ChunkStatus.GenerationTask
A task called when a chunk needs to be generated.(package private) static interface
ChunkStatus.LoadTask
A task called when a chunk is loaded but does not need to be generated.(package private) static interface
ChunkStatus.SimpleGenerationTask
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChunkStatus(String id, ChunkStatus previous, int taskMargin, EnumSet<Heightmap.Type> heightMapTypes, ChunkStatus.ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask)
-
Method Summary
-
Field Details
-
PRE_CARVER_HEIGHTMAPS
- Mappings:
Namespace Name Mixin selector official n
Lcjp;n:Ljava/util/EnumSet;
intermediary field_19159
Lnet/minecraft/class_2806;field_19159:Ljava/util/EnumSet;
named PRE_CARVER_HEIGHTMAPS
Lnet/minecraft/world/chunk/ChunkStatus;PRE_CARVER_HEIGHTMAPS:Ljava/util/EnumSet;
-
POST_CARVER_HEIGHTMAPS
- Mappings:
Namespace Name Mixin selector official o
Lcjp;o:Ljava/util/EnumSet;
intermediary field_19160
Lnet/minecraft/class_2806;field_19160:Ljava/util/EnumSet;
named POST_CARVER_HEIGHTMAPS
Lnet/minecraft/world/chunk/ChunkStatus;POST_CARVER_HEIGHTMAPS:Ljava/util/EnumSet;
-
STATUS_BUMP_LOAD_TASK
A load task which only bumps the chunk status of the chunk.- Mappings:
Namespace Name Mixin selector official p
Lcjp;p:Lcjp$c;
intermediary field_19345
Lnet/minecraft/class_2806;field_19345:Lnet/minecraft/class_2806$class_4305;
named STATUS_BUMP_LOAD_TASK
Lnet/minecraft/world/chunk/ChunkStatus;STATUS_BUMP_LOAD_TASK:Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lcjp;a:Lcjp;
intermediary field_12798
Lnet/minecraft/class_2806;field_12798:Lnet/minecraft/class_2806;
named EMPTY
Lnet/minecraft/world/chunk/ChunkStatus;EMPTY:Lnet/minecraft/world/chunk/ChunkStatus;
-
STRUCTURE_STARTS
- Mappings:
Namespace Name Mixin selector official b
Lcjp;b:Lcjp;
intermediary field_16423
Lnet/minecraft/class_2806;field_16423:Lnet/minecraft/class_2806;
named STRUCTURE_STARTS
Lnet/minecraft/world/chunk/ChunkStatus;STRUCTURE_STARTS:Lnet/minecraft/world/chunk/ChunkStatus;
-
STRUCTURE_REFERENCES
- Mappings:
Namespace Name Mixin selector official c
Lcjp;c:Lcjp;
intermediary field_16422
Lnet/minecraft/class_2806;field_16422:Lnet/minecraft/class_2806;
named STRUCTURE_REFERENCES
Lnet/minecraft/world/chunk/ChunkStatus;STRUCTURE_REFERENCES:Lnet/minecraft/world/chunk/ChunkStatus;
-
BIOMES
- Mappings:
Namespace Name Mixin selector official d
Lcjp;d:Lcjp;
intermediary field_12794
Lnet/minecraft/class_2806;field_12794:Lnet/minecraft/class_2806;
named BIOMES
Lnet/minecraft/world/chunk/ChunkStatus;BIOMES:Lnet/minecraft/world/chunk/ChunkStatus;
-
NOISE
- Mappings:
Namespace Name Mixin selector official e
Lcjp;e:Lcjp;
intermediary field_12804
Lnet/minecraft/class_2806;field_12804:Lnet/minecraft/class_2806;
named NOISE
Lnet/minecraft/world/chunk/ChunkStatus;NOISE:Lnet/minecraft/world/chunk/ChunkStatus;
-
SURFACE
- Mappings:
Namespace Name Mixin selector official f
Lcjp;f:Lcjp;
intermediary field_12796
Lnet/minecraft/class_2806;field_12796:Lnet/minecraft/class_2806;
named SURFACE
Lnet/minecraft/world/chunk/ChunkStatus;SURFACE:Lnet/minecraft/world/chunk/ChunkStatus;
-
CARVERS
- Mappings:
Namespace Name Mixin selector official g
Lcjp;g:Lcjp;
intermediary field_12801
Lnet/minecraft/class_2806;field_12801:Lnet/minecraft/class_2806;
named CARVERS
Lnet/minecraft/world/chunk/ChunkStatus;CARVERS:Lnet/minecraft/world/chunk/ChunkStatus;
-
LIQUID_CARVERS
- Mappings:
Namespace Name Mixin selector official h
Lcjp;h:Lcjp;
intermediary field_12790
Lnet/minecraft/class_2806;field_12790:Lnet/minecraft/class_2806;
named LIQUID_CARVERS
Lnet/minecraft/world/chunk/ChunkStatus;LIQUID_CARVERS:Lnet/minecraft/world/chunk/ChunkStatus;
-
FEATURES
- Mappings:
Namespace Name Mixin selector official i
Lcjp;i:Lcjp;
intermediary field_12795
Lnet/minecraft/class_2806;field_12795:Lnet/minecraft/class_2806;
named FEATURES
Lnet/minecraft/world/chunk/ChunkStatus;FEATURES:Lnet/minecraft/world/chunk/ChunkStatus;
-
LIGHT
- Mappings:
Namespace Name Mixin selector official j
Lcjp;j:Lcjp;
intermediary field_12805
Lnet/minecraft/class_2806;field_12805:Lnet/minecraft/class_2806;
named LIGHT
Lnet/minecraft/world/chunk/ChunkStatus;LIGHT:Lnet/minecraft/world/chunk/ChunkStatus;
-
SPAWN
- Mappings:
Namespace Name Mixin selector official k
Lcjp;k:Lcjp;
intermediary field_12786
Lnet/minecraft/class_2806;field_12786:Lnet/minecraft/class_2806;
named SPAWN
Lnet/minecraft/world/chunk/ChunkStatus;SPAWN:Lnet/minecraft/world/chunk/ChunkStatus;
-
HEIGHTMAPS
- Mappings:
Namespace Name Mixin selector official l
Lcjp;l:Lcjp;
intermediary field_12800
Lnet/minecraft/class_2806;field_12800:Lnet/minecraft/class_2806;
named HEIGHTMAPS
Lnet/minecraft/world/chunk/ChunkStatus;HEIGHTMAPS:Lnet/minecraft/world/chunk/ChunkStatus;
-
FULL
- Mappings:
Namespace Name Mixin selector official m
Lcjp;m:Lcjp;
intermediary field_12803
Lnet/minecraft/class_2806;field_12803:Lnet/minecraft/class_2806;
named FULL
Lnet/minecraft/world/chunk/ChunkStatus;FULL:Lnet/minecraft/world/chunk/ChunkStatus;
-
DISTANCE_TO_STATUS
- Mappings:
Namespace Name Mixin selector official q
Lcjp;q:Ljava/util/List;
intermediary field_12791
Lnet/minecraft/class_2806;field_12791:Ljava/util/List;
named DISTANCE_TO_STATUS
Lnet/minecraft/world/chunk/ChunkStatus;DISTANCE_TO_STATUS:Ljava/util/List;
-
STATUS_TO_DISTANCE
- Mappings:
Namespace Name Mixin selector official r
Lcjp;r:Lit/unimi/dsi/fastutil/ints/IntList;
intermediary field_12788
Lnet/minecraft/class_2806;field_12788:Lit/unimi/dsi/fastutil/ints/IntList;
named STATUS_TO_DISTANCE
Lnet/minecraft/world/chunk/ChunkStatus;STATUS_TO_DISTANCE:Lit/unimi/dsi/fastutil/ints/IntList;
-
id
- Mappings:
Namespace Name Mixin selector official s
Lcjp;s:Ljava/lang/String;
intermediary field_12789
Lnet/minecraft/class_2806;field_12789:Ljava/lang/String;
named id
Lnet/minecraft/world/chunk/ChunkStatus;id:Ljava/lang/String;
-
index
private final int index- Mappings:
Namespace Name Mixin selector official t
Lcjp;t:I
intermediary field_16646
Lnet/minecraft/class_2806;field_16646:I
named index
Lnet/minecraft/world/chunk/ChunkStatus;index:I
-
previous
- Mappings:
Namespace Name Mixin selector official u
Lcjp;u:Lcjp;
intermediary field_16647
Lnet/minecraft/class_2806;field_16647:Lnet/minecraft/class_2806;
named previous
Lnet/minecraft/world/chunk/ChunkStatus;previous:Lnet/minecraft/world/chunk/ChunkStatus;
-
generationTask
- Mappings:
Namespace Name Mixin selector official v
Lcjp;v:Lcjp$b;
intermediary field_12792
Lnet/minecraft/class_2806;field_12792:Lnet/minecraft/class_2806$class_2807;
named generationTask
Lnet/minecraft/world/chunk/ChunkStatus;generationTask:Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;
-
loadTask
- Mappings:
Namespace Name Mixin selector official w
Lcjp;w:Lcjp$c;
intermediary field_19346
Lnet/minecraft/class_2806;field_19346:Lnet/minecraft/class_2806$class_4305;
named loadTask
Lnet/minecraft/world/chunk/ChunkStatus;loadTask:Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;
-
taskMargin
private final int taskMargin- Mappings:
Namespace Name Mixin selector official x
Lcjp;x:I
intermediary field_12802
Lnet/minecraft/class_2806;field_12802:I
named taskMargin
Lnet/minecraft/world/chunk/ChunkStatus;taskMargin:I
-
chunkType
- Mappings:
Namespace Name Mixin selector official y
Lcjp;y:Lcjp$a;
intermediary field_12787
Lnet/minecraft/class_2806;field_12787:Lnet/minecraft/class_2806$class_2808;
named chunkType
Lnet/minecraft/world/chunk/ChunkStatus;chunkType:Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;
-
heightMapTypes
- Mappings:
Namespace Name Mixin selector official z
Lcjp;z:Ljava/util/EnumSet;
intermediary field_12793
Lnet/minecraft/class_2806;field_12793:Ljava/util/EnumSet;
named heightMapTypes
Lnet/minecraft/world/chunk/ChunkStatus;heightMapTypes:Ljava/util/EnumSet;
-
-
Constructor Details
-
ChunkStatus
ChunkStatus(String id, @Nullable ChunkStatus previous, int taskMargin, EnumSet<Heightmap.Type> heightMapTypes, ChunkStatus.ChunkType chunkType, ChunkStatus.GenerationTask generationTask, ChunkStatus.LoadTask loadTask)- Mappings:
Namespace Name Mixin selector official <init>
Lcjp;<init>(Ljava/lang/String;Lcjp;ILjava/util/EnumSet;Lcjp$a;Lcjp$b;Lcjp$c;)V
intermediary <init>
Lnet/minecraft/class_2806;<init>(Ljava/lang/String;Lnet/minecraft/class_2806;ILjava/util/EnumSet;Lnet/minecraft/class_2806$class_2808;Lnet/minecraft/class_2806$class_2807;Lnet/minecraft/class_2806$class_4305;)V
named <init>
Lnet/minecraft/world/chunk/ChunkStatus;<init>(Ljava/lang/String;Lnet/minecraft/world/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;)V
-
-
Method Details
-
getLightingFuture
private static CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getLightingFuture(ChunkStatus status, ServerLightingProvider lightingProvider, Chunk chunk)- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Lcjp;Laay;Lcjl;)Ljava/util/concurrent/CompletableFuture;
intermediary method_20610
Lnet/minecraft/class_2806;method_20610(Lnet/minecraft/class_2806;Lnet/minecraft/class_3227;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
named getLightingFuture
Lnet/minecraft/world/chunk/ChunkStatus;getLightingFuture(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/server/world/ServerLightingProvider;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
-
register
private static ChunkStatus register(String id, @Nullable ChunkStatus previous, int taskMargin, EnumSet<Heightmap.Type> heightMapTypes, ChunkStatus.ChunkType chunkType, ChunkStatus.SimpleGenerationTask task)- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Ljava/lang/String;Lcjp;ILjava/util/EnumSet;Lcjp$a;Lcjp$d;)Lcjp;
intermediary method_16555
Lnet/minecraft/class_2806;method_16555(Ljava/lang/String;Lnet/minecraft/class_2806;ILjava/util/EnumSet;Lnet/minecraft/class_2806$class_2808;Lnet/minecraft/class_2806$class_3768;)Lnet/minecraft/class_2806;
named register
Lnet/minecraft/world/chunk/ChunkStatus;register(Ljava/lang/String;Lnet/minecraft/world/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$SimpleGenerationTask;)Lnet/minecraft/world/chunk/ChunkStatus;
-
register
private static ChunkStatus register(String id, @Nullable ChunkStatus previous, int taskMargin, EnumSet<Heightmap.Type> heightMapTypes, ChunkStatus.ChunkType chunkType, ChunkStatus.GenerationTask task)- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Ljava/lang/String;Lcjp;ILjava/util/EnumSet;Lcjp$a;Lcjp$b;)Lcjp;
intermediary method_16557
Lnet/minecraft/class_2806;method_16557(Ljava/lang/String;Lnet/minecraft/class_2806;ILjava/util/EnumSet;Lnet/minecraft/class_2806$class_2808;Lnet/minecraft/class_2806$class_2807;)Lnet/minecraft/class_2806;
named register
Lnet/minecraft/world/chunk/ChunkStatus;register(Ljava/lang/String;Lnet/minecraft/world/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;)Lnet/minecraft/world/chunk/ChunkStatus;
-
register
private static ChunkStatus register(String id, @Nullable ChunkStatus previous, int taskMargin, EnumSet<Heightmap.Type> heightMapTypes, ChunkStatus.ChunkType chunkType, ChunkStatus.GenerationTask task, ChunkStatus.LoadTask loadTask)- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Ljava/lang/String;Lcjp;ILjava/util/EnumSet;Lcjp$a;Lcjp$b;Lcjp$c;)Lcjp;
intermediary method_20611
Lnet/minecraft/class_2806;method_20611(Ljava/lang/String;Lnet/minecraft/class_2806;ILjava/util/EnumSet;Lnet/minecraft/class_2806$class_2808;Lnet/minecraft/class_2806$class_2807;Lnet/minecraft/class_2806$class_4305;)Lnet/minecraft/class_2806;
named register
Lnet/minecraft/world/chunk/ChunkStatus;register(Ljava/lang/String;Lnet/minecraft/world/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;)Lnet/minecraft/world/chunk/ChunkStatus;
-
createOrderedList
- Mappings:
Namespace Name Mixin selector official a
Lcjp;a()Ljava/util/List;
intermediary method_16558
Lnet/minecraft/class_2806;method_16558()Ljava/util/List;
named createOrderedList
Lnet/minecraft/world/chunk/ChunkStatus;createOrderedList()Ljava/util/List;
-
shouldExcludeBlockLight
- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Lcjp;Lcjl;)Z
intermediary method_20608
Lnet/minecraft/class_2806;method_20608(Lnet/minecraft/class_2806;Lnet/minecraft/class_2791;)Z
named shouldExcludeBlockLight
Lnet/minecraft/world/chunk/ChunkStatus;shouldExcludeBlockLight(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/world/chunk/Chunk;)Z
-
byDistanceFromFull
- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(I)Lcjp;
intermediary method_12161
Lnet/minecraft/class_2806;method_12161(I)Lnet/minecraft/class_2806;
named byDistanceFromFull
Lnet/minecraft/world/chunk/ChunkStatus;byDistanceFromFull(I)Lnet/minecraft/world/chunk/ChunkStatus;
-
getMaxDistanceFromFull
public static int getMaxDistanceFromFull()- Mappings:
Namespace Name Mixin selector official b
Lcjp;b()I
intermediary method_12155
Lnet/minecraft/class_2806;method_12155()I
named getMaxDistanceFromFull
Lnet/minecraft/world/chunk/ChunkStatus;getMaxDistanceFromFull()I
-
getDistanceFromFull
- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Lcjp;)I
intermediary method_12175
Lnet/minecraft/class_2806;method_12175(Lnet/minecraft/class_2806;)I
named getDistanceFromFull
Lnet/minecraft/world/chunk/ChunkStatus;getDistanceFromFull(Lnet/minecraft/world/chunk/ChunkStatus;)I
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector official c
Lcjp;c()I
intermediary method_16559
Lnet/minecraft/class_2806;method_16559()I
named getIndex
Lnet/minecraft/world/chunk/ChunkStatus;getIndex()I
-
getId
- Mappings:
Namespace Name Mixin selector official d
Lcjp;d()Ljava/lang/String;
intermediary method_12172
Lnet/minecraft/class_2806;method_12172()Ljava/lang/String;
named getId
Lnet/minecraft/world/chunk/ChunkStatus;getId()Ljava/lang/String;
-
getPrevious
- Mappings:
Namespace Name Mixin selector official e
Lcjp;e()Lcjp;
intermediary method_16560
Lnet/minecraft/class_2806;method_16560()Lnet/minecraft/class_2806;
named getPrevious
Lnet/minecraft/world/chunk/ChunkStatus;getPrevious()Lnet/minecraft/world/chunk/ChunkStatus;
-
runGenerationTask
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> runGenerationTask(ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> chunks)- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Laav;Lcjn;Lcyj;Laay;Ljava/util/function/Function;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
intermediary method_12154
Lnet/minecraft/class_2806;method_12154(Lnet/minecraft/class_3218;Lnet/minecraft/class_2794;Lnet/minecraft/class_3485;Lnet/minecraft/class_3227;Ljava/util/function/Function;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
named runGenerationTask
Lnet/minecraft/world/chunk/ChunkStatus;runGenerationTask(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/StructureManager;Lnet/minecraft/server/world/ServerLightingProvider;Ljava/util/function/Function;Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
-
runLoadTask
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> runLoadTask(ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, Chunk chunk)- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Laav;Lcyj;Laay;Ljava/util/function/Function;Lcjl;)Ljava/util/concurrent/CompletableFuture;
intermediary method_20612
Lnet/minecraft/class_2806;method_20612(Lnet/minecraft/class_3218;Lnet/minecraft/class_3485;Lnet/minecraft/class_3227;Ljava/util/function/Function;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
named runLoadTask
Lnet/minecraft/world/chunk/ChunkStatus;runLoadTask(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/structure/StructureManager;Lnet/minecraft/server/world/ServerLightingProvider;Ljava/util/function/Function;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
-
getTaskMargin
public int getTaskMargin()- Mappings:
Namespace Name Mixin selector official f
Lcjp;f()I
intermediary method_12152
Lnet/minecraft/class_2806;method_12152()I
named getTaskMargin
Lnet/minecraft/world/chunk/ChunkStatus;getTaskMargin()I
-
getChunkType
- Mappings:
Namespace Name Mixin selector official g
Lcjp;g()Lcjp$a;
intermediary method_12164
Lnet/minecraft/class_2806;method_12164()Lnet/minecraft/class_2806$class_2808;
named getChunkType
Lnet/minecraft/world/chunk/ChunkStatus;getChunkType()Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;
-
byId
- Mappings:
Namespace Name Mixin selector official a
Lcjp;a(Ljava/lang/String;)Lcjp;
intermediary method_12168
Lnet/minecraft/class_2806;method_12168(Ljava/lang/String;)Lnet/minecraft/class_2806;
named byId
Lnet/minecraft/world/chunk/ChunkStatus;byId(Ljava/lang/String;)Lnet/minecraft/world/chunk/ChunkStatus;
-
getHeightmapTypes
- Mappings:
Namespace Name Mixin selector official h
Lcjp;h()Ljava/util/EnumSet;
intermediary method_12160
Lnet/minecraft/class_2806;method_12160()Ljava/util/EnumSet;
named getHeightmapTypes
Lnet/minecraft/world/chunk/ChunkStatus;getHeightmapTypes()Ljava/util/EnumSet;
-
isAtLeast
- Mappings:
Namespace Name Mixin selector official b
Lcjp;b(Lcjp;)Z
intermediary method_12165
Lnet/minecraft/class_2806;method_12165(Lnet/minecraft/class_2806;)Z
named isAtLeast
Lnet/minecraft/world/chunk/ChunkStatus;isAtLeast(Lnet/minecraft/world/chunk/ChunkStatus;)Z
-
toString
-