Class ServerChunkManager

java.lang.Object
net.minecraft.world.chunk.ChunkManager
net.minecraft.server.world.ServerChunkManager
All Implemented Interfaces:
AutoCloseable, ChunkProvider

public class ServerChunkManager extends ChunkManager
Mappings:
Namespace Name
named net/minecraft/server/world/ServerChunkManager
intermediary net/minecraft/class_3215
official ase
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/world/ServerChunkManager;LOGGER:Lorg/slf4j/Logger;
      intermediary field_52354 Lnet/minecraft/class_3215;field_52354:Lorg/slf4j/Logger;
      official b Lase;b:Lorg/slf4j/Logger;
    • CACHE_SIZE

      private static final int CACHE_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CACHE_SIZE Lnet/minecraft/server/world/ServerChunkManager;CACHE_SIZE:I
      intermediary field_29766 Lnet/minecraft/class_3215;field_29766:I
      official l Lase;l:I
    • ticketManager

      private final ChunkTicketManager ticketManager
      Mappings:
      Namespace Name Mixin selector
      named ticketManager Lnet/minecraft/server/world/ServerChunkManager;ticketManager:Lnet/minecraft/server/world/ChunkTicketManager;
      intermediary field_17252 Lnet/minecraft/class_3215;field_17252:Lnet/minecraft/class_3204;
      official c Lase;c:Larv;
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/server/world/ServerChunkManager;world:Lnet/minecraft/server/world/ServerWorld;
      intermediary field_13945 Lnet/minecraft/class_3215;field_13945:Lnet/minecraft/class_3218;
      official d Lase;d:Lash;
    • serverThread

      final Thread serverThread
      Mappings:
      Namespace Name Mixin selector
      named serverThread Lnet/minecraft/server/world/ServerChunkManager;serverThread:Ljava/lang/Thread;
      intermediary field_17253 Lnet/minecraft/class_3215;field_17253:Ljava/lang/Thread;
      official e Lase;e:Ljava/lang/Thread;
    • lightingProvider

      final ServerLightingProvider lightingProvider
      Mappings:
      Namespace Name Mixin selector
      named lightingProvider Lnet/minecraft/server/world/ServerChunkManager;lightingProvider:Lnet/minecraft/server/world/ServerLightingProvider;
      intermediary field_13921 Lnet/minecraft/class_3215;field_13921:Lnet/minecraft/class_3227;
      official f Lase;f:Lask;
    • mainThreadExecutor

      private final ServerChunkManager.MainThreadExecutor mainThreadExecutor
      Mappings:
      Namespace Name Mixin selector
      named mainThreadExecutor Lnet/minecraft/server/world/ServerChunkManager;mainThreadExecutor:Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;
      intermediary field_18809 Lnet/minecraft/class_3215;field_18809:Lnet/minecraft/class_3215$class_4212;
      official g Lase;g:Lase$b;
    • chunkLoadingManager

      public final ServerChunkLoadingManager chunkLoadingManager
      Mappings:
      Namespace Name Mixin selector
      named chunkLoadingManager Lnet/minecraft/server/world/ServerChunkManager;chunkLoadingManager:Lnet/minecraft/server/world/ServerChunkLoadingManager;
      intermediary field_17254 Lnet/minecraft/class_3215;field_17254:Lnet/minecraft/class_3898;
      official a Lase;a:Larm;
    • persistentStateManager

      private final PersistentStateManager persistentStateManager
      Mappings:
      Namespace Name Mixin selector
      named persistentStateManager Lnet/minecraft/server/world/ServerChunkManager;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;
      intermediary field_17708 Lnet/minecraft/class_3215;field_17708:Lnet/minecraft/class_26;
      official h Lase;h:Levw;
    • lastTickTime

      private long lastTickTime
      Mappings:
      Namespace Name Mixin selector
      named lastTickTime Lnet/minecraft/server/world/ServerChunkManager;lastTickTime:J
      intermediary field_13928 Lnet/minecraft/class_3215;field_13928:J
      official i Lase;i:J
    • spawnMonsters

      private boolean spawnMonsters
      Mappings:
      Namespace Name Mixin selector
      named spawnMonsters Lnet/minecraft/server/world/ServerChunkManager;spawnMonsters:Z
      intermediary field_13929 Lnet/minecraft/class_3215;field_13929:Z
      official j Lase;j:Z
    • spawnAnimals

      private boolean spawnAnimals
      Mappings:
      Namespace Name Mixin selector
      named spawnAnimals Lnet/minecraft/server/world/ServerChunkManager;spawnAnimals:Z
      intermediary field_13941 Lnet/minecraft/class_3215;field_13941:Z
      official k Lase;k:Z
    • chunkPosCache

      private final long[] chunkPosCache
      Mappings:
      Namespace Name Mixin selector
      named chunkPosCache Lnet/minecraft/server/world/ServerChunkManager;chunkPosCache:[J
      intermediary field_19335 Lnet/minecraft/class_3215;field_19335:[J
      official m Lase;m:[J
    • chunkStatusCache

      private final ChunkStatus[] chunkStatusCache
      Mappings:
      Namespace Name Mixin selector
      named chunkStatusCache Lnet/minecraft/server/world/ServerChunkManager;chunkStatusCache:[Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_19336 Lnet/minecraft/class_3215;field_19336:[Lnet/minecraft/class_2806;
      official n Lase;n:[Leaq;
    • chunkCache

      private final Chunk[] chunkCache
      Mappings:
      Namespace Name Mixin selector
      named chunkCache Lnet/minecraft/server/world/ServerChunkManager;chunkCache:[Lnet/minecraft/world/chunk/Chunk;
      intermediary field_19337 Lnet/minecraft/class_3215;field_19337:[Lnet/minecraft/class_2791;
      official o Lase;o:[Ldzp;
    • chunks

      private final List<WorldChunk> chunks
      Mappings:
      Namespace Name Mixin selector
      named chunks Lnet/minecraft/server/world/ServerChunkManager;chunks:Ljava/util/List;
      intermediary field_52355 Lnet/minecraft/class_3215;field_52355:Ljava/util/List;
      official p Lase;p:Ljava/util/List;
    • chunksToBroadcastUpdate

      private final Set<ChunkHolder> chunksToBroadcastUpdate
      Mappings:
      Namespace Name Mixin selector
      named chunksToBroadcastUpdate Lnet/minecraft/server/world/ServerChunkManager;chunksToBroadcastUpdate:Ljava/util/Set;
      intermediary field_52356 Lnet/minecraft/class_3215;field_52356:Ljava/util/Set;
      official q Lase;q:Ljava/util/Set;
    • spawnInfo

      @Nullable private SpawnHelper.Info spawnInfo
      Mappings:
      Namespace Name Mixin selector
      named spawnInfo Lnet/minecraft/server/world/ServerChunkManager;spawnInfo:Lnet/minecraft/world/SpawnHelper$Info;
      intermediary field_24455 Lnet/minecraft/class_3215;field_24455:Lnet/minecraft/class_1948$class_5262;
      official r Lase;r:Ldhs$d;
  • Constructor Details

    • ServerChunkManager

      public ServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int simulationDistance, boolean dsync, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/world/ServerChunkManager;<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/world/gen/chunk/ChunkGenerator;IIZLnet/minecraft/server/WorldGenerationProgressListener;Lnet/minecraft/world/chunk/ChunkStatusChangeListener;Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_3215;<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_2794;IIZLnet/minecraft/class_3949;Lnet/minecraft/class_5567;Ljava/util/function/Supplier;)V
      official <init> Lase;<init>(Lash;Lewc$c;Lcom/mojang/datafixers/DataFixer;Lesm;Ljava/util/concurrent/Executor;Ldzq;IIZLasr;Lebw;Ljava/util/function/Supplier;)V
  • Method Details

    • getLightingProvider

      public ServerLightingProvider getLightingProvider()
      Specified by:
      getLightingProvider in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getLightingProvider Lnet/minecraft/server/world/ServerChunkManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;
      intermediary method_17293 Lnet/minecraft/class_3215;method_17293()Lnet/minecraft/class_3227;
      official a Lase;a()Lask;
    • getChunkHolder

      @Nullable private @Nullable ChunkHolder getChunkHolder(long pos)
      Mappings:
      Namespace Name Mixin selector
      named getChunkHolder Lnet/minecraft/server/world/ServerChunkManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;
      intermediary method_14131 Lnet/minecraft/class_3215;method_14131(J)Lnet/minecraft/class_3193;
      official b Lase;b(J)Lark;
    • getTotalChunksLoadedCount

      public int getTotalChunksLoadedCount()
      Mappings:
      Namespace Name Mixin selector
      named getTotalChunksLoadedCount Lnet/minecraft/server/world/ServerChunkManager;getTotalChunksLoadedCount()I
      intermediary method_17301 Lnet/minecraft/class_3215;method_17301()I
      official b Lase;b()I
    • putInCache

      private void putInCache(long pos, @Nullable @Nullable Chunk chunk, ChunkStatus status)
      Mappings:
      Namespace Name Mixin selector
      named putInCache Lnet/minecraft/server/world/ServerChunkManager;putInCache(JLnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/chunk/ChunkStatus;)V
      intermediary method_21738 Lnet/minecraft/class_3215;method_21738(JLnet/minecraft/class_2791;Lnet/minecraft/class_2806;)V
      official a Lase;a(JLdzp;Leaq;)V
    • getChunk

      @Nullable public @Nullable Chunk getChunk(int x, int z, ChunkStatus leastStatus, boolean create)
      Specified by:
      getChunk in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getChunk Lnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
      intermediary method_12121 Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
      official a Ldzt;a(IILeaq;Z)Ldzp;
    • getWorldChunk

      @Nullable public @Nullable WorldChunk getWorldChunk(int chunkX, int chunkZ)
      Overrides:
      getWorldChunk in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getWorldChunk Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;
      intermediary method_21730 Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;
      official a Ldzt;a(II)Ldzz;
    • initChunkCaches

      private void initChunkCaches()
      Mappings:
      Namespace Name Mixin selector
      named initChunkCaches Lnet/minecraft/server/world/ServerChunkManager;initChunkCaches()V
      intermediary method_20587 Lnet/minecraft/class_3215;method_20587()V
      official r Lase;r()V
    • getChunkFutureSyncOnMainThread

      public CompletableFuture<OptionalChunk<Chunk>> getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
      Mappings:
      Namespace Name Mixin selector
      named getChunkFutureSyncOnMainThread Lnet/minecraft/server/world/ServerChunkManager;getChunkFutureSyncOnMainThread(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;
      intermediary method_17299 Lnet/minecraft/class_3215;method_17299(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;
      official b Lase;b(IILeaq;Z)Ljava/util/concurrent/CompletableFuture;
    • getChunkFuture

      private CompletableFuture<OptionalChunk<Chunk>> getChunkFuture(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
      Mappings:
      Namespace Name Mixin selector
      named getChunkFuture Lnet/minecraft/server/world/ServerChunkManager;getChunkFuture(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;
      intermediary method_14134 Lnet/minecraft/class_3215;method_14134(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;
      official c Lase;c(IILeaq;Z)Ljava/util/concurrent/CompletableFuture;
    • isMissingForLevel

      private boolean isMissingForLevel(@Nullable @Nullable ChunkHolder holder, int maxLevel)
      Mappings:
      Namespace Name Mixin selector
      named isMissingForLevel Lnet/minecraft/server/world/ServerChunkManager;isMissingForLevel(Lnet/minecraft/server/world/ChunkHolder;I)Z
      intermediary method_18752 Lnet/minecraft/class_3215;method_18752(Lnet/minecraft/class_3193;I)Z
      official a Lase;a(Lark;I)Z
    • isChunkLoaded

      public boolean isChunkLoaded(int x, int z)
      Overrides:
      isChunkLoaded in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named isChunkLoaded Lnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Z
      intermediary method_12123 Lnet/minecraft/class_2802;method_12123(II)Z
      official b Ldzt;b(II)Z
    • getChunk

      @Nullable public @Nullable LightSourceView getChunk(int chunkX, int chunkZ)
      Specified by:
      getChunk in interface ChunkProvider
      Overrides:
      getChunk in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/light/LightSourceView;
      intermediary method_12246 Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_8527;
      official c Leac;c(II)Leab;
    • getWorld

      public World getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/server/world/ServerChunkManager;getWorld()Lnet/minecraft/world/World;
      intermediary method_16434 Lnet/minecraft/class_3215;method_16434()Lnet/minecraft/class_1937;
      official c Lase;c()Ldhh;
    • executeQueuedTasks

      public boolean executeQueuedTasks()
      Mappings:
      Namespace Name Mixin selector
      named executeQueuedTasks Lnet/minecraft/server/world/ServerChunkManager;executeQueuedTasks()Z
      intermediary method_19492 Lnet/minecraft/class_3215;method_19492()Z
      official d Lase;d()Z
    • updateChunks

      boolean updateChunks()
      Update expected chunk loading states by updating PLAYER tickets and Futures.
      Mappings:
      Namespace Name Mixin selector
      named updateChunks Lnet/minecraft/server/world/ServerChunkManager;updateChunks()Z
      intermediary method_16155 Lnet/minecraft/class_3215;method_16155()Z
      official s Lase;s()Z
    • isTickingFutureReady

      public boolean isTickingFutureReady(long pos)
      Mappings:
      Namespace Name Mixin selector
      named isTickingFutureReady Lnet/minecraft/server/world/ServerChunkManager;isTickingFutureReady(J)Z
      intermediary method_37114 Lnet/minecraft/class_3215;method_37114(J)Z
      official a Lase;a(J)Z
    • save

      public void save(boolean flush)
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/server/world/ServerChunkManager;save(Z)V
      intermediary method_17298 Lnet/minecraft/class_3215;method_17298(Z)V
      official a Lase;a(Z)V
    • close

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

      public void tick(BooleanSupplier shouldKeepTicking, boolean tickChunks)
      Specified by:
      tick in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)V
      intermediary method_12127 Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)V
      official a Ldzt;a(Ljava/util/function/BooleanSupplier;Z)V
    • tickChunks

      private void tickChunks()
      Mappings:
      Namespace Name Mixin selector
      named tickChunks Lnet/minecraft/server/world/ServerChunkManager;tickChunks()V
      intermediary method_14161 Lnet/minecraft/class_3215;method_14161()V
      official t Lase;t()V
    • broadcastUpdates

      private void broadcastUpdates(Profiler profiler)
      Mappings:
      Namespace Name Mixin selector
      named broadcastUpdates Lnet/minecraft/server/world/ServerChunkManager;broadcastUpdates(Lnet/minecraft/util/profiler/Profiler;)V
      intermediary method_61264 Lnet/minecraft/class_3215;method_61264(Lnet/minecraft/class_3695;)V
      official a Lase;a(Lbps;)V
    • addChunksToTick

      private void addChunksToTick(List<WorldChunk> chunks)
      Mappings:
      Namespace Name Mixin selector
      named addChunksToTick Lnet/minecraft/server/world/ServerChunkManager;addChunksToTick(Ljava/util/List;)V
      intermediary method_61266 Lnet/minecraft/class_3215;method_61266(Ljava/util/List;)V
      official a Lase;a(Ljava/util/List;)V
    • tickChunks

      private void tickChunks(Profiler profiler, long timeDelta, List<WorldChunk> chunks)
      Mappings:
      Namespace Name Mixin selector
      named tickChunks Lnet/minecraft/server/world/ServerChunkManager;tickChunks(Lnet/minecraft/util/profiler/Profiler;JLjava/util/List;)V
      intermediary method_61265 Lnet/minecraft/class_3215;method_61265(Lnet/minecraft/class_3695;JLjava/util/List;)V
      official a Lase;a(Lbps;JLjava/util/List;)V
    • ifChunkLoaded

      private void ifChunkLoaded(long pos, Consumer<WorldChunk> chunkConsumer)
      Mappings:
      Namespace Name Mixin selector
      named ifChunkLoaded Lnet/minecraft/server/world/ServerChunkManager;ifChunkLoaded(JLjava/util/function/Consumer;)V
      intermediary method_27907 Lnet/minecraft/class_3215;method_27907(JLjava/util/function/Consumer;)V
      official a Lase;a(JLjava/util/function/Consumer;)V
    • getDebugString

      public String getDebugString()
      Specified by:
      getDebugString in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getDebugString Lnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;
      intermediary method_12122 Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;
      official e Ldzt;e()Ljava/lang/String;
    • getPendingTasks

      public int getPendingTasks()
      Mappings:
      Namespace Name Mixin selector
      named getPendingTasks Lnet/minecraft/server/world/ServerChunkManager;getPendingTasks()I
      intermediary method_21694 Lnet/minecraft/class_3215;method_21694()I
      official f Lase;f()I
    • getChunkGenerator

      public ChunkGenerator getChunkGenerator()
      Mappings:
      Namespace Name Mixin selector
      named getChunkGenerator Lnet/minecraft/server/world/ServerChunkManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
      intermediary method_12129 Lnet/minecraft/class_3215;method_12129()Lnet/minecraft/class_2794;
      official g Lase;g()Ldzq;
    • getStructurePlacementCalculator

      public StructurePlacementCalculator getStructurePlacementCalculator()
      Mappings:
      Namespace Name Mixin selector
      named getStructurePlacementCalculator Lnet/minecraft/server/world/ServerChunkManager;getStructurePlacementCalculator()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;
      intermediary method_46642 Lnet/minecraft/class_3215;method_46642()Lnet/minecraft/class_7869;
      official h Lase;h()Ldzr;
    • getNoiseConfig

      public NoiseConfig getNoiseConfig()
      Mappings:
      Namespace Name Mixin selector
      named getNoiseConfig Lnet/minecraft/server/world/ServerChunkManager;getNoiseConfig()Lnet/minecraft/world/gen/noise/NoiseConfig;
      intermediary method_41248 Lnet/minecraft/class_3215;method_41248()Lnet/minecraft/class_7138;
      official i Lase;i()Leed;
    • getLoadedChunkCount

      public int getLoadedChunkCount()
      Specified by:
      getLoadedChunkCount in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named getLoadedChunkCount Lnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()I
      intermediary method_14151 Lnet/minecraft/class_2802;method_14151()I
      official j Ldzt;j()I
    • markForUpdate

      public void markForUpdate(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named markForUpdate Lnet/minecraft/server/world/ServerChunkManager;markForUpdate(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_14128 Lnet/minecraft/class_3215;method_14128(Lnet/minecraft/class_2338;)V
      official a Lase;a(Ljh;)V
    • onLightUpdate

      public void onLightUpdate(LightType type, ChunkSectionPos pos)
      Mappings:
      Namespace Name Mixin selector
      named onLightUpdate Lnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)V
      intermediary method_12247 Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)V
      official a Leac;a(Ldhq;Lkj;)V
    • addTicket

      public <T> void addTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)
      Adds a chunk ticket to the ticket manager.

      Addition of a ticket may load chunk(s) at some point in the future depending on the loading level in the ticket's vicinity.

      Mappings:
      Namespace Name Mixin selector
      named addTicket Lnet/minecraft/server/world/ServerChunkManager;addTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
      intermediary method_17297 Lnet/minecraft/class_3215;method_17297(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)V
      official a Lase;a(Lasn;Ldgn;ILjava/lang/Object;)V
    • removeTicket

      public <T> void removeTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)
      Removes a chunk ticket from the ticket manager.

      Removal of a ticket may unload chunk(s) at some point in the future depending on the loading levels in the ticket's vicinity after removal.

      Mappings:
      Namespace Name Mixin selector
      named removeTicket Lnet/minecraft/server/world/ServerChunkManager;removeTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
      intermediary method_17300 Lnet/minecraft/class_3215;method_17300(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)V
      official b Lase;b(Lasn;Ldgn;ILjava/lang/Object;)V
    • setChunkForced

      public void setChunkForced(ChunkPos pos, boolean forced)
      Overrides:
      setChunkForced in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named setChunkForced Lnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)V
      intermediary method_12124 Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)V
      official a Ldzt;a(Ldgn;Z)V
    • updatePosition

      public void updatePosition(ServerPlayerEntity player)
      Updates the chunk section position of the player. This can either be a result of the player's movement or its camera entity's movement.

      This updates the section position player's client is currently watching and the player's position in its entity tracker.

      Mappings:
      Namespace Name Mixin selector
      named updatePosition Lnet/minecraft/server/world/ServerChunkManager;updatePosition(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_14096 Lnet/minecraft/class_3215;method_14096(Lnet/minecraft/class_3222;)V
      official a Lase;a(Lasi;)V
    • unloadEntity

      public void unloadEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named unloadEntity Lnet/minecraft/server/world/ServerChunkManager;unloadEntity(Lnet/minecraft/entity/Entity;)V
      intermediary method_18753 Lnet/minecraft/class_3215;method_18753(Lnet/minecraft/class_1297;)V
      official a Lase;a(Lbvj;)V
    • loadEntity

      public void loadEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named loadEntity Lnet/minecraft/server/world/ServerChunkManager;loadEntity(Lnet/minecraft/entity/Entity;)V
      intermediary method_18755 Lnet/minecraft/class_3215;method_18755(Lnet/minecraft/class_1297;)V
      official b Lase;b(Lbvj;)V
    • sendToNearbyPlayers

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

      public void sendToOtherNearbyPlayers(Entity entity, Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      named sendToOtherNearbyPlayers Lnet/minecraft/server/world/ServerChunkManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)V
      intermediary method_18754 Lnet/minecraft/class_3215;method_18754(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)V
      official b Lase;b(Lbvj;Laac;)V
    • applyViewDistance

      public void applyViewDistance(int watchDistance)
      Mappings:
      Namespace Name Mixin selector
      named applyViewDistance Lnet/minecraft/server/world/ServerChunkManager;applyViewDistance(I)V
      intermediary method_14144 Lnet/minecraft/class_3215;method_14144(I)V
      official a Lase;a(I)V
    • applySimulationDistance

      public void applySimulationDistance(int simulationDistance)
      Mappings:
      Namespace Name Mixin selector
      named applySimulationDistance Lnet/minecraft/server/world/ServerChunkManager;applySimulationDistance(I)V
      intermediary method_38634 Lnet/minecraft/class_3215;method_38634(I)V
      official b Lase;b(I)V
    • setMobSpawnOptions

      public void setMobSpawnOptions(boolean spawnMonsters)
      Overrides:
      setMobSpawnOptions in class ChunkManager
      Mappings:
      Namespace Name Mixin selector
      named setMobSpawnOptions Lnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(Z)V
      intermediary method_12128 Lnet/minecraft/class_2802;method_12128(Z)V
      official b Ldzt;b(Z)V
    • getChunkLoadingDebugInfo

      public String getChunkLoadingDebugInfo(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getChunkLoadingDebugInfo Lnet/minecraft/server/world/ServerChunkManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;
      intermediary method_23273 Lnet/minecraft/class_3215;method_23273(Lnet/minecraft/class_1923;)Ljava/lang/String;
      official a Lase;a(Ldgn;)Ljava/lang/String;
    • getPersistentStateManager

      public PersistentStateManager getPersistentStateManager()
      Mappings:
      Namespace Name Mixin selector
      named getPersistentStateManager Lnet/minecraft/server/world/ServerChunkManager;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;
      intermediary method_17981 Lnet/minecraft/class_3215;method_17981()Lnet/minecraft/class_26;
      official k Lase;k()Levw;
    • getPointOfInterestStorage

      public PointOfInterestStorage getPointOfInterestStorage()
      Mappings:
      Namespace Name Mixin selector
      named getPointOfInterestStorage Lnet/minecraft/server/world/ServerChunkManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
      intermediary method_19493 Lnet/minecraft/class_3215;method_19493()Lnet/minecraft/class_4153;
      official l Lase;l()Lchj;
    • getChunkIoWorker

      public NbtScannable getChunkIoWorker()
      Mappings:
      Namespace Name Mixin selector
      named getChunkIoWorker Lnet/minecraft/server/world/ServerChunkManager;getChunkIoWorker()Lnet/minecraft/world/storage/NbtScannable;
      intermediary method_39777 Lnet/minecraft/class_3215;method_39777()Lnet/minecraft/class_6830;
      official m Lase;m()Leay;
    • getSpawnInfo

      @Nullable public SpawnHelper.Info getSpawnInfo()
      Mappings:
      Namespace Name Mixin selector
      named getSpawnInfo Lnet/minecraft/server/world/ServerChunkManager;getSpawnInfo()Lnet/minecraft/world/SpawnHelper$Info;
      intermediary method_27908 Lnet/minecraft/class_3215;method_27908()Lnet/minecraft/class_1948$class_5262;
      official n Lase;n()Ldhs$d;
    • removePersistentTickets

      public void removePersistentTickets()
      Mappings:
      Namespace Name Mixin selector
      named removePersistentTickets Lnet/minecraft/server/world/ServerChunkManager;removePersistentTickets()V
      intermediary method_39997 Lnet/minecraft/class_3215;method_39997()V
      official o Lase;o()V