Uses of Class
net.minecraft.world.chunk.WorldChunk
-
Uses of WorldChunk in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return WorldChunk Modifier and Type Method Description private static WorldChunkEndGatewayBlockEntity. getChunk(World world, Vec3d pos)Methods in net.minecraft.block.entity with parameters of type WorldChunk Modifier and Type Method Description private static @Nullable BlockPosEndGatewayBlockEntity. findPortalPosition(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as WorldChunk Modifier and Type Field Description private @Nullable WorldChunkDebugHud. chunkFields in net.minecraft.client.gui.hud with type parameters of type WorldChunk Modifier and Type Field Description private @Nullable CompletableFuture<WorldChunk>DebugHud. chunkFutureMethods in net.minecraft.client.gui.hud that return WorldChunk Modifier and Type Method Description private @Nullable WorldChunkDebugHud. getChunk()private WorldChunkDebugHud. getClientChunk() -
Uses of WorldChunk in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as WorldChunk Modifier and Type Field Description protected WorldChunk[][]ChunkRendererRegion. chunksMethods in net.minecraft.client.render.chunk with parameters of type WorldChunk Modifier and Type Method Description static booleanChunkRendererRegion. method_30000(BlockPos blockPos, BlockPos blockPos2, int int2, int int3, WorldChunk[][] worldChunk)Constructors in net.minecraft.client.render.chunk with parameters of type WorldChunk Constructor Description ChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos) -
Uses of WorldChunk in net.minecraft.client.world
Fields in net.minecraft.client.world declared as WorldChunk Modifier and Type Field Description private WorldChunkClientChunkManager. emptyChunkFields in net.minecraft.client.world with type parameters of type WorldChunk Modifier and Type Field Description private AtomicReferenceArray<WorldChunk>ClientChunkManager.ClientChunkMap. chunksMethods in net.minecraft.client.world that return WorldChunk Modifier and Type Method Description protected WorldChunkClientChunkManager.ClientChunkMap. compareAndSet(int index, WorldChunk expect, @Nullable WorldChunk update)protected @Nullable WorldChunkClientChunkManager.ClientChunkMap. getChunk(int index)@Nullable WorldChunkClientChunkManager. getChunk(int int2, int int3, ChunkStatus chunkStatus, boolean bool)@Nullable WorldChunkClientChunkManager. loadChunkFromPacket(int x, int z, BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet bitSet)Methods in net.minecraft.client.world with parameters of type WorldChunk Modifier and Type Method Description protected WorldChunkClientChunkManager.ClientChunkMap. compareAndSet(int index, WorldChunk expect, @Nullable WorldChunk update)private static booleanClientChunkManager. positionEquals(@Nullable WorldChunk chunk, int x, int z)protected voidClientChunkManager.ClientChunkMap. set(int index, @Nullable WorldChunk chunk)voidClientWorld. unloadBlockEntities(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play with parameters of type WorldChunk Modifier and Type Method Description protected intChunkDataS2CPacket. getDataSize(WorldChunk chunk)BitSetChunkDataS2CPacket. writeData(PacketByteBuf buf, WorldChunk chunk)Constructors in net.minecraft.network.packet.s2c.play with parameters of type WorldChunk Constructor Description ChunkDataS2CPacket(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.server.world
Fields in net.minecraft.server.world with type parameters of type WorldChunk Modifier and Type Field Description private CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ChunkHolder. accessibleFutureprivate CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ChunkHolder. entityTickingFutureprivate CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ChunkHolder. tickingFuturestatic com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>ChunkHolder. UNLOADED_WORLD_CHUNKprivate static CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ChunkHolder. UNLOADED_WORLD_CHUNK_FUTUREMethods in net.minecraft.server.world that return WorldChunk Modifier and Type Method Description @Nullable WorldChunkChunkHolder. getWorldChunk()@Nullable WorldChunkServerChunkManager. getWorldChunk(int chunkX, int chunkZ)Methods in net.minecraft.server.world that return types with arguments of type WorldChunk Modifier and Type Method Description CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ChunkHolder. getAccessibleFuture()CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ChunkHolder. getEntityTickingFuture()CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ChunkHolder. getTickingFuture()CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ThreadedAnvilChunkStorage. makeChunkEntitiesTickable(ChunkPos pos)CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ThreadedAnvilChunkStorage. makeChunkTickable(ChunkHolder holder)CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>ThreadedAnvilChunkStorage. method_31417(ChunkHolder chunkHolder)Methods in net.minecraft.server.world with parameters of type WorldChunk Modifier and Type Method Description CompletableFuture<Void>ThreadedAnvilChunkStorage. enableTickSchedulers(WorldChunk worldChunk)voidChunkHolder. flushUpdates(WorldChunk chunk)private voidThreadedAnvilChunkStorage. sendChunkDataPackets(ServerPlayerEntity player, Packet<?>[] packets, WorldChunk chunk)voidServerWorld. tickChunk(WorldChunk chunk, int randomTickSpeed)voidServerWorld. unloadEntities(WorldChunk chunk)Method parameters in net.minecraft.server.world with type arguments of type WorldChunk Modifier and Type Method Description private static StringThreadedAnvilChunkStorage. getFutureStatus(CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> completableFuture)private voidServerChunkManager. ifChunkLoaded(long pos, Consumer<WorldChunk> chunkConsumer)private booleanServerChunkManager. isFutureReady(long pos, Function<ChunkHolder,CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>> futureFunction)private voidChunkHolder. method_31409(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> completableFuture, Executor executor, ChunkHolder.LevelType levelType) -
Uses of WorldChunk in net.minecraft.world
Methods in net.minecraft.world that return WorldChunk Modifier and Type Method Description WorldChunkWorld. getChunk(int int2, int int3)WorldChunkWorld. getWorldChunk(BlockPos pos)Methods in net.minecraft.world with parameters of type WorldChunk Modifier and Type Method Description private static BlockPosSpawnHelper. getSpawnPos(World world, WorldChunk chunk)private static voidChunkSerializer. loadEntities(ServerWorld world, NbtCompound nbt, WorldChunk chunk)static voidSpawnHelper. spawn(ServerWorld world, WorldChunk chunk, SpawnHelper.Info info, boolean spawnAnimals, boolean spawnMonsters, boolean rareSpawn)static voidSpawnHelper. spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, WorldChunk chunk, SpawnHelper.Checker checker, SpawnHelper.Runner runner)Method parameters in net.minecraft.world with type arguments of type WorldChunk Modifier and Type Method Description voidSpawnHelper.ChunkSource. query(long pos, Consumer<WorldChunk> chunkConsumer) -
Uses of WorldChunk in net.minecraft.world.chunk
Subclasses of WorldChunk in net.minecraft.world.chunk Modifier and Type Class Description classEmptyChunkFields in net.minecraft.world.chunk declared as WorldChunk Modifier and Type Field Description private WorldChunkReadOnlyChunk. wrappedFields in net.minecraft.world.chunk with type parameters of type WorldChunk Modifier and Type Field Description private @Nullable Consumer<WorldChunk>WorldChunk. loadToWorldConsumerMethods in net.minecraft.world.chunk that return WorldChunk Modifier and Type Method Description @Nullable WorldChunkChunkManager. getWorldChunk(int chunkX, int chunkZ)@Nullable WorldChunkChunkManager. getWorldChunk(int chunkX, int chunkZ, boolean create)WorldChunkReadOnlyChunk. getWrappedChunk()Methods in net.minecraft.world.chunk with parameters of type WorldChunk Modifier and Type Method Description voidUpgradeData. upgrade(WorldChunk chunk)private voidUpgradeData. upgradeCenter(WorldChunk chunk)private static voidUpgradeData. upgradeSide(WorldChunk chunk, EightWayDirection side)Constructors in net.minecraft.world.chunk with parameters of type WorldChunk Constructor Description ReadOnlyChunk(WorldChunk wrapped)Constructor parameters in net.minecraft.world.chunk with type arguments of type WorldChunk Constructor Description WorldChunk(ServerWorld serverWorld, ProtoChunk protoChunk, @Nullable Consumer<WorldChunk> consumer)WorldChunk(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sections, @Nullable Consumer<WorldChunk> loadToWorldConsumer)