net.minecraft.world.level.chunk

public class ChunkStatus

dhk
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>
o
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
p
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
FEATURES
field_12795
FEATURES
f_62322_
public static final ChunkStatus
k
INITIALIZE_LIGHT
field_44633
INITIALIZE_LIGHT
f_279614_
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
FULL
field_12803
FULL
f_62326_
private static final List<ChunkStatus>
q
STATUS_BY_RANGE
field_12791
DISTANCE_TO_STATUS
f_62330_
private static final it.unimi.dsi.fastutil.ints.IntList
r
RANGE_BY_STATUS
field_12788
STATUS_TO_DISTANCE
f_62331_
private final int
s
index
field_16646
index
f_62333_
private final ChunkStatus
t
parent
field_16647
previous
f_62334_
private final ChunkStatus$GenerationTask
u
generationTask
field_12792
generationTask
f_62335_
private final ChunkStatus$LoadingTask
v
loadingTask
field_19346
loadTask
f_62336_
private final int
w
range
field_12802
taskMargin
f_62337_
private final boolean
x
hasLoadDependencies
field_44634
shouldAlwaysUpgrade
f_279602_
private final ChunkStatus$ChunkType
y
chunkType
field_12787
chunkType
f_62338_
private final EnumSet<Heightmap$Types>
z
heightmapsAfter
field_12793
heightMapTypes
f_62339_

Constructor summary

ModifierConstructor
(ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, 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(akt arg0, dhf arg1)
initializeLight(ThreadedLevelLightEngine arg0, ChunkAccess arg1)
method_51373(class_3227 arg0, class_2791 arg1)
getInitializeLightingFuture(ServerLightingProvider lightingProvider, Chunk chunk)
m_280141_(C_15_ p_282288_, C_2116_ p_282906_)
private static CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
b(akt arg0, dhf arg1)
lightChunk(ThreadedLevelLightEngine arg0, ChunkAccess arg1)
method_20610(class_3227 arg0, class_2791 arg1)
getLightingFuture(ServerLightingProvider lightingProvider, Chunk chunk)
m_284159_(C_15_ p_285039_, C_2116_ p_285316_)
private static ChunkStatus
a(String arg0, dhk arg1, int arg2, EnumSet<dks$a> arg3, dhk$a arg4, dhk$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_2190_$C_2191_> p_62418_, C_2126_$C_2127_ p_62419_, C_2126_$C_2130_ p_62420_)
private static ChunkStatus
a(String arg0, dhk arg1, int arg2, EnumSet<dks$a> arg3, dhk$a arg4, dhk$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_2190_$C_2191_> p_62403_, C_2126_$C_2127_ p_62404_, C_2126_$C_2128_ p_62405_)
private static ChunkStatus
a(String arg0, dhk arg1, int arg2, boolean arg3, EnumSet<dks$a> arg4, dhk$a arg5, dhk$b arg6, dhk$c arg7)
register(String arg0, ChunkStatus arg1, int arg2, boolean arg3, EnumSet<Heightmap$Types> arg4, ChunkStatus$ChunkType arg5, ChunkStatus$GenerationTask arg6, ChunkStatus$LoadingTask arg7)
method_20611(String arg0, class_2806 arg1, int arg2, boolean arg3, EnumSet<class_2902$class_2903> arg4, class_2806$class_2808 arg5, class_2806$class_2807 arg6, class_2806$class_4305 arg7)
register(String id, ChunkStatus previous, int taskMargin, boolean shouldAlwaysUpgrade, EnumSet<Heightmap$Type> heightMapTypes, ChunkStatus$ChunkType chunkType, ChunkStatus$GenerationTask generationTask, ChunkStatus$LoadTask loadTask)
m_280108_(String p_282817_, C_2126_ p_282644_, int p_281535_, boolean p_282329_, EnumSet<C_2190_$C_2191_> p_281310_, C_2126_$C_2127_ p_281968_, C_2126_$C_2128_ p_283654_, C_2126_$C_2129_ p_282175_)
public static List<ChunkStatus>
a()
getStatusList()
method_16558()
createOrderedList()
m_62349_()
private static boolean
a(dhf arg0)
isLighted(ChunkAccess arg0)
method_20608(class_2791 arg0)
shouldExcludeBlockLight(Chunk chunk)
m_284462_(C_2116_ p_285378_)
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(dhk 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 ChunkStatus
d()
getParent()
method_16560()
getPrevious()
m_62482_()
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(Executor arg0, akq arg1, dhg arg2, dzc arg3, akt arg4, Function<dhf, CompletableFuture<com.mojang.datafixers.util.Either<dhf, ajy$a>>> arg5, List<dhf> arg6)
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)
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)
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)
m_280308_(Executor p_281420_, C_12_ p_281836_, C_2118_ p_281305_, C_213305_ p_282570_, C_15_ p_283114_, Function<C_2116_, CompletableFuture<com.mojang.datafixers.util.Either<C_2116_, C_5422_$C_5424_>>> p_282723_, List<C_2116_> arg6)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(akq arg0, dzc arg1, akt arg2, Function<dhf, CompletableFuture<com.mojang.datafixers.util.Either<dhf, ajy$a>>> arg3, dhf 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_5422_$C_5424_>>> p_223249_, C_2116_ arg4)
public int
e()
getRange()
method_12152()
getTaskMargin()
m_62488_()
public boolean
f()
hasLoadDependencies()
method_51378()
shouldAlwaysUpgrade()
m_280148_()
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(dhk arg0)
isOrAfter(ChunkStatus arg0)
method_12165(class_2806 arg0)
isAtLeast(ChunkStatus chunkStatus)
m_62427_(C_2126_ arg0)