Class MultiplayerChunkCache

java.lang.Object
net.minecraft.client.world.chunk.MultiplayerChunkCache
All Implemented Interfaces:
ChunkSource

@Environment(CLIENT) public class MultiplayerChunkCache extends Object implements ChunkSource
Mappings:
Namespace Name
intermediary net/minecraft/class_455
glue class_676
server net/minecraft/class_455
client uv
named net/minecraft/client/world/chunk/MultiplayerChunkCache
  • Field Details

    • empty

      private Chunk empty
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2552 Lnet/minecraft/class_455;field_2552:Lnet/minecraft/class_43;
      glue field_2768 Lclass_676;field_2768:Lclass_279;
      server field_2552 Lnet/minecraft/class_455;field_2552:Lhi;
      client a Luv;a:Llm;
      named empty Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;empty:Lnet/minecraft/world/chunk/Chunk;
    • chunksByPos

      private Map chunksByPos
      Map of ChunkPos, Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2553 Lnet/minecraft/class_455;field_2553:Ljava/util/Map;
      glue field_2769 Lclass_676;field_2769:Ljava/util/Map;
      server field_2553 Lnet/minecraft/class_455;field_2553:Ljava/util/Map;
      client b Luv;b:Ljava/util/Map;
      named chunksByPos Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;chunksByPos:Ljava/util/Map;
    • chunks

      private List chunks
      List of Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2554 Lnet/minecraft/class_455;field_2554:Ljava/util/List;
      glue field_2770 Lclass_676;field_2770:Ljava/util/List;
      server field_2554 Lnet/minecraft/class_455;field_2554:Ljava/util/List;
      client c Luv;c:Ljava/util/List;
      named chunks Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;chunks:Ljava/util/List;
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2555 Lnet/minecraft/class_455;field_2555:Lnet/minecraft/class_18;
      glue field_2771 Lclass_676;field_2771:Lclass_129;
      server field_2555 Lnet/minecraft/class_455;field_2555:Ldj;
      client d Luv;d:Lfd;
      named world Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;world:Lnet/minecraft/world/World;
  • Constructor Details

    • MultiplayerChunkCache

      public MultiplayerChunkCache(World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_455;<init>(Lnet/minecraft/class_18;)V
      glue <init> Lclass_676;<init>(Lclass_129;)V
      server <init> Lnet/minecraft/class_455;<init>(Ldj;)V
      client <init> Luv;<init>(Lfd;)V
      named <init> Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • isChunkLoaded

      public boolean isChunkLoaded(int x, int z)
      Specified by:
      isChunkLoaded in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1802 Lnet/minecraft/class_51;method_1802(II)Z
      glue method_186 Lclass_60;method_186(II)Z
      server a Lbl;a(II)Z
      client a Lcl;a(II)Z
      named isChunkLoaded Lnet/minecraft/world/chunk/ChunkSource;isChunkLoaded(II)Z
    • unloadChunk

      public void unloadChunk(int chunkX, int chunkY)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1954 Lnet/minecraft/class_455;method_1954(II)V
      glue method_2218 Lclass_676;method_2218(II)V
      server method_1954 Lnet/minecraft/class_455;method_1954(II)V
      client d Luv;d(II)V
      named unloadChunk Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;unloadChunk(II)V
    • loadChunk

      public Chunk loadChunk(int chunkX, int chunkZ)
      Specified by:
      loadChunk in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1807 Lnet/minecraft/class_51;method_1807(II)Lnet/minecraft/class_43;
      glue method_191 Lclass_60;method_191(II)Lclass_279;
      server c Lbl;c(II)Lhi;
      client c Lcl;c(II)Llm;
      named loadChunk Lnet/minecraft/world/chunk/ChunkSource;loadChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • getChunk

      public Chunk getChunk(int chunkX, int chunkZ)
      Specified by:
      getChunk in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1806 Lnet/minecraft/class_51;method_1806(II)Lnet/minecraft/class_43;
      glue method_190 Lclass_60;method_190(II)Lclass_279;
      server b Lbl;b(II)Lhi;
      client b Lcl;b(II)Llm;
      named getChunk Lnet/minecraft/world/chunk/ChunkSource;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • save

      public boolean save(boolean saveEntities, LoadingDisplay display)
      Specified by:
      save in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1804 Lnet/minecraft/class_51;method_1804(ZLnet/minecraft/class_62;)Z
      glue method_188 Lclass_60;method_188(ZLclass_595;)Z
      server a Lbl;a(ZLpj;)Z
      client a Lcl;a(ZLyb;)Z
      named save Lnet/minecraft/world/chunk/ChunkSource;save(ZLnet/minecraft/client/gui/screen/LoadingDisplay;)Z
    • tick

      public boolean tick()
      Specified by:
      tick in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1801 Lnet/minecraft/class_51;method_1801()Z
      glue method_185 Lclass_60;method_185()Z
      server a Lbl;a()Z
      client a Lcl;a()Z
      named tick Lnet/minecraft/world/chunk/ChunkSource;tick()Z
    • canSave

      public boolean canSave()
      Specified by:
      canSave in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1805 Lnet/minecraft/class_51;method_1805()Z
      glue method_189 Lclass_60;method_189()Z
      server b Lbl;b()Z
      client b Lcl;b()Z
      named canSave Lnet/minecraft/world/chunk/ChunkSource;canSave()Z
    • decorate

      public void decorate(ChunkSource source, int x, int z)
      Specified by:
      decorate in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1803 Lnet/minecraft/class_51;method_1803(Lnet/minecraft/class_51;II)V
      glue method_187 Lclass_60;method_187(Lclass_60;II)V
      server a Lbl;a(Lbl;II)V
      client a Lcl;a(Lcl;II)V
      named decorate Lnet/minecraft/world/chunk/ChunkSource;decorate(Lnet/minecraft/world/chunk/ChunkSource;II)V
    • getDebugInfo

      public String getDebugInfo()
      Specified by:
      getDebugInfo in interface ChunkSource
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1808 Lnet/minecraft/class_51;method_1808()Ljava/lang/String;
      glue method_296 Lclass_60;method_296()Ljava/lang/String;
      server method_1808 Lbl;method_1808()Ljava/lang/String;
      client c Lcl;c()Ljava/lang/String;
      named getDebugInfo Lnet/minecraft/world/chunk/ChunkSource;getDebugInfo()Ljava/lang/String;