Uses of Class
net.minecraft.world.level.chunk.LevelChunk
Packages that use LevelChunk
Package
Description
-
Uses of LevelChunk in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as LevelChunkFields in net.minecraft.client.gui.components with type parameters of type LevelChunkModifier and TypeFieldDescriptionprivate CompletableFuture
<LevelChunk> DebugScreenOverlay.serverChunk
Methods in net.minecraft.client.gui.components that return LevelChunkModifier and TypeMethodDescriptionprivate LevelChunk
DebugScreenOverlay.getClientChunk()
private LevelChunk
DebugScreenOverlay.getServerChunk()
-
Uses of LevelChunk in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as LevelChunkFields in net.minecraft.client.multiplayer with type parameters of type LevelChunkModifier and TypeFieldDescription(package private) final AtomicReferenceArray
<LevelChunk> ClientChunkCache.Storage.chunks
Methods in net.minecraft.client.multiplayer that return LevelChunkModifier and TypeMethodDescriptionClientChunkCache.getChunk
(int pX, int pZ, ChunkStatus pChunkStatus, boolean pRequireChunk) protected LevelChunk
ClientChunkCache.Storage.getChunk
(int pChunkIndex) ClientChunkCache.replaceWithPacketData
(int pX, int pZ, FriendlyByteBuf pReadBuffer, Map<Heightmap.Types, long[]> pHeightmaps, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> pConsumer) Methods in net.minecraft.client.multiplayer with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate void
ClientChunkCache.Storage.addEmptySections
(LevelChunk pChunk) (package private) void
ClientChunkCache.Storage.drop
(int pChunkIndex, LevelChunk pChunk) private void
ClientChunkCache.Storage.dropEmptySections
(LevelChunk pChunk) private void
ClientPacketListener.enableChunkLight
(LevelChunk pChunk, int pX, int pZ) private static boolean
ClientChunkCache.isValidChunk
(LevelChunk pChunk, int pX, int pZ) (package private) void
ClientChunkCache.Storage.refreshEmptySections
(LevelChunk pChunk) (package private) void
ClientChunkCache.Storage.replace
(int pChunkIndex, LevelChunk pChunk) void
ClientLevel.unload
(LevelChunk pChunk) -
Uses of LevelChunk in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as LevelChunkConstructors in net.minecraft.client.renderer.chunk with parameters of type LevelChunkModifierConstructorDescription(package private)
SectionCopy
(LevelChunk pChunk, int pSectionIndex) -
Uses of LevelChunk in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate static int
ClientboundChunksBiomesPacket.ChunkBiomeData.calculateChunkSize
(LevelChunk pChunk) private static int
ClientboundLevelChunkPacketData.calculateChunkSize
(LevelChunk pChunk) static void
ClientboundChunksBiomesPacket.ChunkBiomeData.extractChunkData
(FriendlyByteBuf pBuffer, LevelChunk pChunk) static void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf pBuffer, LevelChunk pChunk) Method parameters in net.minecraft.network.protocol.game with type arguments of type LevelChunkModifier and TypeMethodDescriptionClientboundChunksBiomesPacket.forChunks
(List<LevelChunk> pChunks) Constructors in net.minecraft.network.protocol.game with parameters of type LevelChunkModifierConstructorDescriptionChunkBiomeData
(LevelChunk p_275569_) ClientboundLevelChunkPacketData
(LevelChunk pLevelChunk) ClientboundLevelChunkWithLightPacket
(LevelChunk pChunk, LevelLightEngine pLightEngine, BitSet pSkyLight, BitSet pBlockLight) -
Uses of LevelChunk in net.minecraft.server.level
Fields in net.minecraft.server.level declared as LevelChunkFields in net.minecraft.server.level with type parameters of type LevelChunkModifier and TypeFieldDescriptionprivate CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.entityTickingChunkFuture
A future that returns the chunk if it is an entity ticking chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.fullChunkFuture
A future that returns the chunk if it is a border chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
private final List
<LevelChunk> ServerChunkCache.spawningChunks
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.tickingChunkFuture
A future that returns the chunk if it is a ticking chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
static final ChunkResult
<LevelChunk> ChunkHolder.UNLOADED_LEVEL_CHUNK
private static final CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.UNLOADED_LEVEL_CHUNK_FUTURE
Methods in net.minecraft.server.level that return LevelChunkModifier and TypeMethodDescriptionServerChunkCache.getChunkNow
(int pChunkX, int pChunkZ) ChunkHolder.getChunkToSend()
ChunkMap.getChunkToSend
(long pChunkPos) ChunkHolder.getTickingChunk()
Methods in net.minecraft.server.level that return types with arguments of type LevelChunkModifier and TypeMethodDescriptionChunkHolder.getEntityTickingChunkFuture()
ChunkHolder.getFullChunkFuture()
ChunkHolder.getTickingChunkFuture()
ChunkMap.prepareAccessibleChunk
(ChunkHolder pChunk) ChunkMap.prepareEntityTickingChunk
(ChunkHolder pChunk) ChunkMap.prepareTickingChunk
(ChunkHolder pHolder) Methods in net.minecraft.server.level with parameters of type LevelChunkModifier and TypeMethodDescriptionvoid
ChunkHolder.broadcastChanges
(LevelChunk pChunk) private static void
ChunkMap.markChunkPendingToSend
(ServerPlayer pPlayer, LevelChunk pChunk) private void
ChunkMap.onChunkReadyToSend
(ChunkHolder pChunkHolder, LevelChunk pChunk) void
ServerLevel.startTickingChunk
(LevelChunk pChunk) void
ServerLevel.tickChunk
(LevelChunk pChunk, int pRandomTickSpeed) private void
ServerChunkCache.tickSpawningChunk
(LevelChunk pChunk, long pTimeInhabited, List<MobCategory> pSpawnCategories, NaturalSpawner.SpawnState pSpawnState) void
ServerLevel.tickThunder
(LevelChunk pChunk) void
ServerLevel.unload
(LevelChunk pChunk) Method parameters in net.minecraft.server.level with type arguments of type LevelChunkModifier and TypeMethodDescription(package private) void
ChunkMap.collectForceTickingChunks
(List<LevelChunk> list) (package private) void
ChunkMap.collectSpawningChunks
(List<LevelChunk> pOutput) (package private) void
ChunkMap.forEachBlockTickingChunk
(Consumer<LevelChunk> pAction) private void
ServerChunkCache.getFullChunk
(long p_8371_, Consumer<LevelChunk> p_8372_) private static String
ChunkMap.printFuture
(CompletableFuture<ChunkResult<LevelChunk>> pFuture) private void
ChunkHolder.scheduleFullChunkPromotion
(ChunkMap pChunkMap, CompletableFuture<ChunkResult<LevelChunk>> pFuture, Executor pExecutor, FullChunkStatus pFullChunkStatus) -
Uses of LevelChunk in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type LevelChunkModifier and TypeMethodDescriptionprivate List
<LevelChunk> PlayerChunkSender.collectChunksToSend
(ChunkMap pChunkMap, ChunkPos pChunkPos) Methods in net.minecraft.server.network with parameters of type LevelChunkModifier and TypeMethodDescriptionvoid
PlayerChunkSender.markChunkPendingToSend
(LevelChunk pChunk) private static void
PlayerChunkSender.sendChunk
(ServerGamePacketListenerImpl pPacketListener, ServerLevel pLevel, LevelChunk pChunk) -
Uses of LevelChunk in net.minecraft.world.level
Methods in net.minecraft.world.level that return LevelChunkModifier and TypeMethodDescriptionLevel.getChunk
(int pChunkX, int pChunkZ) Level.getChunkAt
(BlockPos pPos) Methods in net.minecraft.world.level with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate static BlockPos
NaturalSpawner.getRandomPosWithin
(Level pLevel, LevelChunk pChunk) void
Level.markAndNotifyBlock
(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_) static void
NaturalSpawner.spawnCategoryForChunk
(MobCategory pCategory, ServerLevel pLevel, LevelChunk pChunk, NaturalSpawner.SpawnPredicate pFilter, NaturalSpawner.AfterSpawnCallback pCallback) static void
NaturalSpawner.spawnForChunk
(ServerLevel pLevel, LevelChunk pChunk, NaturalSpawner.SpawnState pSpawnState, List<MobCategory> pCategories) Method parameters in net.minecraft.world.level with type arguments of type LevelChunkModifier and TypeMethodDescriptionvoid
NaturalSpawner.ChunkGetter.query
(long pChunkPos, Consumer<LevelChunk> pChunkConsumer) -
Uses of LevelChunk in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return LevelChunkMethods in net.minecraft.world.level.block.entity with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate static BlockPos
TheEndGatewayBlockEntity.findValidSpawnInChunk
(LevelChunk pChunk) -
Uses of LevelChunk in net.minecraft.world.level.chunk
Subclasses of LevelChunk in net.minecraft.world.level.chunkFields in net.minecraft.world.level.chunk declared as LevelChunkMethods in net.minecraft.world.level.chunk that return LevelChunkModifier and TypeMethodDescriptionChunkSource.getChunk
(int pChunkX, int pChunkZ, boolean pLoad) ChunkSource.getChunkNow
(int pChunkX, int pChunkZ) ImposterProtoChunk.getWrapped()
Methods in net.minecraft.world.level.chunk with parameters of type LevelChunkModifier and TypeMethodDescriptionvoid
LevelChunk.PostLoadProcessor.run
(LevelChunk pChunk) void
UpgradeData.upgrade
(LevelChunk pChunk) private void
UpgradeData.upgradeInside
(LevelChunk pChunk) private static void
UpgradeData.upgradeSides
(LevelChunk pChunk, Direction8 pSide) Constructors in net.minecraft.world.level.chunk with parameters of type LevelChunk -
Uses of LevelChunk in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world declared as LevelChunkConstructors in net.neoforged.neoforge.common.world with parameters of type LevelChunk -
Uses of LevelChunk in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type LevelChunkModifier and TypeMethodDescriptionstatic void
EventHooks.fireChunkSent
(ServerPlayer entity, LevelChunk chunk, ServerLevel level) static void
EventHooks.fireChunkWatch
(ServerPlayer entity, LevelChunk chunk, ServerLevel level) -
Uses of LevelChunk in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as LevelChunkModifier and TypeFieldDescriptionprivate final LevelChunk
ChunkWatchEvent.Sent.chunk
private final LevelChunk
ChunkWatchEvent.Watch.chunk
Methods in net.neoforged.neoforge.event.level that return LevelChunkModifier and TypeMethodDescriptionChunkWatchEvent.Sent.getChunk()
ChunkWatchEvent.Watch.getChunk()
Constructors in net.neoforged.neoforge.event.level with parameters of type LevelChunkModifierConstructorDescriptionLoad
(LevelChunk chunk, boolean newChunk) Sent
(ServerPlayer player, LevelChunk chunk, ServerLevel level) Unload
(LevelChunk chunk) Watch
(ServerPlayer player, LevelChunk chunk, ServerLevel level)