net.minecraft.world.level.chunk

public class ChunkStatus

cwq
net.minecraft.world.level.chunk.ChunkStatus
net.minecraft.class_2806
net.minecraft.world.chunk.ChunkStatus
net.minecraft.src.C_2126_
net.minecraft.world.level.chunk.ChunkStatus

Field summary

Modifier and TypeField
public static final int
a
MAX_STRUCTURE_DISTANCE
field_35470
field_35470
f_187758_
private static final EnumSet<Heightmap$Types>
p
PRE_FEATURES
field_19159
PRE_CARVER_HEIGHTMAPS
f_62327_
public static final EnumSet<Heightmap$Types>
b
POST_FEATURES
field_19160
POST_CARVER_HEIGHTMAPS
f_62328_
private static final ChunkStatus$LoadingTask
q
PASSTHROUGH_LOAD_TASK
field_19345
STATUS_BUMP_LOAD_TASK
f_62329_
public static final ChunkStatus
c
EMPTY
field_12798
EMPTY
f_62314_
public static final ChunkStatus
d
STRUCTURE_STARTS
field_16423
STRUCTURE_STARTS
f_62315_
public static final ChunkStatus
e
STRUCTURE_REFERENCES
field_16422
STRUCTURE_REFERENCES
f_62316_
public static final ChunkStatus
f
BIOMES
field_12794
BIOMES
f_62317_
public static final ChunkStatus
g
NOISE
field_12804
NOISE
f_62318_
public static final ChunkStatus
h
SURFACE
field_12796
SURFACE
f_62319_
public static final ChunkStatus
i
CARVERS
field_12801
CARVERS
f_62320_
public static final ChunkStatus
j
LIQUID_CARVERS
field_12790
LIQUID_CARVERS
f_62321_
public static final ChunkStatus
k
FEATURES
field_12795
FEATURES
f_62322_
public static final ChunkStatus
l
LIGHT
field_12805
LIGHT
f_62323_
public static final ChunkStatus
m
SPAWN
field_12786
SPAWN
f_62324_
public static final ChunkStatus
n
HEIGHTMAPS
field_12800
HEIGHTMAPS
f_62325_
public static final ChunkStatus
o
FULL
field_12803
FULL
f_62326_
private static final List<ChunkStatus>
r
STATUS_BY_RANGE
field_12791
DISTANCE_TO_STATUS
f_62330_
private static final it.unimi.dsi.fastutil.ints.IntList
s
RANGE_BY_STATUS
field_12788
STATUS_TO_DISTANCE
f_62331_
private final String
t
name
field_12789
id
f_62332_
private final int
u
index
field_16646
index
f_62333_
private final ChunkStatus
v
parent
field_16647
previous
f_62334_
private final ChunkStatus$GenerationTask
w
generationTask
field_12792
generationTask
f_62335_
private final ChunkStatus$LoadingTask
x
loadingTask
field_19346
loadTask
f_62336_
private final int
y
range
field_12802
taskMargin
f_62337_
private final ChunkStatus$ChunkType
z
chunkType
field_12787
chunkType
f_62338_
private final EnumSet<Heightmap$Types>
A
heightmapsAfter
field_12793
heightMapTypes
f_62339_

Constructor summary

ModifierConstructor
(String id, ChunkStatus previous, int taskMargin, EnumSet<Heightmap$Types> heightMapTypes, ChunkStatus$ChunkType chunkType, ChunkStatus$GenerationTask generationTask, ChunkStatus$LoadingTask loadTask)

Method summary

Modifier and TypeMethod
private static CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(cwq arg0, afr arg1, cwm arg2)
lightChunk(ChunkStatus arg0, ThreadedLevelLightEngine arg1, ChunkAccess arg2)
method_20610(class_2806 arg0, class_3227 arg1, class_2791 arg2)
getLightingFuture(ChunkStatus status, ServerLightingProvider lightingProvider, Chunk chunk)
m_62388_(C_2126_ p_62389_, C_15_ p_62390_, C_2116_ p_62391_)
private static ChunkStatus
a(String arg0, cwq arg1, int arg2, EnumSet<czu$a> arg3, cwq$a arg4, cwq$d arg5)
registerSimple(String arg0, ChunkStatus arg1, int arg2, EnumSet<Heightmap$Types> arg3, ChunkStatus$ChunkType arg4, ChunkStatus$SimpleGenerationTask arg5)
method_16555(String arg0, class_2806 arg1, int arg2, EnumSet<class_2902$class_2903> arg3, class_2806$class_2808 arg4, class_2806$class_3768 arg5)
register(String id, ChunkStatus previous, int taskMargin, EnumSet<Heightmap$Type> heightMapTypes, ChunkStatus$ChunkType chunkType, ChunkStatus$SimpleGenerationTask task)
m_62414_(String p_62415_, C_2126_ p_62416_, int p_62417_, EnumSet<C_2191_> p_62418_, C_2127_ p_62419_, C_2130_ p_62420_)
private static ChunkStatus
a(String arg0, cwq arg1, int arg2, EnumSet<czu$a> arg3, cwq$a arg4, cwq$b arg5)
register(String arg0, ChunkStatus arg1, int arg2, EnumSet<Heightmap$Types> arg3, ChunkStatus$ChunkType arg4, ChunkStatus$GenerationTask arg5)
method_16557(String arg0, class_2806 arg1, int arg2, EnumSet<class_2902$class_2903> arg3, class_2806$class_2808 arg4, class_2806$class_2807 arg5)
register(String id, ChunkStatus previous, int taskMargin, EnumSet<Heightmap$Type> heightMapTypes, ChunkStatus$ChunkType chunkType, ChunkStatus$GenerationTask task)
m_62399_(String p_62400_, C_2126_ p_62401_, int p_62402_, EnumSet<C_2191_> p_62403_, C_2127_ p_62404_, C_2128_ p_62405_)
private static ChunkStatus
a(String arg0, cwq arg1, int arg2, EnumSet<czu$a> arg3, cwq$a arg4, cwq$b arg5, cwq$c arg6)
register(String arg0, ChunkStatus arg1, int arg2, EnumSet<Heightmap$Types> arg3, ChunkStatus$ChunkType arg4, ChunkStatus$GenerationTask arg5, ChunkStatus$LoadingTask arg6)
method_20611(String arg0, class_2806 arg1, int arg2, EnumSet<class_2902$class_2903> arg3, class_2806$class_2808 arg4, class_2806$class_2807 arg5, class_2806$class_4305 arg6)
register(String id, ChunkStatus previous, int taskMargin, EnumSet<Heightmap$Type> heightMapTypes, ChunkStatus$ChunkType chunkType, ChunkStatus$GenerationTask task, ChunkStatus$LoadTask loadTask)
m_62406_(String p_62407_, C_2126_ p_62408_, int p_62409_, EnumSet<C_2191_> p_62410_, C_2127_ p_62411_, C_2128_ p_62412_, C_2129_ p_62413_)
public static List<ChunkStatus>
a()
getStatusList()
method_16558()
createOrderedList()
m_62349_()
private static boolean
a(cwq arg0, cwm arg1)
isLighted(ChunkStatus arg0, ChunkAccess arg1)
method_20608(class_2806 arg0, class_2791 arg1)
shouldExcludeBlockLight(ChunkStatus status, Chunk chunk)
m_62392_(C_2126_ p_62393_, C_2116_ p_62394_)
public static ChunkStatus
a(int arg0)
getStatusAroundFullChunk(int arg0)
method_12161(int arg0)
byDistanceFromFull(int level)
m_156185_(int p_156186_)
public static int
b()
maxDistance()
method_12155()
getMaxDistanceFromFull()
m_62421_()
public static int
a(cwq arg0)
getDistance(ChunkStatus arg0)
method_12175(class_2806 arg0)
getDistanceFromFull(ChunkStatus status)
m_62370_(C_2126_ p_62371_)
public int
c()
getIndex()
method_16559()
getIndex()
m_62445_()
public String
d()
getName()
method_12172()
getId()
m_62467_()
public ChunkStatus
e()
getParent()
method_16560()
getPrevious()
m_62482_()
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(Executor arg0, afo arg1, cwn arg2, dnx arg3, afr arg4, Function<cwm, CompletableFuture<com.mojang.datafixers.util.Either<cwm, afa$a>>> arg5, List<cwm> arg6, boolean arg7)
generate(Executor arg0, ServerLevel arg1, ChunkGenerator arg2, StructureTemplateManager arg3, ThreadedLevelLightEngine arg4, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>> arg5, List<ChunkAccess> arg6, boolean arg7)
method_12154(Executor arg0, class_3218 arg1, class_2794 arg2, class_3485 arg3, class_3227 arg4, Function<class_2791, CompletableFuture<com.mojang.datafixers.util.Either<class_2791, class_3193$class_3724>>> arg5, List<class_2791> arg6, boolean arg7)
runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder$Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean regenerate)
m_223279_(Executor p_223281_, C_12_ p_223282_, C_2118_ p_223283_, C_213305_ p_223284_, C_15_ p_223285_, Function<C_2116_, CompletableFuture<com.mojang.datafixers.util.Either<C_2116_, C_5424_>>> p_223286_, List<C_2116_> p_223287_, boolean arg7)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(afo arg0, dnx arg1, afr arg2, Function<cwm, CompletableFuture<com.mojang.datafixers.util.Either<cwm, afa$a>>> arg3, cwm arg4)
load(ServerLevel arg0, StructureTemplateManager arg1, ThreadedLevelLightEngine arg2, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>> arg3, ChunkAccess arg4)
method_20612(class_3218 arg0, class_3485 arg1, class_3227 arg2, Function<class_2791, CompletableFuture<com.mojang.datafixers.util.Either<class_2791, class_3193$class_3724>>> arg3, class_2791 arg4)
runLoadTask(ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder$Unloaded>>> fullChunkConverter, Chunk chunk)
m_223244_(C_12_ p_223246_, C_213305_ p_223247_, C_15_ p_223248_, Function<C_2116_, CompletableFuture<com.mojang.datafixers.util.Either<C_2116_, C_5424_>>> p_223249_, C_2116_ arg4)
public int
f()
getRange()
method_12152()
getTaskMargin()
m_62488_()
public ChunkStatus$ChunkType
g()
getChunkType()
method_12164()
getChunkType()
m_62494_()
public static ChunkStatus
a(String arg0)
byName(String arg0)
method_12168(String arg0)
byId(String id)
m_62397_(String p_62398_)
public EnumSet<Heightmap$Types>
h()
heightmapsAfter()
method_12160()
getHeightmapTypes()
m_62500_()
public boolean
b(cwq arg0)
isOrAfter(ChunkStatus arg0)
method_12165(class_2806 arg0)
isAtLeast(ChunkStatus chunkStatus)
m_62427_(C_2126_ arg0)