Package net.minecraft.world.chunk
Class ChunkStatus
- All Implemented Interfaces:
IForgeRegistryEntry<ChunkStatus>
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
(package private) static interface
(package private) static interface
static enum
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ChunkStatus
static final ChunkStatus
private final ChunkStatus.Type
static final ChunkStatus
static final ChunkStatus
static final ChunkStatus
private final ChunkStatus.IGenerationWorker
static final ChunkStatus
private final EnumSet<Heightmap.Type>
private final int
static final ChunkStatus
static final ChunkStatus
private final ChunkStatus.ILoadingWorker
private final String
static final ChunkStatus
private final ChunkStatus
private static final ChunkStatus.ILoadingWorker
private static final EnumSet<Heightmap.Type>
private static final EnumSet<Heightmap.Type>
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
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionChunkStatus
(String p_i51520_1_, ChunkStatus p_i51520_2_, int p_i51520_3_, EnumSet<Heightmap.Type> p_i51520_4_, ChunkStatus.Type p_i51520_5_, ChunkStatus.IGenerationWorker p_i51520_6_, ChunkStatus.ILoadingWorker p_i51520_7_) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkStatus
CompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> generate
(ServerWorld p_223198_1_, ChunkGenerator p_223198_2_, TemplateManager p_223198_3_, ServerWorldLightManager p_223198_4_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_223198_5_, List<IChunk> p_223198_6_) static int
getDistance
(ChunkStatus p_222599_0_) int
getIndex()
getName()
int
getRange()
static ChunkStatus
getStatus
(int p_222581_0_) static List<ChunkStatus>
private static boolean
isLighted
(ChunkStatus p_223197_0_, IChunk p_223197_1_) boolean
isOrAfter
(ChunkStatus p_209003_1_) private static CompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> lightChunk
(ChunkStatus p_223206_0_, ServerWorldLightManager p_223206_1_, IChunk p_223206_2_) CompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> load
(ServerWorld p_223201_1_, TemplateManager p_223201_2_, ServerWorldLightManager p_223201_3_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_223201_4_, IChunk p_223201_5_) static int
private static ChunkStatus
register
(String p_223207_0_, ChunkStatus p_223207_1_, int p_223207_2_, EnumSet<Heightmap.Type> p_223207_3_, ChunkStatus.Type p_223207_4_, ChunkStatus.IGenerationWorker p_223207_5_) private static ChunkStatus
register
(String p_223196_0_, ChunkStatus p_223196_1_, int p_223196_2_, EnumSet<Heightmap.Type> p_223196_3_, ChunkStatus.Type p_223196_4_, ChunkStatus.IGenerationWorker p_223196_5_, ChunkStatus.ILoadingWorker p_223196_6_) private static ChunkStatus
registerSimple
(String p_223203_0_, ChunkStatus p_223203_1_, int p_223203_2_, EnumSet<Heightmap.Type> p_223203_3_, ChunkStatus.Type p_223203_4_, ChunkStatus.ISelectiveWorker p_223203_5_) toString()
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
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_i51520_1_, @Nullable ChunkStatus p_i51520_2_, int p_i51520_3_, EnumSet<Heightmap.Type> p_i51520_4_, ChunkStatus.Type p_i51520_5_, ChunkStatus.IGenerationWorker p_i51520_6_, ChunkStatus.ILoadingWorker p_i51520_7_)
-
-
Method Details
-
lightChunk
private static CompletableFuture<com.mojang.datafixers.util.Either<IChunk,ChunkHolder.IChunkLoadingError>> lightChunk(ChunkStatus p_223206_0_, ServerWorldLightManager p_223206_1_, IChunk p_223206_2_) -
registerSimple
private static ChunkStatus registerSimple(String p_223203_0_, @Nullable ChunkStatus p_223203_1_, int p_223203_2_, EnumSet<Heightmap.Type> p_223203_3_, ChunkStatus.Type p_223203_4_, ChunkStatus.ISelectiveWorker p_223203_5_) -
register
private static ChunkStatus register(String p_223207_0_, @Nullable ChunkStatus p_223207_1_, int p_223207_2_, EnumSet<Heightmap.Type> p_223207_3_, ChunkStatus.Type p_223207_4_, ChunkStatus.IGenerationWorker p_223207_5_) -
register
private static ChunkStatus register(String p_223196_0_, @Nullable ChunkStatus p_223196_1_, int p_223196_2_, EnumSet<Heightmap.Type> p_223196_3_, ChunkStatus.Type p_223196_4_, ChunkStatus.IGenerationWorker p_223196_5_, ChunkStatus.ILoadingWorker p_223196_6_) -
getStatusList
-
isLighted
-
getStatus
-
maxDistance
public static int maxDistance() -
getDistance
-
getIndex
public int getIndex() -
getName
-
getParent
-
generate
public CompletableFuture<com.mojang.datafixers.util.Either<IChunk,ChunkHolder.IChunkLoadingError>> generate(ServerWorld p_223198_1_, ChunkGenerator p_223198_2_, TemplateManager p_223198_3_, ServerWorldLightManager p_223198_4_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_223198_5_, List<IChunk> p_223198_6_) -
load
public CompletableFuture<com.mojang.datafixers.util.Either<IChunk,ChunkHolder.IChunkLoadingError>> load(ServerWorld p_223201_1_, TemplateManager p_223201_2_, ServerWorldLightManager p_223201_3_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_223201_4_, IChunk p_223201_5_) -
getRange
public int getRange() -
getChunkType
-
byName
-
heightmapsAfter
-
isOrAfter
-
toString
-