Class ServerChunkCache

java.lang.Object
net.minecraft.world.chunk.ServerChunkCache
All Implemented Interfaces:
ChunkProvider

public class ServerChunkCache
extends Object
implements ChunkProvider
Mappings:
Namespace Name
official ld
intermediary net/minecraft/class_1634
named net/minecraft/world/chunk/ServerChunkCache
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lld;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_6612 Lnet/minecraft/class_1634;field_6612:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/ServerChunkCache;LOGGER:Lorg/apache/logging/log4j/Logger;
    • field_6613

      private Set<Long> field_6613
      Mappings:
      Namespace Name Mixin selector
      official c Lld;c:Ljava/util/Set;
      intermediary field_6613 Lnet/minecraft/class_1634;field_6613:Ljava/util/Set;
      named field_6613 Lnet/minecraft/world/chunk/ServerChunkCache;field_6613:Ljava/util/Set;
    • field_6614

      private Chunk field_6614
      Mappings:
      Namespace Name Mixin selector
      official d Lld;d:Lamy;
      intermediary field_6614 Lnet/minecraft/class_1634;field_6614:Lnet/minecraft/class_399;
      named field_6614 Lnet/minecraft/world/chunk/ServerChunkCache;field_6614:Lnet/minecraft/world/chunk/Chunk;
    • field_6615

      private ChunkProvider field_6615
      Mappings:
      Namespace Name Mixin selector
      official e Lld;e:Lamv;
      intermediary field_6615 Lnet/minecraft/class_1634;field_6615:Lnet/minecraft/class_396;
      named field_6615 Lnet/minecraft/world/chunk/ServerChunkCache;field_6615:Lnet/minecraft/world/chunk/ChunkProvider;
    • field_6616

      private ChunkWriter field_6616
      Mappings:
      Namespace Name Mixin selector
      official f Lld;f:Land;
      intermediary field_6616 Lnet/minecraft/class_1634;field_6616:Lnet/minecraft/class_404;
      named field_6616 Lnet/minecraft/world/chunk/ServerChunkCache;field_6616:Lnet/minecraft/world/chunk/ChunkWriter;
    • field_6611

      public boolean field_6611
      Mappings:
      Namespace Name Mixin selector
      official a Lld;a:Z
      intermediary field_6611 Lnet/minecraft/class_1634;field_6611:Z
      named field_6611 Lnet/minecraft/world/chunk/ServerChunkCache;field_6611:Z
    • field_6617

      private LongObjectStorage<Chunk> field_6617
      Mappings:
      Namespace Name Mixin selector
      official g Lld;g:Lnq;
      intermediary field_6617 Lnet/minecraft/class_1634;field_6617:Lnet/minecraft/class_1701;
      named field_6617 Lnet/minecraft/world/chunk/ServerChunkCache;field_6617:Lnet/minecraft/util/LongObjectStorage;
    • field_6618

      private List<Chunk> field_6618
      Mappings:
      Namespace Name Mixin selector
      official h Lld;h:Ljava/util/List;
      intermediary field_6618 Lnet/minecraft/class_1634;field_6618:Ljava/util/List;
      named field_6618 Lnet/minecraft/world/chunk/ServerChunkCache;field_6618:Ljava/util/List;
    • world

      private ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      official i Lld;i:Lle;
      intermediary field_6619 Lnet/minecraft/class_1634;field_6619:Lnet/minecraft/class_1635;
      named world Lnet/minecraft/world/chunk/ServerChunkCache;world:Lnet/minecraft/server/world/ServerWorld;
  • Constructor Details

    • ServerChunkCache

      public ServerChunkCache​(ServerWorld world, ChunkWriter chunkWriter, ChunkProvider chunkProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lld;<init>(Lle;Land;Lamv;)V
      intermediary <init> Lnet/minecraft/class_1634;<init>(Lnet/minecraft/class_1635;Lnet/minecraft/class_404;Lnet/minecraft/class_396;)V
      named <init> Lnet/minecraft/world/chunk/ServerChunkCache;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/ChunkWriter;Lnet/minecraft/world/chunk/ChunkProvider;)V
  • Method Details

    • chunkExists

      public boolean chunkExists​(int chunkX, int chunkZ)
      Specified by:
      chunkExists in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(II)Z
      intermediary method_1321 Lnet/minecraft/class_396;method_1321(II)Z
      named chunkExists Lnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
    • method_6025

      public List<Chunk> method_6025()
      Mappings:
      Namespace Name Mixin selector
      official a Lld;a()Ljava/util/List;
      intermediary method_6025 Lnet/minecraft/class_1634;method_6025()Ljava/util/List;
      named method_6025 Lnet/minecraft/world/chunk/ServerChunkCache;method_6025()Ljava/util/List;
    • method_6028

      public void method_6028​(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official b Lld;b(II)V
      intermediary method_6028 Lnet/minecraft/class_1634;method_6028(II)V
      named method_6028 Lnet/minecraft/world/chunk/ServerChunkCache;method_6028(II)V
    • method_6027

      public void method_6027()
      Mappings:
      Namespace Name Mixin selector
      official b Lld;b()V
      intermediary method_6027 Lnet/minecraft/class_1634;method_6027()V
      named method_6027 Lnet/minecraft/world/chunk/ServerChunkCache;method_6027()V
    • method_6030

      public Chunk method_6030​(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official c Lld;c(II)Lamy;
      intermediary method_6030 Lnet/minecraft/class_1634;method_6030(II)Lnet/minecraft/class_399;
      named method_6030 Lnet/minecraft/world/chunk/ServerChunkCache;method_6030(II)Lnet/minecraft/world/chunk/Chunk;
    • getChunk

      public Chunk getChunk​(int int2, int int3)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lamv;d(II)Lamy;
      intermediary method_1331 Lnet/minecraft/class_396;method_1331(II)Lnet/minecraft/class_399;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • loadChunk

      private Chunk loadChunk​(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official e Lld;e(II)Lamy;
      intermediary method_6031 Lnet/minecraft/class_1634;method_6031(II)Lnet/minecraft/class_399;
      named loadChunk Lnet/minecraft/world/chunk/ServerChunkCache;loadChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • method_6026

      private void method_6026​(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lld;a(Lamy;)V
      intermediary method_6026 Lnet/minecraft/class_1634;method_6026(Lnet/minecraft/class_399;)V
      named method_6026 Lnet/minecraft/world/chunk/ServerChunkCache;method_6026(Lnet/minecraft/world/chunk/Chunk;)V
    • method_6029

      private void method_6029​(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official b Lld;b(Lamy;)V
      intermediary method_6029 Lnet/minecraft/class_1634;method_6029(Lnet/minecraft/class_399;)V
      named method_6029 Lnet/minecraft/world/chunk/ServerChunkCache;method_6029(Lnet/minecraft/world/chunk/Chunk;)V
    • method_1323

      public void method_1323​(ChunkProvider chunkProvider, int int2, int int3)
      Specified by:
      method_1323 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;II)V
      intermediary method_1323 Lnet/minecraft/class_396;method_1323(Lnet/minecraft/class_396;II)V
      named method_1323 Lnet/minecraft/world/chunk/ChunkProvider;method_1323(Lnet/minecraft/world/chunk/ChunkProvider;II)V
    • method_1324

      public boolean method_1324​(ChunkProvider chunkProvider, Chunk chunk, int int2, int int3)
      Specified by:
      method_1324 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;Lamy;II)Z
      intermediary method_1324 Lnet/minecraft/class_396;method_1324(Lnet/minecraft/class_396;Lnet/minecraft/class_399;II)Z
      named method_1324 Lnet/minecraft/world/chunk/ChunkProvider;method_1324(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/Chunk;II)Z
    • method_1328

      public boolean method_1328​(boolean bool, ProgressListener progressListener)
      Specified by:
      method_1328 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(ZLnu;)Z
      intermediary method_1328 Lnet/minecraft/class_396;method_1328(ZLnet/minecraft/class_1707;)Z
      named method_1328 Lnet/minecraft/world/chunk/ChunkProvider;method_1328(ZLnet/minecraft/util/ProgressListener;)Z
    • method_1329

      public void method_1329()
      Specified by:
      method_1329 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lamv;c()V
      intermediary method_1329 Lnet/minecraft/class_396;method_1329()V
      named method_1329 Lnet/minecraft/world/chunk/ChunkProvider;method_1329()V
    • method_1330

      public boolean method_1330()
      Specified by:
      method_1330 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lamv;d()Z
      intermediary method_1330 Lnet/minecraft/class_396;method_1330()Z
      named method_1330 Lnet/minecraft/world/chunk/ChunkProvider;method_1330()Z
    • method_1332

      public boolean method_1332()
      Specified by:
      method_1332 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lamv;e()Z
      intermediary method_1332 Lnet/minecraft/class_396;method_1332()Z
      named method_1332 Lnet/minecraft/world/chunk/ChunkProvider;method_1332()Z
    • getChunkProviderName

      public String getChunkProviderName()
      Specified by:
      getChunkProviderName in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official f Lamv;f()Ljava/lang/String;
      intermediary method_1333 Lnet/minecraft/class_396;method_1333()Ljava/lang/String;
      named getChunkProviderName Lnet/minecraft/world/chunk/ChunkProvider;getChunkProviderName()Ljava/lang/String;
    • getSpawnEntries

      public List<Biome.SpawnEntry> getSpawnEntries​(EntityCategory category, BlockPos pos)
      Specified by:
      getSpawnEntries in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lpt;Lcj;)Ljava/util/List;
      intermediary method_1327 Lnet/minecraft/class_396;method_1327(Lnet/minecraft/class_1755;Lnet/minecraft/class_1372;)Ljava/util/List;
      named getSpawnEntries Lnet/minecraft/world/chunk/ChunkProvider;getSpawnEntries(Lnet/minecraft/entity/EntityCategory;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
    • getNearestStructurePos

      public BlockPos getNearestStructurePos​(World world, String structureName, BlockPos pos)
      Specified by:
      getNearestStructurePos in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Ladm;Ljava/lang/String;Lcj;)Lcj;
      intermediary method_1322 Lnet/minecraft/class_396;method_1322(Lnet/minecraft/class_99;Ljava/lang/String;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1372;
      named getNearestStructurePos Lnet/minecraft/world/chunk/ChunkProvider;getNearestStructurePos(Lnet/minecraft/world/World;Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • getLoadedChunksCount

      public int getLoadedChunksCount()
      Specified by:
      getLoadedChunksCount in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official g Lamv;g()I
      intermediary method_1334 Lnet/minecraft/class_396;method_1334()I
      named getLoadedChunksCount Lnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
    • method_1325

      public void method_1325​(Chunk chunk, int int2, int int3)
      Specified by:
      method_1325 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamy;II)V
      intermediary method_1325 Lnet/minecraft/class_396;method_1325(Lnet/minecraft/class_399;II)V
      named method_1325 Lnet/minecraft/world/chunk/ChunkProvider;method_1325(Lnet/minecraft/world/chunk/Chunk;II)V
    • method_1326

      public Chunk method_1326​(BlockPos pos)
      Specified by:
      method_1326 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lcj;)Lamy;
      intermediary method_1326 Lnet/minecraft/class_396;method_1326(Lnet/minecraft/class_1372;)Lnet/minecraft/class_399;
      named method_1326 Lnet/minecraft/world/chunk/ChunkProvider;method_1326(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;