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_330316_, int p_331005_, boolean p_331192_, EnumSet<Heightmap.Types> p_331442_, ChunkType p_331412_, ChunkStatus.GenerationTask p_331787_, ChunkStatus.LoadingTask p_330251_) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkStatus
generate
(WorldGenContext p_330418_, Executor p_331595_, ToFullChunk p_330877_, List<ChunkAccess> p_331519_) static int
getDistance
(ChunkStatus p_330308_) int
getIndex()
int
getRange()
static ChunkStatus
getStatusAroundFullChunk
(int p_331738_) static List
<ChunkStatus> boolean
boolean
isOrAfter
(ChunkStatus p_330216_) load
(WorldGenContext p_331669_, ToFullChunk p_332161_, ChunkAccess p_330578_) static int
private static ChunkStatus
register
(String p_330494_, ChunkStatus p_331829_, int p_331568_, boolean p_330950_, EnumSet<Heightmap.Types> p_330717_, ChunkType p_331982_, ChunkStatus.GenerationTask p_331350_, ChunkStatus.LoadingTask p_331071_) 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
ChunkStatus(@Nullable ChunkStatus p_330316_, int p_331005_, boolean p_331192_, EnumSet<Heightmap.Types> p_331442_, ChunkType p_331412_, ChunkStatus.GenerationTask p_331787_, ChunkStatus.LoadingTask p_330251_)
-
-
Method Details
-
register
private static ChunkStatus register(String p_330494_, @Nullable ChunkStatus p_331829_, int p_331568_, boolean p_330950_, EnumSet<Heightmap.Types> p_330717_, ChunkType p_331982_, ChunkStatus.GenerationTask p_331350_, ChunkStatus.LoadingTask p_331071_) -
getStatusList
-
getStatusAroundFullChunk
-
maxDistance
public static int maxDistance() -
getDistance
-
getIndex
public int getIndex() -
getParent
-
generate
public CompletableFuture<ChunkAccess> generate(WorldGenContext p_330418_, Executor p_331595_, ToFullChunk p_330877_, List<ChunkAccess> p_331519_) -
load
public CompletableFuture<ChunkAccess> load(WorldGenContext p_331669_, ToFullChunk p_332161_, ChunkAccess p_330578_) -
getRange
public int getRange() -
hasLoadDependencies
public boolean hasLoadDependencies() -
getChunkType
-
byName
-
heightmapsAfter
-
isOrAfter
-
toString
-