Class ServerChunkLoadingManager

java.lang.Object
net.minecraft.world.storage.VersionedChunkStorage
net.minecraft.server.world.ServerChunkLoadingManager
All Implemented Interfaces:
AutoCloseable, ChunkHolder.PlayersWatchingChunkProvider, ChunkLoadingManager

public class ServerChunkLoadingManager extends VersionedChunkStorage implements ChunkHolder.PlayersWatchingChunkProvider, ChunkLoadingManager
Mappings:
Namespace Name
named net/minecraft/server/world/ServerChunkLoadingManager
intermediary net/minecraft/class_3898
official arm
  • Field Details

    • UNLOADED_CHUNKS

      private static final OptionalChunk<List<Chunk>> UNLOADED_CHUNKS
      Mappings:
      Namespace Name Mixin selector
      named UNLOADED_CHUNKS Lnet/minecraft/server/world/ServerChunkLoadingManager;UNLOADED_CHUNKS:Lnet/minecraft/server/world/OptionalChunk;
      intermediary field_51862 Lnet/minecraft/class_3898;field_51862:Lnet/minecraft/class_9259;
      official f Larm;f:Larn;
    • UNLOADED_CHUNKS_FUTURE

      private static final CompletableFuture<OptionalChunk<List<Chunk>>> UNLOADED_CHUNKS_FUTURE
      Mappings:
      Namespace Name Mixin selector
      named UNLOADED_CHUNKS_FUTURE Lnet/minecraft/server/world/ServerChunkLoadingManager;UNLOADED_CHUNKS_FUTURE:Ljava/util/concurrent/CompletableFuture;
      intermediary field_51863 Lnet/minecraft/class_3898;field_51863:Ljava/util/concurrent/CompletableFuture;
      official g Larm;g:Ljava/util/concurrent/CompletableFuture;
    • PROTO_CHUNK

      private static final byte PROTO_CHUNK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROTO_CHUNK Lnet/minecraft/server/world/ServerChunkLoadingManager;PROTO_CHUNK:B
      intermediary field_29671 Lnet/minecraft/class_3898;field_29671:B
      official h Larm;h:B
    • UNMARKED_CHUNK

      private static final byte UNMARKED_CHUNK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named UNMARKED_CHUNK Lnet/minecraft/server/world/ServerChunkLoadingManager;UNMARKED_CHUNK:B
      intermediary field_29672 Lnet/minecraft/class_3898;field_29672:B
      official i Larm;i:B
    • LEVEL_CHUNK

      private static final byte LEVEL_CHUNK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LEVEL_CHUNK Lnet/minecraft/server/world/ServerChunkLoadingManager;LEVEL_CHUNK:B
      intermediary field_29673 Lnet/minecraft/class_3898;field_29673:B
      official j Larm;j:B
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/world/ServerChunkLoadingManager;LOGGER:Lorg/slf4j/Logger;
      intermediary field_17212 Lnet/minecraft/class_3898;field_17212:Lorg/slf4j/Logger;
      official k Larm;k:Lorg/slf4j/Logger;
    • field_29674

      private static final int field_29674
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29674 Lnet/minecraft/server/world/ServerChunkLoadingManager;field_29674:I
      intermediary field_29674 Lnet/minecraft/class_3898;field_29674:I
      official l Larm;l:I
    • field_36291

      private static final int field_36291
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_36291 Lnet/minecraft/server/world/ServerChunkLoadingManager;field_36291:I
      intermediary field_36291 Lnet/minecraft/class_3898;field_36291:I
      official m Larm;m:I
    • field_36384

      private static final int field_36384
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_36384 Lnet/minecraft/server/world/ServerChunkLoadingManager;field_36384:I
      intermediary field_36384 Lnet/minecraft/class_3898;field_36384:I
      official n Larm;n:I
    • field_54966

      private static final int field_54966
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54966 Lnet/minecraft/server/world/ServerChunkLoadingManager;field_54966:I
      intermediary field_54966 Lnet/minecraft/class_3898;field_54966:I
      official o Larm;o:I
    • DEFAULT_VIEW_DISTANCE

      public static final int DEFAULT_VIEW_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_VIEW_DISTANCE Lnet/minecraft/server/world/ServerChunkLoadingManager;DEFAULT_VIEW_DISTANCE:I
      intermediary field_29675 Lnet/minecraft/class_3898;field_29675:I
      official a Larm;a:I
    • field_29669

      public static final int field_29669
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29669 Lnet/minecraft/server/world/ServerChunkLoadingManager;field_29669:I
      intermediary field_29669 Lnet/minecraft/class_3898;field_29669:I
      official b Larm;b:I
    • field_29670

      public static final int field_29670
      Mappings:
      Namespace Name Mixin selector
      named field_29670 Lnet/minecraft/server/world/ServerChunkLoadingManager;field_29670:I
      intermediary field_29670 Lnet/minecraft/class_3898;field_29670:I
      official c Larm;c:I
    • currentChunkHolders

      private final Long2ObjectLinkedOpenHashMap<ChunkHolder> currentChunkHolders
      Mappings:
      Namespace Name Mixin selector
      named currentChunkHolders Lnet/minecraft/server/world/ServerChunkLoadingManager;currentChunkHolders:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
      intermediary field_17213 Lnet/minecraft/class_3898;field_17213:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
      official p Larm;p:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
    • chunkHolders

      private volatile Long2ObjectLinkedOpenHashMap<ChunkHolder> chunkHolders
      Mappings:
      Namespace Name Mixin selector
      named chunkHolders Lnet/minecraft/server/world/ServerChunkLoadingManager;chunkHolders:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
      intermediary field_17220 Lnet/minecraft/class_3898;field_17220:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
      official q Larm;q:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
    • chunksToUnload

      private final Long2ObjectLinkedOpenHashMap<ChunkHolder> chunksToUnload
      Mappings:
      Namespace Name Mixin selector
      named chunksToUnload Lnet/minecraft/server/world/ServerChunkLoadingManager;chunksToUnload:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
      intermediary field_18807 Lnet/minecraft/class_3898;field_18807:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
      official r Larm;r:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
    • loaders

      private final List<ChunkLoader> loaders
      Mappings:
      Namespace Name Mixin selector
      named loaders Lnet/minecraft/server/world/ServerChunkLoadingManager;loaders:Ljava/util/List;
      intermediary field_51864 Lnet/minecraft/class_3898;field_51864:Ljava/util/List;
      official s Larm;s:Ljava/util/List;
    • world

      final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/server/world/ServerChunkLoadingManager;world:Lnet/minecraft/server/world/ServerWorld;
      intermediary field_17214 Lnet/minecraft/class_3898;field_17214:Lnet/minecraft/class_3218;
      official t Larm;t:Lash;
    • lightingProvider

      private final ServerLightingProvider lightingProvider
      Mappings:
      Namespace Name Mixin selector
      named lightingProvider Lnet/minecraft/server/world/ServerChunkLoadingManager;lightingProvider:Lnet/minecraft/server/world/ServerLightingProvider;
      intermediary field_17215 Lnet/minecraft/class_3898;field_17215:Lnet/minecraft/class_3227;
      official u Larm;u:Lask;
    • mainThreadExecutor

      private final ThreadExecutor<Runnable> mainThreadExecutor
      Mappings:
      Namespace Name Mixin selector
      named mainThreadExecutor Lnet/minecraft/server/world/ServerChunkLoadingManager;mainThreadExecutor:Lnet/minecraft/util/thread/ThreadExecutor;
      intermediary field_17216 Lnet/minecraft/class_3898;field_17216:Lnet/minecraft/class_1255;
      official v Larm;v:Lbrx;
    • noiseConfig

      private final NoiseConfig noiseConfig
      Mappings:
      Namespace Name Mixin selector
      named noiseConfig Lnet/minecraft/server/world/ServerChunkLoadingManager;noiseConfig:Lnet/minecraft/world/gen/noise/NoiseConfig;
      intermediary field_37278 Lnet/minecraft/class_3898;field_37278:Lnet/minecraft/class_7138;
      official w Larm;w:Leed;
    • structurePlacementCalculator

      private final StructurePlacementCalculator structurePlacementCalculator
      Mappings:
      Namespace Name Mixin selector
      named structurePlacementCalculator Lnet/minecraft/server/world/ServerChunkLoadingManager;structurePlacementCalculator:Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;
      intermediary field_40856 Lnet/minecraft/class_3898;field_40856:Lnet/minecraft/class_7869;
      official x Larm;x:Ldzr;
    • persistentStateManagerFactory

      private final Supplier<PersistentStateManager> persistentStateManagerFactory
      Mappings:
      Namespace Name Mixin selector
      named persistentStateManagerFactory Lnet/minecraft/server/world/ServerChunkLoadingManager;persistentStateManagerFactory:Ljava/util/function/Supplier;
      intermediary field_17705 Lnet/minecraft/class_3898;field_17705:Ljava/util/function/Supplier;
      official y Larm;y:Ljava/util/function/Supplier;
    • pointOfInterestStorage

      private final PointOfInterestStorage pointOfInterestStorage
      Mappings:
      Namespace Name Mixin selector
      named pointOfInterestStorage Lnet/minecraft/server/world/ServerChunkLoadingManager;pointOfInterestStorage:Lnet/minecraft/world/poi/PointOfInterestStorage;
      intermediary field_18808 Lnet/minecraft/class_3898;field_18808:Lnet/minecraft/class_4153;
      official z Larm;z:Lchj;
    • unloadedChunks

      final LongSet unloadedChunks
      Mappings:
      Namespace Name Mixin selector
      named unloadedChunks Lnet/minecraft/server/world/ServerChunkLoadingManager;unloadedChunks:Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary field_17221 Lnet/minecraft/class_3898;field_17221:Lit/unimi/dsi/fastutil/longs/LongSet;
      official A Larm;A:Lit/unimi/dsi/fastutil/longs/LongSet;
    • chunkHolderListDirty

      private boolean chunkHolderListDirty
      Mappings:
      Namespace Name Mixin selector
      named chunkHolderListDirty Lnet/minecraft/server/world/ServerChunkLoadingManager;chunkHolderListDirty:Z
      intermediary field_17222 Lnet/minecraft/class_3898;field_17222:Z
      official B Larm;B:Z
    • worldGenScheduler

      private final ChunkTaskScheduler worldGenScheduler
      Mappings:
      Namespace Name Mixin selector
      named worldGenScheduler Lnet/minecraft/server/world/ServerChunkLoadingManager;worldGenScheduler:Lnet/minecraft/server/world/ChunkTaskScheduler;
      intermediary field_54034 Lnet/minecraft/class_3898;field_54034:Lnet/minecraft/class_10171;
      official C Larm;C:Laro;
    • lightScheduler

      private final ChunkTaskScheduler lightScheduler
      Mappings:
      Namespace Name Mixin selector
      named lightScheduler Lnet/minecraft/server/world/ServerChunkLoadingManager;lightScheduler:Lnet/minecraft/server/world/ChunkTaskScheduler;
      intermediary field_54035 Lnet/minecraft/class_3898;field_54035:Lnet/minecraft/class_10171;
      official D Larm;D:Laro;
    • worldGenerationProgressListener

      private final WorldGenerationProgressListener worldGenerationProgressListener
      Mappings:
      Namespace Name Mixin selector
      named worldGenerationProgressListener Lnet/minecraft/server/world/ServerChunkLoadingManager;worldGenerationProgressListener:Lnet/minecraft/server/WorldGenerationProgressListener;
      intermediary field_17442 Lnet/minecraft/class_3898;field_17442:Lnet/minecraft/class_3949;
      official E Larm;E:Lasr;
    • chunkStatusChangeListener

      private final ChunkStatusChangeListener chunkStatusChangeListener
      Mappings:
      Namespace Name Mixin selector
      named chunkStatusChangeListener Lnet/minecraft/server/world/ServerChunkLoadingManager;chunkStatusChangeListener:Lnet/minecraft/world/chunk/ChunkStatusChangeListener;
      intermediary field_26931 Lnet/minecraft/class_3898;field_26931:Lnet/minecraft/class_5567;
      official F Larm;F:Lebw;
    • ticketManager

      private final ServerChunkLoadingManager.TicketManager ticketManager
      Mappings:
      Namespace Name Mixin selector
      named ticketManager Lnet/minecraft/server/world/ServerChunkLoadingManager;ticketManager:Lnet/minecraft/server/world/ServerChunkLoadingManager$TicketManager;
      intermediary field_17228 Lnet/minecraft/class_3898;field_17228:Lnet/minecraft/class_3898$class_3216;
      official G Larm;G:Larm$a;
    • totalChunksLoadedCount

      private final AtomicInteger totalChunksLoadedCount
      Mappings:
      Namespace Name Mixin selector
      named totalChunksLoadedCount Lnet/minecraft/server/world/ServerChunkLoadingManager;totalChunksLoadedCount:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_17230 Lnet/minecraft/class_3898;field_17230:Ljava/util/concurrent/atomic/AtomicInteger;
      official H Larm;H:Ljava/util/concurrent/atomic/AtomicInteger;
    • saveDir

      private final String saveDir
      Mappings:
      Namespace Name Mixin selector
      named saveDir Lnet/minecraft/server/world/ServerChunkLoadingManager;saveDir:Ljava/lang/String;
      intermediary field_17707 Lnet/minecraft/class_3898;field_17707:Ljava/lang/String;
      official I Larm;I:Ljava/lang/String;
    • playerChunkWatchingManager

      private final PlayerChunkWatchingManager playerChunkWatchingManager
      Mappings:
      Namespace Name Mixin selector
      named playerChunkWatchingManager Lnet/minecraft/server/world/ServerChunkLoadingManager;playerChunkWatchingManager:Lnet/minecraft/server/world/PlayerChunkWatchingManager;
      intermediary field_18241 Lnet/minecraft/class_3898;field_18241:Lnet/minecraft/class_3210;
      official J Larm;J:Lasa;
    • entityTrackers

      Mappings:
      Namespace Name Mixin selector
      named entityTrackers Lnet/minecraft/server/world/ServerChunkLoadingManager;entityTrackers:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_18242 Lnet/minecraft/class_3898;field_18242:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      official K Larm;K:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • chunkToType

      private final Long2ByteMap chunkToType
      Mappings:
      Namespace Name Mixin selector
      named chunkToType Lnet/minecraft/server/world/ServerChunkLoadingManager;chunkToType:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
      intermediary field_23786 Lnet/minecraft/class_3898;field_23786:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
      official L Larm;L:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
    • chunkToNextSaveTimeMs

      private final Long2LongMap chunkToNextSaveTimeMs
      Mappings:
      Namespace Name Mixin selector
      named chunkToNextSaveTimeMs Lnet/minecraft/server/world/ServerChunkLoadingManager;chunkToNextSaveTimeMs:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
      intermediary field_52353 Lnet/minecraft/class_3898;field_52353:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
      official M Larm;M:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
    • chunksToSave

      private final LongSet chunksToSave
      Mappings:
      Namespace Name Mixin selector
      named chunksToSave Lnet/minecraft/server/world/ServerChunkLoadingManager;chunksToSave:Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary field_54964 Lnet/minecraft/class_3898;field_54964:Lit/unimi/dsi/fastutil/longs/LongSet;
      official N Larm;N:Lit/unimi/dsi/fastutil/longs/LongSet;
    • unloadTaskQueue

      private final Queue<Runnable> unloadTaskQueue
      Mappings:
      Namespace Name Mixin selector
      named unloadTaskQueue Lnet/minecraft/server/world/ServerChunkLoadingManager;unloadTaskQueue:Ljava/util/Queue;
      intermediary field_19343 Lnet/minecraft/class_3898;field_19343:Ljava/util/Queue;
      official O Larm;O:Ljava/util/Queue;
    • chunksBeingSavedCount

      private final AtomicInteger chunksBeingSavedCount
      Mappings:
      Namespace Name Mixin selector
      named chunksBeingSavedCount Lnet/minecraft/server/world/ServerChunkLoadingManager;chunksBeingSavedCount:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_54965 Lnet/minecraft/class_3898;field_54965:Ljava/util/concurrent/atomic/AtomicInteger;
      official P Larm;P:Ljava/util/concurrent/atomic/AtomicInteger;
    • watchDistance

      private int watchDistance
      Mappings:
      Namespace Name Mixin selector
      named watchDistance Lnet/minecraft/server/world/ServerChunkLoadingManager;watchDistance:I
      intermediary field_18243 Lnet/minecraft/class_3898;field_18243:I
      official Q Larm;Q:I
    • generationContext

      private final ChunkGenerationContext generationContext
      Mappings:
      Namespace Name Mixin selector
      named generationContext Lnet/minecraft/server/world/ServerChunkLoadingManager;generationContext:Lnet/minecraft/world/chunk/ChunkGenerationContext;
      intermediary field_51861 Lnet/minecraft/class_3898;field_51861:Lnet/minecraft/class_9312;
      official R Larm;R:Leav;
  • Constructor Details

    • ServerChunkLoadingManager

      public ServerChunkLoadingManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, int viewDistance, boolean dsync)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/world/ServerChunkLoadingManager;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/structure/StructureTemplateManager;Ljava/util/concurrent/Executor;Lnet/minecraft/util/thread/ThreadExecutor;Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/server/WorldGenerationProgressListener;Lnet/minecraft/world/chunk/ChunkStatusChangeListener;Ljava/util/function/Supplier;IZ)V
      intermediary <init> Lnet/minecraft/class_3898;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_32$class_5143;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_3485;Ljava/util/concurrent/Executor;Lnet/minecraft/class_1255;Lnet/minecraft/class_2823;Lnet/minecraft/class_2794;Lnet/minecraft/class_3949;Lnet/minecraft/class_5567;Ljava/util/function/Supplier;IZ)V
      official <init> Larm;<init>(Lash;Lewc$c;Lcom/mojang/datafixers/DataFixer;Lesm;Ljava/util/concurrent/Executor;Lbrx;Leac;Ldzq;Lasr;Lebw;Ljava/util/function/Supplier;IZ)V
  • Method Details

    • markChunkNeedsSaving

      private void markChunkNeedsSaving(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named markChunkNeedsSaving Lnet/minecraft/server/world/ServerChunkLoadingManager;markChunkNeedsSaving(Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_65056 Lnet/minecraft/class_3898;method_65056(Lnet/minecraft/class_1923;)V
      official f Larm;f(Ldgn;)V
    • getChunkGenerator

      protected ChunkGenerator getChunkGenerator()
      Mappings:
      Namespace Name Mixin selector
      named getChunkGenerator Lnet/minecraft/server/world/ServerChunkLoadingManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
      intermediary method_37897 Lnet/minecraft/class_3898;method_37897()Lnet/minecraft/class_2794;
      official a Larm;a()Ldzq;
    • getStructurePlacementCalculator

      protected StructurePlacementCalculator getStructurePlacementCalculator()
      Mappings:
      Namespace Name Mixin selector
      named getStructurePlacementCalculator Lnet/minecraft/server/world/ServerChunkLoadingManager;getStructurePlacementCalculator()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;
      intermediary method_46641 Lnet/minecraft/class_3898;method_46641()Lnet/minecraft/class_7869;
      official b Larm;b()Ldzr;
    • getNoiseConfig

      protected NoiseConfig getNoiseConfig()
      Mappings:
      Namespace Name Mixin selector
      named getNoiseConfig Lnet/minecraft/server/world/ServerChunkLoadingManager;getNoiseConfig()Lnet/minecraft/world/gen/noise/NoiseConfig;
      intermediary method_41247 Lnet/minecraft/class_3898;method_41247()Lnet/minecraft/class_7138;
      official c Larm;c()Leed;
    • getSquaredDistance

      private static double getSquaredDistance(ChunkPos pos, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named getSquaredDistance Lnet/minecraft/server/world/ServerChunkLoadingManager;getSquaredDistance(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/entity/Entity;)D
      intermediary method_18704 Lnet/minecraft/class_3898;method_18704(Lnet/minecraft/class_1923;Lnet/minecraft/class_1297;)D
      official a Larm;a(Ldgn;Lbvj;)D
    • isTracked

      boolean isTracked(ServerPlayerEntity player, int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      named isTracked Lnet/minecraft/server/world/ServerChunkLoadingManager;isTracked(Lnet/minecraft/server/network/ServerPlayerEntity;II)Z
      intermediary method_52345 Lnet/minecraft/class_3898;method_52345(Lnet/minecraft/class_3222;II)Z
      official a Larm;a(Lasi;II)Z
    • isOnTrackEdge

      private boolean isOnTrackEdge(ServerPlayerEntity player, int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      named isOnTrackEdge Lnet/minecraft/server/world/ServerChunkLoadingManager;isOnTrackEdge(Lnet/minecraft/server/network/ServerPlayerEntity;II)Z
      intermediary method_52351 Lnet/minecraft/class_3898;method_52351(Lnet/minecraft/class_3222;II)Z
      official b Larm;b(Lasi;II)Z
    • getLightingProvider

      protected ServerLightingProvider getLightingProvider()
      Mappings:
      Namespace Name Mixin selector
      named getLightingProvider Lnet/minecraft/server/world/ServerChunkLoadingManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;
      intermediary method_17212 Lnet/minecraft/class_3898;method_17212()Lnet/minecraft/class_3227;
      official d Larm;d()Lask;
    • getCurrentChunkHolder

      @Nullable protected @Nullable ChunkHolder getCurrentChunkHolder(long pos)
      Mappings:
      Namespace Name Mixin selector
      named getCurrentChunkHolder Lnet/minecraft/server/world/ServerChunkLoadingManager;getCurrentChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;
      intermediary method_17255 Lnet/minecraft/class_3898;method_17255(J)Lnet/minecraft/class_3193;
      official a Larm;a(J)Lark;
    • getChunkHolder

      @Nullable protected @Nullable ChunkHolder getChunkHolder(long pos)
      Mappings:
      Namespace Name Mixin selector
      named getChunkHolder Lnet/minecraft/server/world/ServerChunkLoadingManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;
      intermediary method_17216 Lnet/minecraft/class_3898;method_17216(J)Lnet/minecraft/class_3193;
      official b Larm;b(J)Lark;
    • getCompletedLevelSupplier

      protected IntSupplier getCompletedLevelSupplier(long pos)
      Mappings:
      Namespace Name Mixin selector
      named getCompletedLevelSupplier Lnet/minecraft/server/world/ServerChunkLoadingManager;getCompletedLevelSupplier(J)Ljava/util/function/IntSupplier;
      intermediary method_17604 Lnet/minecraft/class_3898;method_17604(J)Ljava/util/function/IntSupplier;
      official c Larm;c(J)Ljava/util/function/IntSupplier;
    • getChunkLoadingDebugInfo

      public String getChunkLoadingDebugInfo(ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      named getChunkLoadingDebugInfo Lnet/minecraft/server/world/ServerChunkLoadingManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;
      intermediary method_23272 Lnet/minecraft/class_3898;method_23272(Lnet/minecraft/class_1923;)Ljava/lang/String;
      official a Larm;a(Ldgn;)Ljava/lang/String;
    • getRegion

      private CompletableFuture<OptionalChunk<List<Chunk>>> getRegion(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus)
      Mappings:
      Namespace Name Mixin selector
      named getRegion Lnet/minecraft/server/world/ServerChunkLoadingManager;getRegion(Lnet/minecraft/server/world/ChunkHolder;ILjava/util/function/IntFunction;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_17220 Lnet/minecraft/class_3898;method_17220(Lnet/minecraft/class_3193;ILjava/util/function/IntFunction;)Ljava/util/concurrent/CompletableFuture;
      official a Larm;a(Lark;ILjava/util/function/IntFunction;)Ljava/util/concurrent/CompletableFuture;
    • crash

      public CrashException crash(IllegalStateException exception, String details)
      Mappings:
      Namespace Name Mixin selector
      named crash Lnet/minecraft/server/world/ServerChunkLoadingManager;crash(Ljava/lang/IllegalStateException;Ljava/lang/String;)Lnet/minecraft/util/crash/CrashException;
      intermediary method_40067 Lnet/minecraft/class_3898;method_40067(Ljava/lang/IllegalStateException;Ljava/lang/String;)Lnet/minecraft/class_148;
      official a Larm;a(Ljava/lang/IllegalStateException;Ljava/lang/String;)Lz;
    • makeChunkEntitiesTickable

      public CompletableFuture<OptionalChunk<WorldChunk>> makeChunkEntitiesTickable(ChunkHolder holder)
      Mappings:
      Namespace Name Mixin selector
      named makeChunkEntitiesTickable Lnet/minecraft/server/world/ServerChunkLoadingManager;makeChunkEntitiesTickable(Lnet/minecraft/server/world/ChunkHolder;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_17247 Lnet/minecraft/class_3898;method_17247(Lnet/minecraft/class_3193;)Ljava/util/concurrent/CompletableFuture;
      official a Larm;a(Lark;)Ljava/util/concurrent/CompletableFuture;
    • setLevel

      @Nullable @Nullable ChunkHolder setLevel(long pos, int level, @Nullable @Nullable ChunkHolder holder, int int2)
      Sets the loading level of ChunkHolders. Nonexistent ChunkHolders will be created automatically if their loading level is 45 or lower, and chunks whose loading levels are 46 or higher will be scheduled to be removed.
      Mappings:
      Namespace Name Mixin selector
      named setLevel Lnet/minecraft/server/world/ServerChunkLoadingManager;setLevel(JILnet/minecraft/server/world/ChunkHolder;I)Lnet/minecraft/server/world/ChunkHolder;
      intermediary method_17217 Lnet/minecraft/class_3898;method_17217(JILnet/minecraft/class_3193;I)Lnet/minecraft/class_3193;
      official a Larm;a(JILark;I)Lark;
    • updateLevel

      private void updateLevel(ChunkPos pos, IntSupplier levelGetter, int targetLevel, IntConsumer levelSetter)
      Mappings:
      Namespace Name Mixin selector
      named updateLevel Lnet/minecraft/server/world/ServerChunkLoadingManager;updateLevel(Lnet/minecraft/util/math/ChunkPos;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)V
      intermediary method_63545 Lnet/minecraft/class_3898;method_63545(Lnet/minecraft/class_1923;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)V
      official a Larm;a(Ldgn;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)V
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class VersionedChunkStorage
      Throws:
      IOException
    • save

      protected void save(boolean flush)
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/server/world/ServerChunkLoadingManager;save(Z)V
      intermediary method_17242 Lnet/minecraft/class_3898;method_17242(Z)V
      official a Larm;a(Z)V
    • tick

      protected void tick(BooleanSupplier shouldKeepTicking)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/server/world/ServerChunkLoadingManager;tick(Ljava/util/function/BooleanSupplier;)V
      intermediary method_17233 Lnet/minecraft/class_3898;method_17233(Ljava/util/function/BooleanSupplier;)V
      official a Larm;a(Ljava/util/function/BooleanSupplier;)V
    • shouldDelayShutdown

      public boolean shouldDelayShutdown()
      Returns whether the server shutdown should be delayed to process some tasks.
      Returns:
      whether the server shutdown should be delayed to process some tasks
      Mappings:
      Namespace Name Mixin selector
      named shouldDelayShutdown Lnet/minecraft/server/world/ServerChunkLoadingManager;shouldDelayShutdown()Z
      intermediary method_39992 Lnet/minecraft/class_3898;method_39992()Z
      official e Larm;e()Z
    • unloadChunks

      private void unloadChunks(BooleanSupplier shouldKeepTicking)
      Mappings:
      Namespace Name Mixin selector
      named unloadChunks Lnet/minecraft/server/world/ServerChunkLoadingManager;unloadChunks(Ljava/util/function/BooleanSupplier;)V
      intermediary method_20605 Lnet/minecraft/class_3898;method_20605(Ljava/util/function/BooleanSupplier;)V
      official b Larm;b(Ljava/util/function/BooleanSupplier;)V
    • saveChunks

      private void saveChunks(BooleanSupplier shouldKeepTicking)
      Mappings:
      Namespace Name Mixin selector
      named saveChunks Lnet/minecraft/server/world/ServerChunkLoadingManager;saveChunks(Ljava/util/function/BooleanSupplier;)V
      intermediary method_65055 Lnet/minecraft/class_3898;method_65055(Ljava/util/function/BooleanSupplier;)V
      official c Larm;c(Ljava/util/function/BooleanSupplier;)V
    • tryUnloadChunk

      private void tryUnloadChunk(long pos, ChunkHolder chunk)
      Mappings:
      Namespace Name Mixin selector
      named tryUnloadChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;tryUnloadChunk(JLnet/minecraft/server/world/ChunkHolder;)V
      intermediary method_20458 Lnet/minecraft/class_3898;method_20458(JLnet/minecraft/class_3193;)V
      official a Larm;a(JLark;)V
    • updateHolderMap

      protected boolean updateHolderMap()
      Mappings:
      Namespace Name Mixin selector
      named updateHolderMap Lnet/minecraft/server/world/ServerChunkLoadingManager;updateHolderMap()Z
      intermediary method_17244 Lnet/minecraft/class_3898;method_17244()Z
      official f Larm;f()Z
    • loadChunk

      private CompletableFuture<Chunk> loadChunk(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named loadChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;loadChunk(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_20619 Lnet/minecraft/class_3898;method_20619(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;
      official g Larm;g(Ldgn;)Ljava/util/concurrent/CompletableFuture;
    • recoverFromException

      private Chunk recoverFromException(Throwable throwable, ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      named recoverFromException Lnet/minecraft/server/world/ServerChunkLoadingManager;recoverFromException(Ljava/lang/Throwable;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/chunk/Chunk;
      intermediary method_43376 Lnet/minecraft/class_3898;method_43376(Ljava/lang/Throwable;Lnet/minecraft/class_1923;)Lnet/minecraft/class_2791;
      official a Larm;a(Ljava/lang/Throwable;Ldgn;)Ldzp;
    • getProtoChunk

      private Chunk getProtoChunk(ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      named getProtoChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;getProtoChunk(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/chunk/Chunk;
      intermediary method_43382 Lnet/minecraft/class_3898;method_43382(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2791;
      official h Larm;h(Ldgn;)Ldzp;
    • markAsProtoChunk

      private void markAsProtoChunk(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named markAsProtoChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;markAsProtoChunk(Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_27054 Lnet/minecraft/class_3898;method_27054(Lnet/minecraft/class_1923;)V
      official i Larm;i(Ldgn;)V
    • mark

      private byte mark(ChunkPos pos, ChunkType type)
      Mappings:
      Namespace Name Mixin selector
      named mark Lnet/minecraft/server/world/ServerChunkLoadingManager;mark(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/ChunkType;)B
      intermediary method_27053 Lnet/minecraft/class_3898;method_27053(Lnet/minecraft/class_1923;Lnet/minecraft/class_2808;)B
      official a Larm;a(Ldgn;Leau;)B
    • acquire

      public AbstractChunkHolder acquire(long pos)
      Specified by:
      acquire in interface ChunkLoadingManager
      Mappings:
      Namespace Name Mixin selector
      named acquire Lnet/minecraft/world/ChunkLoadingManager;acquire(J)Lnet/minecraft/world/chunk/AbstractChunkHolder;
      intermediary method_60448 Lnet/minecraft/class_9760;method_60448(J)Lnet/minecraft/class_9761;
      official d Larx;d(J)Lary;
    • release

      public void release(AbstractChunkHolder chunkHolder)
      Specified by:
      release in interface ChunkLoadingManager
      Mappings:
      Namespace Name Mixin selector
      named release Lnet/minecraft/world/ChunkLoadingManager;release(Lnet/minecraft/world/chunk/AbstractChunkHolder;)V
      intermediary method_60441 Lnet/minecraft/class_9760;method_60441(Lnet/minecraft/class_9761;)V
      official a Larx;a(Lary;)V
    • generate

      Specified by:
      generate in interface ChunkLoadingManager
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/world/ChunkLoadingManager;generate(Lnet/minecraft/world/chunk/AbstractChunkHolder;Lnet/minecraft/world/chunk/ChunkGenerationStep;Lnet/minecraft/util/collection/BoundedRegionArray;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_60442 Lnet/minecraft/class_9760;method_60442(Lnet/minecraft/class_9761;Lnet/minecraft/class_9770;Lnet/minecraft/class_9762;)Ljava/util/concurrent/CompletableFuture;
      official a Larx;a(Lary;Leat;Lbay;)Ljava/util/concurrent/CompletableFuture;
    • createLoader

      public ChunkLoader createLoader(ChunkStatus requestedStatus, ChunkPos pos)
      Specified by:
      createLoader in interface ChunkLoadingManager
      Mappings:
      Namespace Name Mixin selector
      named createLoader Lnet/minecraft/world/ChunkLoadingManager;createLoader(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/chunk/ChunkLoader;
      intermediary method_60443 Lnet/minecraft/class_9760;method_60443(Lnet/minecraft/class_2806;Lnet/minecraft/class_1923;)Lnet/minecraft/class_9759;
      official a Larx;a(Leaq;Ldgn;)Larj;
    • schedule

      private void schedule(ChunkLoader loader)
      Mappings:
      Namespace Name Mixin selector
      named schedule Lnet/minecraft/server/world/ServerChunkLoadingManager;schedule(Lnet/minecraft/world/chunk/ChunkLoader;)V
      intermediary method_60439 Lnet/minecraft/class_3898;method_60439(Lnet/minecraft/class_9759;)V
      official a Larm;a(Larj;)V
    • updateChunks

      public void updateChunks()
      Specified by:
      updateChunks in interface ChunkLoadingManager
      Mappings:
      Namespace Name Mixin selector
      named updateChunks Lnet/minecraft/world/ChunkLoadingManager;updateChunks()V
      intermediary method_60450 Lnet/minecraft/class_9760;method_60450()V
      official g Larx;g()V
    • makeChunkTickable

      public CompletableFuture<OptionalChunk<WorldChunk>> makeChunkTickable(ChunkHolder holder)
      Mappings:
      Namespace Name Mixin selector
      named makeChunkTickable Lnet/minecraft/server/world/ServerChunkLoadingManager;makeChunkTickable(Lnet/minecraft/server/world/ChunkHolder;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_17235 Lnet/minecraft/class_3898;method_17235(Lnet/minecraft/class_3193;)Ljava/util/concurrent/CompletableFuture;
      official b Larm;b(Lark;)Ljava/util/concurrent/CompletableFuture;
    • sendToPlayers

      private void sendToPlayers(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named sendToPlayers Lnet/minecraft/server/world/ServerChunkLoadingManager;sendToPlayers(Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_53686 Lnet/minecraft/class_3898;method_53686(Lnet/minecraft/class_2818;)V
      official a Larm;a(Ldzz;)V
    • makeChunkAccessible

      public CompletableFuture<OptionalChunk<WorldChunk>> makeChunkAccessible(ChunkHolder holder)
      Mappings:
      Namespace Name Mixin selector
      named makeChunkAccessible Lnet/minecraft/server/world/ServerChunkLoadingManager;makeChunkAccessible(Lnet/minecraft/server/world/ChunkHolder;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_31417 Lnet/minecraft/class_3898;method_31417(Lnet/minecraft/class_3193;)Ljava/util/concurrent/CompletableFuture;
      official c Larm;c(Lark;)Ljava/util/concurrent/CompletableFuture;
    • getTotalChunksLoadedCount

      public int getTotalChunksLoadedCount()
      Mappings:
      Namespace Name Mixin selector
      named getTotalChunksLoadedCount Lnet/minecraft/server/world/ServerChunkLoadingManager;getTotalChunksLoadedCount()I
      intermediary method_17253 Lnet/minecraft/class_3898;method_17253()I
      official h Larm;h()I
    • save

      private boolean save(ChunkHolder chunkHolder, long currentTime)
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/server/world/ServerChunkLoadingManager;save(Lnet/minecraft/server/world/ChunkHolder;J)Z
      intermediary method_39925 Lnet/minecraft/class_3898;method_39925(Lnet/minecraft/class_3193;J)Z
      official a Larm;a(Lark;J)Z
    • save

      private boolean save(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/server/world/ServerChunkLoadingManager;save(Lnet/minecraft/world/chunk/Chunk;)Z
      intermediary method_17228 Lnet/minecraft/class_3898;method_17228(Lnet/minecraft/class_2791;)Z
      official a Larm;a(Ldzp;)Z
    • isLevelChunk

      private boolean isLevelChunk(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isLevelChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;isLevelChunk(Lnet/minecraft/util/math/ChunkPos;)Z
      intermediary method_27055 Lnet/minecraft/class_3898;method_27055(Lnet/minecraft/class_1923;)Z
      official j Larm;j(Ldgn;)Z
    • setViewDistance

      protected void setViewDistance(int watchDistance)
      Mappings:
      Namespace Name Mixin selector
      named setViewDistance Lnet/minecraft/server/world/ServerChunkLoadingManager;setViewDistance(I)V
      intermediary method_17214 Lnet/minecraft/class_3898;method_17214(I)V
      official a Larm;a(I)V
    • getViewDistance

      int getViewDistance(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named getViewDistance Lnet/minecraft/server/world/ServerChunkLoadingManager;getViewDistance(Lnet/minecraft/server/network/ServerPlayerEntity;)I
      intermediary method_52350 Lnet/minecraft/class_3898;method_52350(Lnet/minecraft/class_3222;)I
      official b Larm;b(Lasi;)I
    • track

      private void track(ServerPlayerEntity player, ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named track Lnet/minecraft/server/world/ServerChunkLoadingManager;track(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_52347 Lnet/minecraft/class_3898;method_52347(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)V
      official a Larm;a(Lasi;Ldgn;)V
    • track

      private static void track(ServerPlayerEntity player, WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named track Lnet/minecraft/server/world/ServerChunkLoadingManager;track(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_52348 Lnet/minecraft/class_3898;method_52348(Lnet/minecraft/class_3222;Lnet/minecraft/class_2818;)V
      official a Larm;a(Lasi;Ldzz;)V
    • untrack

      private static void untrack(ServerPlayerEntity player, ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named untrack Lnet/minecraft/server/world/ServerChunkLoadingManager;untrack(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_52352 Lnet/minecraft/class_3898;method_52352(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)V
      official b Larm;b(Lasi;Ldgn;)V
    • getPostProcessedChunk

      @Nullable public @Nullable WorldChunk getPostProcessedChunk(long pos)
      Mappings:
      Namespace Name Mixin selector
      named getPostProcessedChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;getPostProcessedChunk(J)Lnet/minecraft/world/chunk/WorldChunk;
      intermediary method_53688 Lnet/minecraft/class_3898;method_53688(J)Lnet/minecraft/class_2818;
      official e Larm;e(J)Ldzz;
    • getLoadedChunkCount

      public int getLoadedChunkCount()
      Mappings:
      Namespace Name Mixin selector
      named getLoadedChunkCount Lnet/minecraft/server/world/ServerChunkLoadingManager;getLoadedChunkCount()I
      intermediary method_17260 Lnet/minecraft/class_3898;method_17260()I
      official i Larm;i()I
    • getTicketManager

      public ChunkTicketManager getTicketManager()
      Mappings:
      Namespace Name Mixin selector
      named getTicketManager Lnet/minecraft/server/world/ServerChunkLoadingManager;getTicketManager()Lnet/minecraft/server/world/ChunkTicketManager;
      intermediary method_17263 Lnet/minecraft/class_3898;method_17263()Lnet/minecraft/class_3204;
      official j Larm;j()Larv;
    • entryIterator

      protected Iterable<ChunkHolder> entryIterator()
      Mappings:
      Namespace Name Mixin selector
      named entryIterator Lnet/minecraft/server/world/ServerChunkLoadingManager;entryIterator()Ljava/lang/Iterable;
      intermediary method_17264 Lnet/minecraft/class_3898;method_17264()Ljava/lang/Iterable;
      official k Larm;k()Ljava/lang/Iterable;
    • dump

      void dump(Writer writer) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named dump Lnet/minecraft/server/world/ServerChunkLoadingManager;dump(Ljava/io/Writer;)V
      intermediary method_21619 Lnet/minecraft/class_3898;method_21619(Ljava/io/Writer;)V
      official a Larm;a(Ljava/io/Writer;)V
    • getFutureStatus

      private static String getFutureStatus(CompletableFuture<OptionalChunk<WorldChunk>> future)
      Mappings:
      Namespace Name Mixin selector
      named getFutureStatus Lnet/minecraft/server/world/ServerChunkLoadingManager;getFutureStatus(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String;
      intermediary method_21676 Lnet/minecraft/class_3898;method_21676(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String;
      official a Larm;a(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String;
    • getUpdatedChunkNbt

      private CompletableFuture<Optional<NbtCompound>> getUpdatedChunkNbt(ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      named getUpdatedChunkNbt Lnet/minecraft/server/world/ServerChunkLoadingManager;getUpdatedChunkNbt(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_43383 Lnet/minecraft/class_3898;method_43383(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;
      official k Larm;k(Ldgn;)Ljava/util/concurrent/CompletableFuture;
    • updateChunkNbt

      private NbtCompound updateChunkNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named updateChunkNbt Lnet/minecraft/server/world/ServerChunkLoadingManager;updateChunkNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_43381 Lnet/minecraft/class_3898;method_43381(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      official b Larm;b(Lux;)Lux;
    • forEachTickedChunk

      void forEachTickedChunk(Consumer<ChunkHolder> callback)
      Mappings:
      Namespace Name Mixin selector
      named forEachTickedChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;forEachTickedChunk(Ljava/util/function/Consumer;)V
      intermediary method_61260 Lnet/minecraft/class_3898;method_61260(Ljava/util/function/Consumer;)V
      official a Larm;a(Ljava/util/function/Consumer;)V
    • shouldTick

      boolean shouldTick(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named shouldTick Lnet/minecraft/server/world/ServerChunkLoadingManager;shouldTick(Lnet/minecraft/util/math/ChunkPos;)Z
      intermediary method_38783 Lnet/minecraft/class_3898;method_38783(Lnet/minecraft/class_1923;)Z
      official b Larm;b(Ldgn;)Z
    • isAnyPlayerTicking

      private boolean isAnyPlayerTicking(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isAnyPlayerTicking Lnet/minecraft/server/world/ServerChunkLoadingManager;isAnyPlayerTicking(Lnet/minecraft/util/math/ChunkPos;)Z
      intermediary method_61261 Lnet/minecraft/class_3898;method_61261(Lnet/minecraft/class_1923;)Z
      official l Larm;l(Ldgn;)Z
    • getPlayersWatchingChunk

      public List<ServerPlayerEntity> getPlayersWatchingChunk(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getPlayersWatchingChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;getPlayersWatchingChunk(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/List;
      intermediary method_37907 Lnet/minecraft/class_3898;method_37907(Lnet/minecraft/class_1923;)Ljava/util/List;
      official c Larm;c(Ldgn;)Ljava/util/List;
    • canTickChunk

      private boolean canTickChunk(ServerPlayerEntity player, ChunkPos pos)
      Returns whether the player can tick the chunk at pos.
      Returns:
      whether the player can tick the chunk at pos
      API Note:
      This controls monster spawning and block random ticks.
      Implementation Note:
      Spectators cannot tick chunks. Additionally, only chunks within 128 block radius of that player can be ticked.
      Mappings:
      Namespace Name Mixin selector
      named canTickChunk Lnet/minecraft/server/world/ServerChunkLoadingManager;canTickChunk(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)Z
      intermediary method_38782 Lnet/minecraft/class_3898;method_38782(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)Z
      official c Larm;c(Lasi;Ldgn;)Z
    • doesNotGenerateChunks

      private boolean doesNotGenerateChunks(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named doesNotGenerateChunks Lnet/minecraft/server/world/ServerChunkLoadingManager;doesNotGenerateChunks(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
      intermediary method_18722 Lnet/minecraft/class_3898;method_18722(Lnet/minecraft/class_3222;)Z
      official c Larm;c(Lasi;)Z
    • handlePlayerAddedOrRemoved

      void handlePlayerAddedOrRemoved(ServerPlayerEntity player, boolean added)
      Mappings:
      Namespace Name Mixin selector
      named handlePlayerAddedOrRemoved Lnet/minecraft/server/world/ServerChunkLoadingManager;handlePlayerAddedOrRemoved(Lnet/minecraft/server/network/ServerPlayerEntity;Z)V
      intermediary method_18714 Lnet/minecraft/class_3898;method_18714(Lnet/minecraft/class_3222;Z)V
      official a Larm;a(Lasi;Z)V
    • updateWatchedSection

      private void updateWatchedSection(ServerPlayerEntity player)
      Updates the watched chunk section position for the player, and sends a render distance update packet to the client.
      Mappings:
      Namespace Name Mixin selector
      named updateWatchedSection Lnet/minecraft/server/world/ServerChunkLoadingManager;updateWatchedSection(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_20726 Lnet/minecraft/class_3898;method_20726(Lnet/minecraft/class_3222;)V
      official d Larm;d(Lasi;)V
    • updatePosition

      public void updatePosition(ServerPlayerEntity player)
      Updates the chunk section position of the player. This updates the player position for both entity tracking and chunk loading (watching) logic.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named updatePosition Lnet/minecraft/server/world/ServerChunkLoadingManager;updatePosition(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_18713 Lnet/minecraft/class_3898;method_18713(Lnet/minecraft/class_3222;)V
      official a Larm;a(Lasi;)V
    • sendWatchPackets

      private void sendWatchPackets(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named sendWatchPackets Lnet/minecraft/server/world/ServerChunkLoadingManager;sendWatchPackets(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_17241 Lnet/minecraft/class_3898;method_17241(Lnet/minecraft/class_3222;)V
      official e Larm;e(Lasi;)V
    • sendWatchPackets

      private void sendWatchPackets(ServerPlayerEntity player, ChunkFilter chunkFilter)
      Mappings:
      Namespace Name Mixin selector
      named sendWatchPackets Lnet/minecraft/server/world/ServerChunkLoadingManager;sendWatchPackets(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/network/ChunkFilter;)V
      intermediary method_52346 Lnet/minecraft/class_3898;method_52346(Lnet/minecraft/class_3222;Lnet/minecraft/class_8603;)V
      official a Larm;a(Lasi;Larr;)V
    • getPlayersWatchingChunk

      public List<ServerPlayerEntity> getPlayersWatchingChunk(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge)
      Specified by:
      getPlayersWatchingChunk in interface ChunkHolder.PlayersWatchingChunkProvider
      Mappings:
      Namespace Name Mixin selector
      named getPlayersWatchingChunk Lnet/minecraft/server/world/ChunkHolder$PlayersWatchingChunkProvider;getPlayersWatchingChunk(Lnet/minecraft/util/math/ChunkPos;Z)Ljava/util/List;
      intermediary method_17210 Lnet/minecraft/class_3193$class_3897;method_17210(Lnet/minecraft/class_1923;Z)Ljava/util/List;
      official a Lark$b;a(Ldgn;Z)Ljava/util/List;
    • loadEntity

      protected void loadEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named loadEntity Lnet/minecraft/server/world/ServerChunkLoadingManager;loadEntity(Lnet/minecraft/entity/Entity;)V
      intermediary method_18701 Lnet/minecraft/class_3898;method_18701(Lnet/minecraft/class_1297;)V
      official a Larm;a(Lbvj;)V
    • unloadEntity

      protected void unloadEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named unloadEntity Lnet/minecraft/server/world/ServerChunkLoadingManager;unloadEntity(Lnet/minecraft/entity/Entity;)V
      intermediary method_18716 Lnet/minecraft/class_3898;method_18716(Lnet/minecraft/class_1297;)V
      official b Larm;b(Lbvj;)V
    • tickEntityMovement

      protected void tickEntityMovement()
      Ticks and updates the tracked status of each tracker.

      This first checks if entities have changed chunk sections, and updates tracking status of those entities to all players. It then checks if any player has changed chunk sections, and updates all entities tracking status to those players. This ensures all possible updates are accounted for.

      Mappings:
      Namespace Name Mixin selector
      named tickEntityMovement Lnet/minecraft/server/world/ServerChunkLoadingManager;tickEntityMovement()V
      intermediary method_18727 Lnet/minecraft/class_3898;method_18727()V
      official l Larm;l()V
    • sendToOtherNearbyPlayers

      public void sendToOtherNearbyPlayers(Entity entity, Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      named sendToOtherNearbyPlayers Lnet/minecraft/server/world/ServerChunkLoadingManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)V
      intermediary method_18702 Lnet/minecraft/class_3898;method_18702(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)V
      official a Larm;a(Lbvj;Laac;)V
    • sendToNearbyPlayers

      protected void sendToNearbyPlayers(Entity entity, Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      named sendToNearbyPlayers Lnet/minecraft/server/world/ServerChunkLoadingManager;sendToNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)V
      intermediary method_18717 Lnet/minecraft/class_3898;method_18717(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)V
      official b Larm;b(Lbvj;Laac;)V
    • sendChunkBiomePackets

      public void sendChunkBiomePackets(List<Chunk> chunks)
      Mappings:
      Namespace Name Mixin selector
      named sendChunkBiomePackets Lnet/minecraft/server/world/ServerChunkLoadingManager;sendChunkBiomePackets(Ljava/util/List;)V
      intermediary method_49421 Lnet/minecraft/class_3898;method_49421(Ljava/util/List;)V
      official a Larm;a(Ljava/util/List;)V
    • getPointOfInterestStorage

      protected PointOfInterestStorage getPointOfInterestStorage()
      Mappings:
      Namespace Name Mixin selector
      named getPointOfInterestStorage Lnet/minecraft/server/world/ServerChunkLoadingManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
      intermediary method_19488 Lnet/minecraft/class_3898;method_19488()Lnet/minecraft/class_4153;
      official m Larm;m()Lchj;
    • getSaveDir

      public String getSaveDir()
      Mappings:
      Namespace Name Mixin selector
      named getSaveDir Lnet/minecraft/server/world/ServerChunkLoadingManager;getSaveDir()Ljava/lang/String;
      intermediary method_37476 Lnet/minecraft/class_3898;method_37476()Ljava/lang/String;
      official n Larm;n()Ljava/lang/String;
    • onChunkStatusChange

      void onChunkStatusChange(ChunkPos chunkPos, ChunkLevelType levelType)
      Mappings:
      Namespace Name Mixin selector
      named onChunkStatusChange Lnet/minecraft/server/world/ServerChunkLoadingManager;onChunkStatusChange(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/server/world/ChunkLevelType;)V
      intermediary method_31414 Lnet/minecraft/class_3898;method_31414(Lnet/minecraft/class_1923;Lnet/minecraft/class_3194;)V
      official a Larm;a(Ldgn;Larw;)V
    • forceLighting

      public void forceLighting(ChunkPos centerPos, int radius)
      Mappings:
      Namespace Name Mixin selector
      named forceLighting Lnet/minecraft/server/world/ServerChunkLoadingManager;forceLighting(Lnet/minecraft/util/math/ChunkPos;I)V
      intermediary method_53685 Lnet/minecraft/class_3898;method_53685(Lnet/minecraft/class_1923;I)V
      official a Larm;a(Ldgn;I)V