Package net.minecraft.server.world
Class ServerChunkManager
java.lang.Object
net.minecraft.world.chunk.ChunkManager
net.minecraft.server.world.ServerChunkManager
- All Implemented Interfaces:
AutoCloseable
,ChunkProvider
- Mappings:
Namespace Name named net/minecraft/server/world/ServerChunkManager
intermediary net/minecraft/class_3215
official ard
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
private final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final List
<ChunkStatus> private final Chunk[]
private final long[]
private final ChunkStatus[]
private long
(package private) final ServerLightingProvider
private final ServerChunkManager.MainThreadExecutor
private final PersistentStateManager
(package private) final Thread
private boolean
private SpawnHelper.Info
private boolean
private final ChunkTicketManager
(package private) final ServerWorld
-
Constructor Summary
ConstructorDescriptionServerChunkManager
(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) -
Method Summary
Modifier and TypeMethodDescription<T> void
addTicket
(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument) Adds a chunk ticket to the ticket manager.void
applySimulationDistance
(int simulationDistance) void
applyViewDistance
(int watchDistance) void
close()
boolean
getChunk
(int chunkX, int chunkZ) getChunk
(int x, int z, ChunkStatus leastStatus, boolean create) private CompletableFuture
<OptionalChunk<Chunk>> getChunkFuture
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) getChunkFutureSyncOnMainThread
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) private @Nullable ChunkHolder
getChunkHolder
(long pos) int
int
int
getWorld()
getWorldChunk
(int chunkX, int chunkZ) private void
ifChunkLoaded
(long pos, Consumer<WorldChunk> chunkConsumer) private void
boolean
isChunkLoaded
(int x, int z) private boolean
isMissingForLevel
(@Nullable ChunkHolder holder, int maxLevel) boolean
isTickingFutureReady
(long pos) void
loadEntity
(Entity entity) void
markForUpdate
(BlockPos pos) void
onLightUpdate
(LightType type, ChunkSectionPos pos) private void
putInCache
(long pos, @Nullable Chunk chunk, ChunkStatus status) void
<T> void
removeTicket
(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument) Removes a chunk ticket from the ticket manager.void
save
(boolean flush) void
sendToNearbyPlayers
(Entity entity, Packet<?> packet) void
sendToOtherNearbyPlayers
(Entity entity, Packet<?> packet) void
setChunkForced
(ChunkPos pos, boolean forced) void
setMobSpawnOptions
(boolean spawnMonsters, boolean spawnAnimals) void
tick
(BooleanSupplier shouldKeepTicking, boolean tickChunks) private void
void
unloadEntity
(Entity entity) (package private) boolean
Update expected chunk loading states by updatingPLAYER
tickets andFuture
s.void
updatePosition
(ServerPlayerEntity player) Updates the chunk section position of theplayer
.Methods inherited from class net.minecraft.world.chunk.ChunkManager
getWorldChunk
-
Field Details
-
CHUNK_STATUSES
- Mappings:
Namespace Name Mixin selector named CHUNK_STATUSES
Lnet/minecraft/server/world/ServerChunkManager;CHUNK_STATUSES:Ljava/util/List;
intermediary field_13934
Lnet/minecraft/class_3215;field_13934:Ljava/util/List;
official b
Lard;b:Ljava/util/List;
-
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
Lard;l:I
-
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
Lard;c:Laqx;
-
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
Lard;d:Larf;
-
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
Lard;e:Ljava/lang/Thread;
-
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
Lard;f:Lari;
-
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
Lard;g:Lard$b;
-
threadedAnvilChunkStorage
- Mappings:
Namespace Name Mixin selector named threadedAnvilChunkStorage
Lnet/minecraft/server/world/ServerChunkManager;threadedAnvilChunkStorage:Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;
intermediary field_17254
Lnet/minecraft/class_3215;field_17254:Lnet/minecraft/class_3898;
official a
Lard;a:Laqo;
-
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
Lard;h:Leps;
-
lastMobSpawningTime
private long lastMobSpawningTime- Mappings:
Namespace Name Mixin selector named lastMobSpawningTime
Lnet/minecraft/server/world/ServerChunkManager;lastMobSpawningTime:J
intermediary field_13928
Lnet/minecraft/class_3215;field_13928:J
official i
Lard;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
Lard;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
Lard;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
Lard;m:[J
-
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
Lard;n:[Lduz;
-
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
Lard;o:[Ldua;
-
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 p
Lard;p:Ldcl$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>
Lard;<init>(Larf;Lepy$c;Lcom/mojang/datafixers/DataFixer;Lemn;Ljava/util/concurrent/Executor;Ldub;IIZLaro;Ldwd;Ljava/util/function/Supplier;)V
-
-
Method Details
-
getLightingProvider
- Specified by:
getLightingProvider
in classChunkManager
- 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
Lard;a()Lari;
-
getChunkHolder
- 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
Lard;b(J)Laqm;
-
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
Lard;b()I
-
putInCache
- 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
Lard;a(JLdua;Lduz;)V
-
getChunk
- Specified by:
getChunk
in classChunkManager
- 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
Ldue;a(IILduz;Z)Ldua;
-
getWorldChunk
- Overrides:
getWorldChunk
in classChunkManager
- 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
Ldue;a(II)Lduk;
-
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
Lard;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
Lard;b(IILduz;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
Lard;c(IILduz;Z)Ljava/util/concurrent/CompletableFuture;
-
isMissingForLevel
- 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
Lard;a(Laqm;I)Z
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z) - Overrides:
isChunkLoaded
in classChunkManager
- 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
Ldue;b(II)Z
-
getChunk
- Specified by:
getChunk
in interfaceChunkProvider
- Overrides:
getChunk
in classChunkManager
- 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
Ldun;c(II)Ldum;
-
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
Lard;c()Ldca;
-
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
Lard;d()Z
-
updateChunks
boolean updateChunks()Update expected chunk loading states by updatingPLAYER
tickets andFuture
s.- 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
Lard;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
Lard;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
Lard;a(Z)V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classChunkManager
- Throws:
IOException
-
tick
- Specified by:
tick
in classChunkManager
- 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
Ldue;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
Lard;t()V
-
ifChunkLoaded
- 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
Lard;a(JLjava/util/function/Consumer;)V
-
getDebugString
- Specified by:
getDebugString
in classChunkManager
- 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
Ldue;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
Lard;f()I
-
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
Lard;g()Ldub;
-
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
Lard;h()Lduc;
-
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
Lard;i()Ldyk;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCount
in classChunkManager
- 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
Ldue;j()I
-
markForUpdate
- 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
Lard;a(Liz;)V
-
onLightUpdate
- 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
Ldun;a(Ldcj;Lkb;)V
-
addTicket
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
Lard;a(Lark;Ldbh;ILjava/lang/Object;)V
-
removeTicket
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
Lard;b(Lark;Ldbh;ILjava/lang/Object;)V
-
setChunkForced
- Overrides:
setChunkForced
in classChunkManager
- 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
Ldue;a(Ldbh;Z)V
-
updatePosition
Updates the chunk section position of theplayer
. 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
Lard;a(Larg;)V
-
unloadEntity
- 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
Lard;a(Lbsw;)V
-
loadEntity
- 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
Lard;b(Lbsw;)V
-
sendToNearbyPlayers
- 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
Lard;a(Lbsw;Lzw;)V
-
sendToOtherNearbyPlayers
- 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
Lard;b(Lbsw;Lzw;)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
Lard;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
Lard;b(I)V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals) - Overrides:
setMobSpawnOptions
in classChunkManager
- Mappings:
Namespace Name Mixin selector named setMobSpawnOptions
Lnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(ZZ)V
intermediary method_12128
Lnet/minecraft/class_2802;method_12128(ZZ)V
official a
Ldue;a(ZZ)V
-
getChunkLoadingDebugInfo
- 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
Lard;a(Ldbh;)Ljava/lang/String;
-
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
Lard;k()Leps;
-
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
Lard;l()Lcev;
-
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
Lard;m()Ldvf;
-
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
Lard;n()Ldcl$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
Lard;o()V
-