类 ServerChunkManagerMixin

java.lang.Object
net.minecraft.world.chunk.ChunkManager
cn.korostudio.c3h6n6o6.mixin.ServerChunkManagerMixin
所有已实现的接口:
AutoCloseable, net.minecraft.world.chunk.ChunkProvider

public abstract class ServerChunkManagerMixin extends net.minecraft.world.chunk.ChunkManager
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private net.minecraft.world.chunk.Chunk[]
     
    private long[]
     
    private net.minecraft.world.chunk.ChunkStatus[]
     
    net.minecraft.server.world.ServerChunkManager.MainThreadExecutor
     
    (专用程序包) net.minecraft.server.world.ServerWorld
     
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private void
    fixThread (int x, int z, net.minecraft.world.chunk.ChunkStatus leastStatus, boolean create, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.chunk.Chunk> cir)
     
    protected abstract CompletableFuture<com.mojang.datafixers.util.Either<net.minecraft.world.chunk.Chunk, net.minecraft.server.world.ChunkHolder.Unloaded>>
    getChunkFuture (int chunkX, int chunkZ, net.minecraft.world.chunk.ChunkStatus leastStatus, boolean create)
     
    private Thread
    overwriteServerThread (net.minecraft.server.world.ServerChunkManager mgr)
     
    protected abstract void
    putInCache (long pos, net.minecraft.world.chunk.Chunk chunk, net.minecraft.world.chunk.ChunkStatus status)
     

    从类继承的方法 net.minecraft.world.chunk.ChunkManager

    close, getChunk, getChunk, getDebugString, getLightingProvider, getLoadedChunkCount, getWorldChunk, getWorldChunk, isChunkLoaded, setChunkForced, setMobSpawnOptions, tick

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 net.minecraft.world.chunk.ChunkProvider

    getWorld, onLightUpdate
  • 字段详细资料

    • mainThreadExecutor

      public net.minecraft.server.world.ServerChunkManager.MainThreadExecutor mainThreadExecutor
    • world

      net.minecraft.server.world.ServerWorld world
    • chunkStatusCache

      private net.minecraft.world.chunk.ChunkStatus[] chunkStatusCache
    • chunkPosCache

      private long[] chunkPosCache
    • chunkCache

      private net.minecraft.world.chunk.Chunk[] chunkCache
  • 构造器详细资料

    • ServerChunkManagerMixin

      public ServerChunkManagerMixin()
  • 方法详细资料

    • putInCache

      protected abstract void putInCache (long pos, net.minecraft.world.chunk.Chunk chunk, net.minecraft.world.chunk.ChunkStatus status)
    • getChunkFuture

      protected abstract CompletableFuture<com.mojang.datafixers.util.Either<net.minecraft.world.chunk.Chunk,net.minecraft.server.world.ChunkHolder.Unloaded>> getChunkFuture (int chunkX, int chunkZ, net.minecraft.world.chunk.ChunkStatus leastStatus, boolean create)
    • overwriteServerThread

      private Thread overwriteServerThread (net.minecraft.server.world.ServerChunkManager mgr)
    • fixThread

      private void fixThread (int x, int z, net.minecraft.world.chunk.ChunkStatus leastStatus, boolean create, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.chunk.Chunk> cir)