Package net.minecraft.world.level.chunk
Class ChunkStatus
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<ChunkStatus>
net.minecraft.world.level.chunk.ChunkStatus
- All Implemented Interfaces:
IForgeRegistryEntry<ChunkStatus>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static interface
(package private) static interface
(package private) static interface
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic ChunkStatus
static ChunkStatus
private ChunkStatus.ChunkType
static ChunkStatus
static ChunkStatus
static ChunkStatus
private ChunkStatus.GenerationTask
static ChunkStatus
private EnumSet<Heightmap.Types>
private int
static ChunkStatus
static ChunkStatus
private ChunkStatus.LoadingTask
private String
static ChunkStatus
private ChunkStatus
private static ChunkStatus.LoadingTask
private static EnumSet<Heightmap.Types>
private static EnumSet<Heightmap.Types>
private int
private static it.unimi.dsi.fastutil.ints.IntList
static ChunkStatus
private static List<ChunkStatus>
static ChunkStatus
static ChunkStatus
static ChunkStatus
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
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_156213_, ServerLevel p_156214_, ChunkGenerator p_156215_, StructureManager p_156216_, ThreadedLevelLightEngine p_156217_, Function<ChunkAccess,CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>>> p_156218_, List<ChunkAccess> p_156219_)
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_62365_, StructureManager p_62366_, ThreadedLevelLightEngine p_62367_, Function<ChunkAccess,CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>>> p_62368_, ChunkAccess p_62369_)
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()
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_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_156213_, ServerLevel p_156214_, ChunkGenerator p_156215_, StructureManager p_156216_, ThreadedLevelLightEngine p_156217_, Function<ChunkAccess,CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>>> p_156218_, List<ChunkAccess> p_156219_) -
load
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>> load(ServerLevel p_62365_, StructureManager p_62366_, ThreadedLevelLightEngine p_62367_, Function<ChunkAccess,CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,ChunkHolder.ChunkLoadingFailure>>> p_62368_, ChunkAccess p_62369_) -
getRange
public int getRange() -
getChunkType
-
byName
-
heightmapsAfter
-
isOrAfter
-
toString
-