Class ChunkStatus
java.lang.Object
net.minecraft.world.level.chunk.status.ChunkStatus
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static interface
protected static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ChunkStatus
static final ChunkStatus
private final ChunkType
static final ChunkStatus
static final ChunkStatus
static final ChunkStatus
private final ChunkStatus.GenerationTask
private final boolean
private final EnumSet
<Heightmap.Types> private final int
static final ChunkStatus
static final ChunkStatus
private final ChunkStatus.LoadingTask
static final int
static final ChunkStatus
private final ChunkStatus
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
(ChunkStatus p_334696_, int p_328357_, boolean p_329678_, EnumSet<Heightmap.Types> p_329876_, ChunkType p_336141_, ChunkStatus.GenerationTask p_328064_, ChunkStatus.LoadingTask p_333773_) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkStatus
generate
(WorldGenContext p_333542_, Executor p_332959_, ToFullChunk p_332442_, List<ChunkAccess> p_328194_) static int
getDistance
(ChunkStatus p_331292_) int
getIndex()
int
getRange()
static ChunkStatus
getStatusAroundFullChunk
(int p_334095_) static List
<ChunkStatus> boolean
boolean
isOrAfter
(ChunkStatus p_334516_) load
(WorldGenContext p_336003_, ToFullChunk p_329647_, ChunkAccess p_335394_) static int
private static ChunkStatus
register
(String p_334704_, ChunkStatus p_335238_, int p_331152_, boolean p_332303_, EnumSet<Heightmap.Types> p_335194_, ChunkType p_333808_, ChunkStatus.GenerationTask p_328792_, ChunkStatus.LoadingTask p_335536_) toString()
-
Field Details
-
MAX_STRUCTURE_DISTANCE
public static final int MAX_STRUCTURE_DISTANCE- See Also:
-
PRE_FEATURES
-
POST_FEATURES
-
EMPTY
-
STRUCTURE_STARTS
-
STRUCTURE_REFERENCES
-
BIOMES
-
NOISE
-
SURFACE
-
CARVERS
-
FEATURES
-
INITIALIZE_LIGHT
-
LIGHT
-
SPAWN
-
FULL
-
STATUS_BY_RANGE
-
RANGE_BY_STATUS
private static final it.unimi.dsi.fastutil.ints.IntList RANGE_BY_STATUS -
index
private final int index -
parent
-
generationTask
-
loadingTask
-
range
private final int range -
hasLoadDependencies
private final boolean hasLoadDependencies -
chunkType
-
heightmapsAfter
-
-
Constructor Details
-
ChunkStatus
public ChunkStatus(@Nullable ChunkStatus p_334696_, int p_328357_, boolean p_329678_, EnumSet<Heightmap.Types> p_329876_, ChunkType p_336141_, ChunkStatus.GenerationTask p_328064_, ChunkStatus.LoadingTask p_333773_)
-
-
Method Details
-
register
private static ChunkStatus register(String p_334704_, @Nullable ChunkStatus p_335238_, int p_331152_, boolean p_332303_, EnumSet<Heightmap.Types> p_335194_, ChunkType p_333808_, ChunkStatus.GenerationTask p_328792_, ChunkStatus.LoadingTask p_335536_) -
getStatusList
-
getStatusAroundFullChunk
-
maxDistance
public static int maxDistance() -
getDistance
-
getIndex
public int getIndex() -
getParent
-
generate
public CompletableFuture<ChunkAccess> generate(WorldGenContext p_333542_, Executor p_332959_, ToFullChunk p_332442_, List<ChunkAccess> p_328194_) -
load
public CompletableFuture<ChunkAccess> load(WorldGenContext p_336003_, ToFullChunk p_329647_, ChunkAccess p_335394_) -
getRange
public int getRange() -
hasLoadDependencies
public boolean hasLoadDependencies() -
getChunkType
-
byName
-
heightmapsAfter
-
isOrAfter
-
toString
-