类 ClientChunkManager.ClientChunkMap

  • 封闭类:
    ClientChunkManager

    @Environment(CLIENT)
    final class ClientChunkManager.ClientChunkMap
    extends Object
    Mappings:
    Namespace Name
    official ehv$a
    intermediary net/minecraft/class_631$class_3681
    named net/minecraft/client/world/ClientChunkManager$ClientChunkMap
    • 字段详细资料

      • chunks

        private final AtomicReferenceArray<WorldChunk> chunks
        Mappings:
        Namespace Name Mixin selector
        official b Lehv$a;b:Ljava/util/concurrent/atomic/AtomicReferenceArray;
        intermediary field_16251 Lnet/minecraft/class_631$class_3681;field_16251:Ljava/util/concurrent/atomic/AtomicReferenceArray;
        named chunks Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;chunks:Ljava/util/concurrent/atomic/AtomicReferenceArray;
      • radius

        private final int radius
        Mappings:
        Namespace Name Mixin selector
        official c Lehv$a;c:I
        intermediary field_16253 Lnet/minecraft/class_631$class_3681;field_16253:I
        named radius Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;radius:I
      • diameter

        private final int diameter
        Mappings:
        Namespace Name Mixin selector
        official d Lehv$a;d:I
        intermediary field_16252 Lnet/minecraft/class_631$class_3681;field_16252:I
        named diameter Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;diameter:I
      • centerChunkX

        private volatile int centerChunkX
        Mappings:
        Namespace Name Mixin selector
        official e Lehv$a;e:I
        intermediary field_19204 Lnet/minecraft/class_631$class_3681;field_19204:I
        named centerChunkX Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;centerChunkX:I
      • centerChunkZ

        private volatile int centerChunkZ
        Mappings:
        Namespace Name Mixin selector
        official f Lehv$a;f:I
        intermediary field_19205 Lnet/minecraft/class_631$class_3681;field_19205:I
        named centerChunkZ Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;centerChunkZ:I
      • loadedChunkCount

        private int loadedChunkCount
        Mappings:
        Namespace Name Mixin selector
        official g Lehv$a;g:I
        intermediary field_19143 Lnet/minecraft/class_631$class_3681;field_19143:I
        named loadedChunkCount Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;loadedChunkCount:I
    • 构造器详细资料

      • ClientChunkMap

        private ClientChunkMap​(int loadDistance)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lehv$a;<init>(Lehv;I)V
        intermediary <init> Lnet/minecraft/class_631$class_3681;<init>(Lnet/minecraft/class_631;I)V
        named <init> Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;<init>(Lnet/minecraft/client/world/ClientChunkManager;I)V
    • 方法详细资料

      • getIndex

        private int getIndex​(int chunkX,
                             int chunkZ)
        Mappings:
        Namespace Name Mixin selector
        official a Lehv$a;a(II)I
        intermediary method_16027 Lnet/minecraft/class_631$class_3681;method_16027(II)I
        named getIndex Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;getIndex(II)I
      • set

        protected void set​(int index,
                           @Nullable
                           @Nullable WorldChunk chunk)
        Mappings:
        Namespace Name Mixin selector
        official a Lehv$a;a(ILclv;)V
        intermediary method_16031 Lnet/minecraft/class_631$class_3681;method_16031(ILnet/minecraft/class_2818;)V
        named set Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;set(ILnet/minecraft/world/chunk/WorldChunk;)V
      • compareAndSet

        protected WorldChunk compareAndSet​(int index,
                                           WorldChunk expect,
                                           @Nullable
                                           @Nullable WorldChunk update)
        Mappings:
        Namespace Name Mixin selector
        official a Lehv$a;a(ILclv;Lclv;)Lclv;
        intermediary method_20183 Lnet/minecraft/class_631$class_3681;method_20183(ILnet/minecraft/class_2818;Lnet/minecraft/class_2818;)Lnet/minecraft/class_2818;
        named compareAndSet Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;compareAndSet(ILnet/minecraft/world/chunk/WorldChunk;Lnet/minecraft/world/chunk/WorldChunk;)Lnet/minecraft/world/chunk/WorldChunk;
      • isInRadius

        private boolean isInRadius​(int chunkX,
                                   int chunkZ)
        Mappings:
        Namespace Name Mixin selector
        official b Lehv$a;b(II)Z
        intermediary method_16034 Lnet/minecraft/class_631$class_3681;method_16034(II)Z
        named isInRadius Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;isInRadius(II)Z
      • getChunk

        @Nullable
        protected @Nullable WorldChunk getChunk​(int index)
        Mappings:
        Namespace Name Mixin selector
        official a Lehv$a;a(I)Lclv;
        intermediary method_16033 Lnet/minecraft/class_631$class_3681;method_16033(I)Lnet/minecraft/class_2818;
        named getChunk Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;getChunk(I)Lnet/minecraft/world/chunk/WorldChunk;
      • method_35751

        private void method_35751​(String string)
        Mappings:
        Namespace Name Mixin selector
        official a Lehv$a;a(Ljava/lang/String;)V
        intermediary method_35751 Lnet/minecraft/class_631$class_3681;method_35751(Ljava/lang/String;)V
        named method_35751 Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;method_35751(Ljava/lang/String;)V