Package net.minecraft.world.level.chunk
Class ChunkStatus
java.lang.Object
net.minecraft.world.level.chunk.ChunkStatus
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
(package private) static interface
(package private) static interface
(package private) static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ChunkStatus
static final ChunkStatus
private final ChunkStatus.ChunkType
static final ChunkStatus
static final ChunkStatus
static final ChunkStatus
private final ChunkStatus.GenerationTask
static final ChunkStatus
private final EnumSet<Heightmap.Types>
private final int
static final ChunkStatus
static final ChunkStatus
private final ChunkStatus.LoadingTask
static final int
private final String
static final ChunkStatus
private final ChunkStatus
private static final ChunkStatus.LoadingTask
static final EnumSet<Heightmap.Types>
private static final EnumSet<Heightmap.Types>
private final int
private static final it.unimi.dsi.fastutil.ints.IntList
static final ChunkStatus
private static final List<ChunkStatus>
static final ChunkStatus
static final ChunkStatus
static final ChunkStatus
-
Constructor Summary
ConstructorDescriptionChunkStatus
(String p_62342_, ChunkStatus p_62343_, int p_62344_, EnumSet<Heightmap.Types> p_62345_, ChunkStatus.ChunkType p_62346_, ChunkStatus.GenerationTask p_62347_, ChunkStatus.LoadingTask p_62348_) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkStatus
CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> generate
(Executor p_223280_, ServerLevel p_223281_, ChunkGenerator p_223282_, StructureTemplateManager p_223283_, ThreadedLevelLightEngine p_223284_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223285_, List<ChunkAccess> p_223286_, boolean p_223287_) static int
getDistance
(ChunkStatus p_62371_) int
getIndex()
getName()
int
getRange()
static ChunkStatus
getStatusAroundFullChunk
(int p_156186_) static List<ChunkStatus>
private static boolean
isLighted
(ChunkStatus p_62393_, ChunkAccess p_62394_) boolean
isOrAfter
(ChunkStatus p_62428_) private static CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> lightChunk
(ChunkStatus p_62389_, ThreadedLevelLightEngine p_62390_, ChunkAccess p_62391_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> load
(ServerLevel p_223245_, StructureTemplateManager p_223246_, ThreadedLevelLightEngine p_223247_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223248_, ChunkAccess p_223249_) static int
private static ChunkStatus
register
(String p_62400_, ChunkStatus p_62401_, int p_62402_, EnumSet<Heightmap.Types> p_62403_, ChunkStatus.ChunkType p_62404_, ChunkStatus.GenerationTask p_62405_) private static ChunkStatus
register
(String p_62407_, ChunkStatus p_62408_, int p_62409_, EnumSet<Heightmap.Types> p_62410_, ChunkStatus.ChunkType p_62411_, ChunkStatus.GenerationTask p_62412_, ChunkStatus.LoadingTask p_62413_) private static ChunkStatus
registerSimple
(String p_62415_, ChunkStatus p_62416_, int p_62417_, EnumSet<Heightmap.Types> p_62418_, ChunkStatus.ChunkType p_62419_, ChunkStatus.SimpleGenerationTask p_62420_) toString()
-
Field Details
-
MAX_STRUCTURE_DISTANCE
public static final int MAX_STRUCTURE_DISTANCE- See Also:
-
PRE_FEATURES
-
POST_FEATURES
-
PASSTHROUGH_LOAD_TASK
-
EMPTY
-
STRUCTURE_STARTS
-
STRUCTURE_REFERENCES
-
BIOMES
-
NOISE
-
SURFACE
-
CARVERS
-
LIQUID_CARVERS
-
FEATURES
-
LIGHT
-
SPAWN
-
HEIGHTMAPS
-
FULL
-
STATUS_BY_RANGE
-
RANGE_BY_STATUS
private static final it.unimi.dsi.fastutil.ints.IntList RANGE_BY_STATUS -
name
-
index
private final int index -
parent
-
generationTask
-
loadingTask
-
range
private final int range -
chunkType
-
heightmapsAfter
-
-
Constructor Details
-
ChunkStatus
public ChunkStatus(String p_62342_, @Nullable ChunkStatus p_62343_, int p_62344_, EnumSet<Heightmap.Types> p_62345_, ChunkStatus.ChunkType p_62346_, ChunkStatus.GenerationTask p_62347_, ChunkStatus.LoadingTask p_62348_)
-
-
Method Details
-
lightChunk
private static CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>> lightChunk(ChunkStatus p_62389_, ThreadedLevelLightEngine p_62390_, ChunkAccess p_62391_) -
registerSimple
private static ChunkStatus registerSimple(String p_62415_, @Nullable ChunkStatus p_62416_, int p_62417_, EnumSet<Heightmap.Types> p_62418_, ChunkStatus.ChunkType p_62419_, ChunkStatus.SimpleGenerationTask p_62420_) -
register
private static ChunkStatus register(String p_62400_, @Nullable ChunkStatus p_62401_, int p_62402_, EnumSet<Heightmap.Types> p_62403_, ChunkStatus.ChunkType p_62404_, ChunkStatus.GenerationTask p_62405_) -
register
private static ChunkStatus register(String p_62407_, @Nullable ChunkStatus p_62408_, int p_62409_, EnumSet<Heightmap.Types> p_62410_, ChunkStatus.ChunkType p_62411_, ChunkStatus.GenerationTask p_62412_, ChunkStatus.LoadingTask p_62413_) -
getStatusList
-
isLighted
-
getStatusAroundFullChunk
-
maxDistance
public static int maxDistance() -
getDistance
-
getIndex
public int getIndex() -
getName
-
getParent
-
generate
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>> generate(Executor p_223280_, ServerLevel p_223281_, ChunkGenerator p_223282_, StructureTemplateManager p_223283_, ThreadedLevelLightEngine p_223284_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223285_, List<ChunkAccess> p_223286_, boolean p_223287_) -
load
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>> load(ServerLevel p_223245_, StructureTemplateManager p_223246_, ThreadedLevelLightEngine p_223247_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223248_, ChunkAccess p_223249_) -
getRange
public int getRange() -
getChunkType
-
byName
-
heightmapsAfter
-
isOrAfter
-
toString
-