类 ChunkManager

    • 构造器详细资料

      • ChunkManager

        public ChunkManager()
    • 方法详细资料

      • getWorldChunk

        @Nullable
        public @Nullable WorldChunk getWorldChunk​(int chunkX,
                                                  int chunkZ,
                                                  boolean create)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(IIZ)Lclv;
        intermediary method_12126 Lnet/minecraft/class_2802;method_12126(IIZ)Lnet/minecraft/class_2818;
        named getWorldChunk Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(IIZ)Lnet/minecraft/world/chunk/WorldChunk;
      • getWorldChunk

        @Nullable
        public @Nullable WorldChunk getWorldChunk​(int chunkX,
                                                  int chunkZ)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(II)Lclv;
        intermediary method_21730 Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;
        named getWorldChunk Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;
      • getChunk

        @Nullable
        public @Nullable BlockView getChunk​(int chunkX,
                                            int chunkZ)
        指定者:
        getChunk 在接口中 ChunkProvider
        Mappings:
        Namespace Name Mixin selector
        official c Lclx;c(II)Lbuv;
        intermediary method_12246 Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_1922;
        named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/BlockView;
      • isChunkLoaded

        public boolean isChunkLoaded​(int x,
                                     int z)
        Mappings:
        Namespace Name Mixin selector
        official b Lcln;b(II)Z
        intermediary method_12123 Lnet/minecraft/class_2802;method_12123(II)Z
        named isChunkLoaded Lnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Z
      • getChunk

        @Nullable
        public abstract @Nullable Chunk getChunk​(int x,
                                                 int z,
                                                 ChunkStatus leastStatus,
                                                 boolean create)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(IILclo;Z)Lclk;
        intermediary method_12121 Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
        named getChunk Lnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
      • tick

        public abstract void tick​(BooleanSupplier booleanSupplier)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(Ljava/util/function/BooleanSupplier;)V
        intermediary method_12127 Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;)V
        named tick Lnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;)V
      • getDebugString

        public abstract String getDebugString()
        Mappings:
        Namespace Name Mixin selector
        official e Lcln;e()Ljava/lang/String;
        intermediary method_12122 Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;
        named getDebugString Lnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;
      • getLoadedChunkCount

        public abstract int getLoadedChunkCount()
        Mappings:
        Namespace Name Mixin selector
        official h Lcln;h()I
        intermediary method_14151 Lnet/minecraft/class_2802;method_14151()I
        named getLoadedChunkCount Lnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()I
      • close

        public void close()
                   throws IOException
        指定者:
        close 在接口中 AutoCloseable
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official close Lcln;close()V
        intermediary close Lnet/minecraft/class_2802;close()V
        named close Lnet/minecraft/world/chunk/ChunkManager;close()V
      • getLightingProvider

        public abstract LightingProvider getLightingProvider()
        Mappings:
        Namespace Name Mixin selector
        official l Lcln;l()Lddj;
        intermediary method_12130 Lnet/minecraft/class_2802;method_12130()Lnet/minecraft/class_3568;
        named getLightingProvider Lnet/minecraft/world/chunk/ChunkManager;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
      • setMobSpawnOptions

        public void setMobSpawnOptions​(boolean spawnMonsters,
                                       boolean spawnAnimals)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(ZZ)V
        intermediary method_12128 Lnet/minecraft/class_2802;method_12128(ZZ)V
        named setMobSpawnOptions Lnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(ZZ)V
      • setChunkForced

        public void setChunkForced​(ChunkPos pos,
                                   boolean forced)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(Lbuw;Z)V
        intermediary method_12124 Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)V
        named setChunkForced Lnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)V
      • shouldTickChunk

        public boolean shouldTickChunk​(ChunkPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(Lbuw;)Z
        intermediary method_20591 Lnet/minecraft/class_2802;method_20591(Lnet/minecraft/class_1923;)Z
        named shouldTickChunk Lnet/minecraft/world/chunk/ChunkManager;shouldTickChunk(Lnet/minecraft/util/math/ChunkPos;)Z
      • shouldTickBlock

        public boolean shouldTickBlock​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lcln;a(Lgb;)Z
        intermediary method_20529 Lnet/minecraft/class_2802;method_20529(Lnet/minecraft/class_2338;)Z
        named shouldTickBlock Lnet/minecraft/world/chunk/ChunkManager;shouldTickBlock(Lnet/minecraft/util/math/BlockPos;)Z