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) protected LevelChunk
ClientChunkCache.Storage.replace
(int pChunkIndex, LevelChunk pChunk, LevelChunk pReplaceWith) ClientChunkCache.replaceWithPacketData
(int pX, int pZ, FriendlyByteBuf pBuffer, CompoundTag pTag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> pConsumer) Methods in net.minecraft.client.multiplayer with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate void
ClientPacketListener.enableChunkLight
(LevelChunk pChunk, int pX, int pZ) private static boolean
ClientChunkCache.isValidChunk
(LevelChunk pChunk, int pX, int pZ) protected void
ClientChunkCache.Storage.replace
(int pChunkIndex, LevelChunk pChunk) protected LevelChunk
ClientChunkCache.Storage.replace
(int pChunkIndex, LevelChunk pChunk, LevelChunk pReplaceWith) void
ClientLevel.unload
(LevelChunk pChunk) -
Uses of LevelChunk in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as LevelChunkModifier and TypeFieldDescriptionprivate final LevelChunk
RenderRegionCache.ChunkInfo.chunk
(package private) final LevelChunk
RenderChunk.wrapped
Methods in net.minecraft.client.renderer.chunk that return LevelChunkConstructors in net.minecraft.client.renderer.chunk with parameters of type LevelChunkModifierConstructorDescription(package private)
ChunkInfo
(LevelChunk pChunk) (package private)
RenderChunk
(LevelChunk pWrapped) -
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 LevelChunkModifier and TypeFieldDescriptionprivate final LevelChunk
ServerChunkCache.ChunkAndHolder.chunk
The field for thechunk
record component.GenerationChunkHolder.currentlyLoading
Fields 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 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.ChunkAndHolder.chunk()
Returns the value of thechunk
record component.ServerChunkCache.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 pHolder) 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
(LevelChunk pChunk) void
ServerLevel.startTickingChunk
(LevelChunk pChunk) void
ServerLevel.tickChunk
(LevelChunk pChunk, int pRandomTickSpeed) void
ServerLevel.unload
(LevelChunk pChunk) Method parameters in net.minecraft.server.level with type arguments of type LevelChunkModifier and TypeMethodDescriptionprivate 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) Constructors in net.minecraft.server.level with parameters of type LevelChunkModifierConstructorDescription(package private)
ChunkAndHolder
(LevelChunk chunk, ChunkHolder holder) Creates an instance of aChunkAndHolder
record class. -
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, boolean pSpawnFriendlies, boolean pSpawnMonsters, boolean pForcedDespawn) 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 LevelChunkModifierConstructorDescriptionSent
(ServerPlayer player, LevelChunk chunk, ServerLevel level) Watch
(ServerPlayer player, LevelChunk chunk, ServerLevel level)