类的使用
net.minecraft.world.chunk.WorldChunk
-
-
net.minecraft.block.entity中WorldChunk的使用
返回WorldChunk的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 private static WorldChunkEndGatewayBlockEntity. getChunk(World world, Vec3d pos)参数类型为WorldChunk的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 private static @Nullable BlockPosEndGatewayBlockEntity. findPortalPosition(WorldChunk chunk) -
net.minecraft.client.gui.hud中WorldChunk的使用
声明为WorldChunk的net.minecraft.client.gui.hud中的字段 修饰符和类型 字段 说明 private @Nullable WorldChunkDebugHud. chunk类型参数类型为WorldChunk的net.minecraft.client.gui.hud中的字段 修饰符和类型 字段 说明 private @Nullable CompletableFuture<WorldChunk>DebugHud. chunkFuture返回WorldChunk的net.minecraft.client.gui.hud中的方法 修饰符和类型 方法 说明 private @Nullable WorldChunkDebugHud. getChunk()private WorldChunkDebugHud. getClientChunk() -
net.minecraft.client.render.chunk中WorldChunk的使用
声明为WorldChunk的net.minecraft.client.render.chunk中的字段 修饰符和类型 字段 说明 protected WorldChunk[][]ChunkRendererRegion. chunks参数类型为WorldChunk的net.minecraft.client.render.chunk中的方法 修饰符和类型 方法 说明 static booleanChunkRendererRegion. method_30000(BlockPos blockPos, BlockPos blockPos2, int int2, int int3, WorldChunk[][] worldChunk)参数类型为WorldChunk的net.minecraft.client.render.chunk中的构造器 构造器 说明 ChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos) -
net.minecraft.client.world中WorldChunk的使用
声明为WorldChunk的net.minecraft.client.world中的字段 修饰符和类型 字段 说明 private WorldChunkClientChunkManager. emptyChunk类型参数类型为WorldChunk的net.minecraft.client.world中的字段 修饰符和类型 字段 说明 private AtomicReferenceArray<WorldChunk>ClientChunkManager.ClientChunkMap. chunks返回WorldChunk的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 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, CompoundTag nbt, BitSet bitSet)参数类型为WorldChunk的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.network.packet.s2c.play中WorldChunk的使用
参数类型为WorldChunk的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 protected intChunkDataS2CPacket. getDataSize(WorldChunk chunk)BitSetChunkDataS2CPacket. writeData(PacketByteBuf buf, WorldChunk chunk)参数类型为WorldChunk的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 ChunkDataS2CPacket(WorldChunk chunk) -
net.minecraft.server.world中WorldChunk的使用
类型参数类型为WorldChunk的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 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_FUTURE返回WorldChunk的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 @Nullable WorldChunkChunkHolder. getWorldChunk()@Nullable WorldChunkServerChunkManager. getWorldChunk(int chunkX, int chunkZ)返回变量类型为WorldChunk的类型的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 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)参数类型为WorldChunk的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 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)类型变量类型为WorldChunk的net.minecraft.server.world中的方法参数 修饰符和类型 方法 说明 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) -
net.minecraft.world中WorldChunk的使用
返回WorldChunk的net.minecraft.world中的方法 修饰符和类型 方法 说明 WorldChunkWorld. getChunk(int int2, int int3)WorldChunkWorld. getWorldChunk(BlockPos pos)参数类型为WorldChunk的net.minecraft.world中的方法 修饰符和类型 方法 说明 private static BlockPosSpawnHelper. getSpawnPos(World world, WorldChunk chunk)private static voidChunkSerializer. loadEntities(ServerWorld world, CompoundTag 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)类型变量类型为WorldChunk的net.minecraft.world中的方法参数 修饰符和类型 方法 说明 voidSpawnHelper.ChunkSource. query(long pos, Consumer<WorldChunk> chunkConsumer) -
net.minecraft.world.chunk中WorldChunk的使用
net.minecraft.world.chunk中WorldChunk的子类 修饰符和类型 类 说明 classEmptyChunk声明为WorldChunk的net.minecraft.world.chunk中的字段 修饰符和类型 字段 说明 private WorldChunkReadOnlyChunk. wrapped类型参数类型为WorldChunk的net.minecraft.world.chunk中的字段 修饰符和类型 字段 说明 private @Nullable Consumer<WorldChunk>WorldChunk. loadToWorldConsumer返回WorldChunk的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 @Nullable WorldChunkChunkManager. getWorldChunk(int chunkX, int chunkZ)@Nullable WorldChunkChunkManager. getWorldChunk(int chunkX, int chunkZ, boolean create)WorldChunkReadOnlyChunk. getWrappedChunk()参数类型为WorldChunk的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 voidUpgradeData. upgrade(WorldChunk chunk)private voidUpgradeData. upgradeCenter(WorldChunk chunk)private static voidUpgradeData. upgradeSide(WorldChunk chunk, EightWayDirection side)参数类型为WorldChunk的net.minecraft.world.chunk中的构造器 构造器 说明 ReadOnlyChunk(WorldChunk wrapped)类型变量类型为WorldChunk的net.minecraft.world.chunk中的构造器参数 构造器 说明 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)
-