Class ServerChunkProvider

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

public class ServerChunkProvider extends Object implements ChunkProvider
Mappings:
Namespace Name
official mh
intermediary net/minecraft/class_794
named net/minecraft/world/chunk/ServerChunkProvider
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lmh;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_8891 Lnet/minecraft/class_794;field_8891:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/ServerChunkProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
    • chunksToUnload

      private Set chunksToUnload
      Mappings:
      Namespace Name Mixin selector
      official c Lmh;c:Ljava/util/Set;
      intermediary field_2802 Lnet/minecraft/class_794;field_2802:Ljava/util/Set;
      named chunksToUnload Lnet/minecraft/world/chunk/ServerChunkProvider;chunksToUnload:Ljava/util/Set;
    • empty

      private Chunk empty
      Mappings:
      Namespace Name Mixin selector
      official d Lmh;d:Laoi;
      intermediary field_2803 Lnet/minecraft/class_794;field_2803:Lnet/minecraft/class_1196;
      named empty Lnet/minecraft/world/chunk/ServerChunkProvider;empty:Lnet/minecraft/world/chunk/Chunk;
    • chunkGenerator

      private ChunkProvider chunkGenerator
      Mappings:
      Namespace Name Mixin selector
      official e Lmh;e:Laof;
      intermediary field_2804 Lnet/minecraft/class_794;field_2804:Lnet/minecraft/class_1193;
      named chunkGenerator Lnet/minecraft/world/chunk/ServerChunkProvider;chunkGenerator:Lnet/minecraft/world/chunk/ChunkProvider;
    • chunkWriter

      private ChunkStorage chunkWriter
      Mappings:
      Namespace Name Mixin selector
      official f Lmh;f:Laon;
      intermediary field_2805 Lnet/minecraft/class_794;field_2805:Lnet/minecraft/class_1199;
      named chunkWriter Lnet/minecraft/world/chunk/ServerChunkProvider;chunkWriter:Lnet/minecraft/world/chunk/ChunkStorage;
    • canGenerateChunks

      public boolean canGenerateChunks
      Mappings:
      Namespace Name Mixin selector
      official a Lmh;a:Z
      intermediary field_2801 Lnet/minecraft/class_794;field_2801:Z
      named canGenerateChunks Lnet/minecraft/world/chunk/ServerChunkProvider;canGenerateChunks:Z
    • chunkMap

      private LongObjectStorage chunkMap
      Mappings:
      Namespace Name Mixin selector
      official g Lmh;g:Lop;
      intermediary field_2806 Lnet/minecraft/class_794;field_2806:Lnet/minecraft/class_835;
      named chunkMap Lnet/minecraft/world/chunk/ServerChunkProvider;chunkMap:Lnet/minecraft/util/collection/LongObjectStorage;
    • chunks

      private List chunks
      Mappings:
      Namespace Name Mixin selector
      official h Lmh;h:Ljava/util/List;
      intermediary field_2807 Lnet/minecraft/class_794;field_2807:Ljava/util/List;
      named chunks Lnet/minecraft/world/chunk/ServerChunkProvider;chunks:Ljava/util/List;
    • world

      private ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      official i Lmh;i:Lmi;
      intermediary field_2808 Lnet/minecraft/class_794;field_2808:Lnet/minecraft/class_795;
      named world Lnet/minecraft/world/chunk/ServerChunkProvider;world:Lnet/minecraft/server/world/ServerWorld;
  • Constructor Details

    • ServerChunkProvider

      public ServerChunkProvider(ServerWorld world, ChunkStorage chunkWriter, ChunkProvider chunkProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmh;<init>(Lmi;Laon;Laof;)V
      intermediary <init> Lnet/minecraft/class_794;<init>(Lnet/minecraft/class_795;Lnet/minecraft/class_1199;Lnet/minecraft/class_1193;)V
      named <init> Lnet/minecraft/world/chunk/ServerChunkProvider;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/ChunkStorage;Lnet/minecraft/world/chunk/ChunkProvider;)V
  • Method Details

    • chunkExists

      public boolean chunkExists(int x, int z)
      Specified by:
      chunkExists in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(II)Z
      intermediary method_3864 Lnet/minecraft/class_1193;method_3864(II)Z
      named chunkExists Lnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
    • scheduleUnload

      public void scheduleUnload(int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lmh;b(II)V
      intermediary method_2127 Lnet/minecraft/class_794;method_2127(II)V
      named scheduleUnload Lnet/minecraft/world/chunk/ServerChunkProvider;scheduleUnload(II)V
    • unloadAll

      public void unloadAll()
      Mappings:
      Namespace Name Mixin selector
      official a Lmh;a()V
      intermediary method_2125 Lnet/minecraft/class_794;method_2125()V
      named unloadAll Lnet/minecraft/world/chunk/ServerChunkProvider;unloadAll()V
    • getOrGenerateChunk

      public Chunk getOrGenerateChunk(int x, int z)
      Specified by:
      getOrGenerateChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official method_3871 Lmh;method_3871(II)Laoi;
      intermediary method_3871 Lnet/minecraft/class_794;method_3871(II)Lnet/minecraft/class_1196;
      named getOrGenerateChunk Lnet/minecraft/world/chunk/ServerChunkProvider;getOrGenerateChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • getChunk

      public Chunk getChunk(int x, int z)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Laof;d(II)Laoi;
      intermediary method_3873 Lnet/minecraft/class_1193;method_3873(II)Lnet/minecraft/class_1196;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • loadChunk

      private Chunk loadChunk(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official f Lmh;f(II)Laoi;
      intermediary method_8131 Lnet/minecraft/class_794;method_8131(II)Lnet/minecraft/class_1196;
      named loadChunk Lnet/minecraft/world/chunk/ServerChunkProvider;loadChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • saveEntities

      private void saveEntities(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lmh;a(Laoi;)V
      intermediary method_8129 Lnet/minecraft/class_794;method_8129(Lnet/minecraft/class_1196;)V
      named saveEntities Lnet/minecraft/world/chunk/ServerChunkProvider;saveEntities(Lnet/minecraft/world/chunk/Chunk;)V
    • saveChunk

      private void saveChunk(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official b Lmh;b(Laoi;)V
      intermediary method_8130 Lnet/minecraft/class_794;method_8130(Lnet/minecraft/class_1196;)V
      named saveChunk Lnet/minecraft/world/chunk/ServerChunkProvider;saveChunk(Lnet/minecraft/world/chunk/Chunk;)V
    • decorateChunk

      public void decorateChunk(ChunkProvider provider, int x, int z)
      Specified by:
      decorateChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(Laof;II)V
      intermediary method_3867 Lnet/minecraft/class_1193;method_3867(Lnet/minecraft/class_1193;II)V
      named decorateChunk Lnet/minecraft/world/chunk/ChunkProvider;decorateChunk(Lnet/minecraft/world/chunk/ChunkProvider;II)V
    • saveChunks

      public boolean saveChunks(boolean saveEntities, ProgressListener progressListener)
      Specified by:
      saveChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(ZLow;)Z
      intermediary method_3868 Lnet/minecraft/class_1193;method_3868(ZLnet/minecraft/class_841;)Z
      named saveChunks Lnet/minecraft/world/chunk/ChunkProvider;saveChunks(ZLnet/minecraft/util/ProgressListener;)Z
    • flushChunks

      public void flushChunks()
      Specified by:
      flushChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official method_4727 Lmh;method_4727()V
      intermediary method_4727 Lnet/minecraft/class_794;method_4727()V
      named flushChunks Lnet/minecraft/world/chunk/ServerChunkProvider;flushChunks()V
    • tickChunks

      public boolean tickChunks()
      Specified by:
      tickChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official c Laof;c()Z
      intermediary method_3869 Lnet/minecraft/class_1193;method_3869()Z
      named tickChunks Lnet/minecraft/world/chunk/ChunkProvider;tickChunks()Z
    • isSavingEnabled

      public boolean isSavingEnabled()
      Specified by:
      isSavingEnabled in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Laof;d()Z
      intermediary method_3870 Lnet/minecraft/class_1193;method_3870()Z
      named isSavingEnabled Lnet/minecraft/world/chunk/ChunkProvider;isSavingEnabled()Z
    • getChunkProviderName

      public String getChunkProviderName()
      Specified by:
      getChunkProviderName in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Laof;e()Ljava/lang/String;
      intermediary method_3872 Lnet/minecraft/class_1193;method_3872()Ljava/lang/String;
      named getChunkProviderName Lnet/minecraft/world/chunk/ChunkProvider;getChunkProviderName()Ljava/lang/String;
    • method_3865

      public List method_3865(EntityCategory entityCategory, int int2, int int3, int int4)
      Specified by:
      method_3865 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(Lri;III)Ljava/util/List;
      intermediary method_3865 Lnet/minecraft/class_1193;method_3865(Lnet/minecraft/class_872;III)Ljava/util/List;
      named method_3865 Lnet/minecraft/world/chunk/ChunkProvider;method_3865(Lnet/minecraft/entity/EntityCategory;III)Ljava/util/List;
    • method_3866

      public Vec3i method_3866(World world, String string, int int2, int int3, int int4)
      Specified by:
      method_3866 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(Lafm;Ljava/lang/String;III)Lafe;
      intermediary method_3866 Lnet/minecraft/class_1193;method_3866(Lnet/minecraft/class_1150;Ljava/lang/String;III)Lnet/minecraft/class_1167;
      named method_3866 Lnet/minecraft/world/chunk/ChunkProvider;method_3866(Lnet/minecraft/world/World;Ljava/lang/String;III)Lnet/minecraft/util/math/Vec3i;
    • getLoadedChunksCount

      public int getLoadedChunksCount()
      Specified by:
      getLoadedChunksCount in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official f Laof;f()I
      intermediary method_3874 Lnet/minecraft/class_1193;method_3874()I
      named getLoadedChunksCount Lnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
    • method_4702

      public void method_4702(int int2, int int3)
      Specified by:
      method_4702 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Laof;e(II)V
      intermediary method_4702 Lnet/minecraft/class_1193;method_4702(II)V
      named method_4702 Lnet/minecraft/world/chunk/ChunkProvider;method_4702(II)V