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 official anb
intermediary net/minecraft/class_3215
named net/minecraft/server/world/ServerChunkManager
-
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<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> getChunkFuture
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> 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, 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 official b
Lanb;b:Ljava/util/List;
intermediary field_13934
Lnet/minecraft/class_3215;field_13934:Ljava/util/List;
named CHUNK_STATUSES
Lnet/minecraft/server/world/ServerChunkManager;CHUNK_STATUSES:Ljava/util/List;
-
CACHE_SIZE
private static final int CACHE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lanb;l:I
intermediary field_29766
Lnet/minecraft/class_3215;field_29766:I
named CACHE_SIZE
Lnet/minecraft/server/world/ServerChunkManager;CACHE_SIZE:I
-
ticketManager
- Mappings:
Namespace Name Mixin selector official c
Lanb;c:Lamv;
intermediary field_17252
Lnet/minecraft/class_3215;field_17252:Lnet/minecraft/class_3204;
named ticketManager
Lnet/minecraft/server/world/ServerChunkManager;ticketManager:Lnet/minecraft/server/world/ChunkTicketManager;
-
world
- Mappings:
Namespace Name Mixin selector official d
Lanb;d:Land;
intermediary field_13945
Lnet/minecraft/class_3215;field_13945:Lnet/minecraft/class_3218;
named world
Lnet/minecraft/server/world/ServerChunkManager;world:Lnet/minecraft/server/world/ServerWorld;
-
serverThread
- Mappings:
Namespace Name Mixin selector official e
Lanb;e:Ljava/lang/Thread;
intermediary field_17253
Lnet/minecraft/class_3215;field_17253:Ljava/lang/Thread;
named serverThread
Lnet/minecraft/server/world/ServerChunkManager;serverThread:Ljava/lang/Thread;
-
lightingProvider
- Mappings:
Namespace Name Mixin selector official f
Lanb;f:Lang;
intermediary field_13921
Lnet/minecraft/class_3215;field_13921:Lnet/minecraft/class_3227;
named lightingProvider
Lnet/minecraft/server/world/ServerChunkManager;lightingProvider:Lnet/minecraft/server/world/ServerLightingProvider;
-
mainThreadExecutor
- Mappings:
Namespace Name Mixin selector official g
Lanb;g:Lanb$b;
intermediary field_18809
Lnet/minecraft/class_3215;field_18809:Lnet/minecraft/class_3215$class_4212;
named mainThreadExecutor
Lnet/minecraft/server/world/ServerChunkManager;mainThreadExecutor:Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;
-
threadedAnvilChunkStorage
- Mappings:
Namespace Name Mixin selector official a
Lanb;a:Lamn;
intermediary field_17254
Lnet/minecraft/class_3215;field_17254:Lnet/minecraft/class_3898;
named threadedAnvilChunkStorage
Lnet/minecraft/server/world/ServerChunkManager;threadedAnvilChunkStorage:Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;
-
persistentStateManager
- Mappings:
Namespace Name Mixin selector official h
Lanb;h:Legh;
intermediary field_17708
Lnet/minecraft/class_3215;field_17708:Lnet/minecraft/class_26;
named persistentStateManager
Lnet/minecraft/server/world/ServerChunkManager;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;
-
lastMobSpawningTime
private long lastMobSpawningTime- Mappings:
Namespace Name Mixin selector official i
Lanb;i:J
intermediary field_13928
Lnet/minecraft/class_3215;field_13928:J
named lastMobSpawningTime
Lnet/minecraft/server/world/ServerChunkManager;lastMobSpawningTime:J
-
spawnMonsters
private boolean spawnMonsters- Mappings:
Namespace Name Mixin selector official j
Lanb;j:Z
intermediary field_13929
Lnet/minecraft/class_3215;field_13929:Z
named spawnMonsters
Lnet/minecraft/server/world/ServerChunkManager;spawnMonsters:Z
-
spawnAnimals
private boolean spawnAnimals- Mappings:
Namespace Name Mixin selector official k
Lanb;k:Z
intermediary field_13941
Lnet/minecraft/class_3215;field_13941:Z
named spawnAnimals
Lnet/minecraft/server/world/ServerChunkManager;spawnAnimals:Z
-
chunkPosCache
private final long[] chunkPosCache- Mappings:
Namespace Name Mixin selector official m
Lanb;m:[J
intermediary field_19335
Lnet/minecraft/class_3215;field_19335:[J
named chunkPosCache
Lnet/minecraft/server/world/ServerChunkManager;chunkPosCache:[J
-
chunkStatusCache
- Mappings:
Namespace Name Mixin selector official n
Lanb;n:[Ldli;
intermediary field_19336
Lnet/minecraft/class_3215;field_19336:[Lnet/minecraft/class_2806;
named chunkStatusCache
Lnet/minecraft/server/world/ServerChunkManager;chunkStatusCache:[Lnet/minecraft/world/chunk/ChunkStatus;
-
chunkCache
- Mappings:
Namespace Name Mixin selector official o
Lanb;o:[Ldld;
intermediary field_19337
Lnet/minecraft/class_3215;field_19337:[Lnet/minecraft/class_2791;
named chunkCache
Lnet/minecraft/server/world/ServerChunkManager;chunkCache:[Lnet/minecraft/world/chunk/Chunk;
-
spawnInfo
- Mappings:
Namespace Name Mixin selector official p
Lanb;p:Lcua$d;
intermediary field_24455
Lnet/minecraft/class_3215;field_24455:Lnet/minecraft/class_1948$class_5262;
named spawnInfo
Lnet/minecraft/server/world/ServerChunkManager;spawnInfo:Lnet/minecraft/world/SpawnHelper$Info;
-
-
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 official <init>
Lanb;<init>(Land;Legm$c;Lcom/mojang/datafixers/DataFixer;Ledh;Ljava/util/concurrent/Executor;Ldle;IIZLanm;Ldmx;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
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
-
-
Method Details
-
getLightingProvider
- Specified by:
getLightingProvider
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lanb;a()Lang;
intermediary method_17293
Lnet/minecraft/class_3215;method_17293()Lnet/minecraft/class_3227;
named getLightingProvider
Lnet/minecraft/server/world/ServerChunkManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;
-
getChunkHolder
- Mappings:
Namespace Name Mixin selector official b
Lanb;b(J)Laml;
intermediary method_14131
Lnet/minecraft/class_3215;method_14131(J)Lnet/minecraft/class_3193;
named getChunkHolder
Lnet/minecraft/server/world/ServerChunkManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;
-
getTotalChunksLoadedCount
public int getTotalChunksLoadedCount()- Mappings:
Namespace Name Mixin selector official b
Lanb;b()I
intermediary method_17301
Lnet/minecraft/class_3215;method_17301()I
named getTotalChunksLoadedCount
Lnet/minecraft/server/world/ServerChunkManager;getTotalChunksLoadedCount()I
-
putInCache
- Mappings:
Namespace Name Mixin selector official a
Lanb;a(JLdld;Ldli;)V
intermediary method_21738
Lnet/minecraft/class_3215;method_21738(JLnet/minecraft/class_2791;Lnet/minecraft/class_2806;)V
named putInCache
Lnet/minecraft/server/world/ServerChunkManager;putInCache(JLnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/chunk/ChunkStatus;)V
-
getChunk
- Specified by:
getChunk
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Ldlh;a(IILdli;Z)Ldld;
intermediary method_12121
Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
named getChunk
Lnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
-
getWorldChunk
- Overrides:
getWorldChunk
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Ldlh;a(II)Ldlo;
intermediary method_21730
Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;
named getWorldChunk
Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;
-
initChunkCaches
private void initChunkCaches()- Mappings:
Namespace Name Mixin selector official r
Lanb;r()V
intermediary method_20587
Lnet/minecraft/class_3215;method_20587()V
named initChunkCaches
Lnet/minecraft/server/world/ServerChunkManager;initChunkCaches()V
-
getChunkFutureSyncOnMainThread
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Mappings:
Namespace Name Mixin selector official b
Lanb;b(IILdli;Z)Ljava/util/concurrent/CompletableFuture;
intermediary method_17299
Lnet/minecraft/class_3215;method_17299(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;
named getChunkFutureSyncOnMainThread
Lnet/minecraft/server/world/ServerChunkManager;getChunkFutureSyncOnMainThread(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;
-
getChunkFuture
private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getChunkFuture(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Mappings:
Namespace Name Mixin selector official c
Lanb;c(IILdli;Z)Ljava/util/concurrent/CompletableFuture;
intermediary method_14134
Lnet/minecraft/class_3215;method_14134(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;
named getChunkFuture
Lnet/minecraft/server/world/ServerChunkManager;getChunkFuture(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;
-
isMissingForLevel
- Mappings:
Namespace Name Mixin selector official a
Lanb;a(Laml;I)Z
intermediary method_18752
Lnet/minecraft/class_3215;method_18752(Lnet/minecraft/class_3193;I)Z
named isMissingForLevel
Lnet/minecraft/server/world/ServerChunkManager;isMissingForLevel(Lnet/minecraft/server/world/ChunkHolder;I)Z
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z) - Overrides:
isChunkLoaded
in classChunkManager
- Mappings:
Namespace Name Mixin selector official b
Ldlh;b(II)Z
intermediary method_12123
Lnet/minecraft/class_2802;method_12123(II)Z
named isChunkLoaded
Lnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Z
-
getChunk
- Specified by:
getChunk
in interfaceChunkProvider
- Overrides:
getChunk
in classChunkManager
- Mappings:
Namespace Name Mixin selector official c
Ldlr;c(II)Ldlq;
intermediary method_12246
Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_8527;
named getChunk
Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/light/LightSourceView;
-
getWorld
- Mappings:
Namespace Name Mixin selector official c
Lanb;c()Lctp;
intermediary method_16434
Lnet/minecraft/class_3215;method_16434()Lnet/minecraft/class_1937;
named getWorld
Lnet/minecraft/server/world/ServerChunkManager;getWorld()Lnet/minecraft/world/World;
-
executeQueuedTasks
public boolean executeQueuedTasks()- Mappings:
Namespace Name Mixin selector official d
Lanb;d()Z
intermediary method_19492
Lnet/minecraft/class_3215;method_19492()Z
named executeQueuedTasks
Lnet/minecraft/server/world/ServerChunkManager;executeQueuedTasks()Z
-
updateChunks
boolean updateChunks()Update expected chunk loading states by updatingPLAYER
tickets andFuture
s.- Mappings:
Namespace Name Mixin selector official s
Lanb;s()Z
intermediary method_16155
Lnet/minecraft/class_3215;method_16155()Z
named updateChunks
Lnet/minecraft/server/world/ServerChunkManager;updateChunks()Z
-
isTickingFutureReady
public boolean isTickingFutureReady(long pos) - Mappings:
Namespace Name Mixin selector official a
Lanb;a(J)Z
intermediary method_37114
Lnet/minecraft/class_3215;method_37114(J)Z
named isTickingFutureReady
Lnet/minecraft/server/world/ServerChunkManager;isTickingFutureReady(J)Z
-
save
public void save(boolean flush) - Mappings:
Namespace Name Mixin selector official a
Lanb;a(Z)V
intermediary method_17298
Lnet/minecraft/class_3215;method_17298(Z)V
named save
Lnet/minecraft/server/world/ServerChunkManager;save(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 official a
Ldlh;a(Ljava/util/function/BooleanSupplier;Z)V
intermediary method_12127
Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)V
named tick
Lnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)V
-
tickChunks
private void tickChunks()- Mappings:
Namespace Name Mixin selector official t
Lanb;t()V
intermediary method_14161
Lnet/minecraft/class_3215;method_14161()V
named tickChunks
Lnet/minecraft/server/world/ServerChunkManager;tickChunks()V
-
ifChunkLoaded
- Mappings:
Namespace Name Mixin selector official a
Lanb;a(JLjava/util/function/Consumer;)V
intermediary method_27907
Lnet/minecraft/class_3215;method_27907(JLjava/util/function/Consumer;)V
named ifChunkLoaded
Lnet/minecraft/server/world/ServerChunkManager;ifChunkLoaded(JLjava/util/function/Consumer;)V
-
getDebugString
- Specified by:
getDebugString
in classChunkManager
- Mappings:
Namespace Name Mixin selector official e
Ldlh;e()Ljava/lang/String;
intermediary method_12122
Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;
named getDebugString
Lnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;
-
getPendingTasks
public int getPendingTasks()- Mappings:
Namespace Name Mixin selector official f
Lanb;f()I
intermediary method_21694
Lnet/minecraft/class_3215;method_21694()I
named getPendingTasks
Lnet/minecraft/server/world/ServerChunkManager;getPendingTasks()I
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector official g
Lanb;g()Ldle;
intermediary method_12129
Lnet/minecraft/class_3215;method_12129()Lnet/minecraft/class_2794;
named getChunkGenerator
Lnet/minecraft/server/world/ServerChunkManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
getStructurePlacementCalculator
- Mappings:
Namespace Name Mixin selector official h
Lanb;h()Ldlf;
intermediary method_46642
Lnet/minecraft/class_3215;method_46642()Lnet/minecraft/class_7869;
named getStructurePlacementCalculator
Lnet/minecraft/server/world/ServerChunkManager;getStructurePlacementCalculator()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;
-
getNoiseConfig
- Mappings:
Namespace Name Mixin selector official i
Lanb;i()Ldpe;
intermediary method_41248
Lnet/minecraft/class_3215;method_41248()Lnet/minecraft/class_7138;
named getNoiseConfig
Lnet/minecraft/server/world/ServerChunkManager;getNoiseConfig()Lnet/minecraft/world/gen/noise/NoiseConfig;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCount
in classChunkManager
- Mappings:
Namespace Name Mixin selector official j
Ldlh;j()I
intermediary method_14151
Lnet/minecraft/class_2802;method_14151()I
named getLoadedChunkCount
Lnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()I
-
markForUpdate
- Mappings:
Namespace Name Mixin selector official a
Lanb;a(Lhx;)V
intermediary method_14128
Lnet/minecraft/class_3215;method_14128(Lnet/minecraft/class_2338;)V
named markForUpdate
Lnet/minecraft/server/world/ServerChunkManager;markForUpdate(Lnet/minecraft/util/math/BlockPos;)V
-
onLightUpdate
- Mappings:
Namespace Name Mixin selector official a
Ldlr;a(Lcty;Liz;)V
intermediary method_12247
Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)V
named onLightUpdate
Lnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)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 official a
Lanb;a(Lani;Lcsw;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
named addTicket
Lnet/minecraft/server/world/ServerChunkManager;addTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;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 official b
Lanb;b(Lani;Lcsw;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
named removeTicket
Lnet/minecraft/server/world/ServerChunkManager;removeTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
-
setChunkForced
- Overrides:
setChunkForced
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Ldlh;a(Lcsw;Z)V
intermediary method_12124
Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)V
named setChunkForced
Lnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;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 official a
Lanb;a(Lane;)V
intermediary method_14096
Lnet/minecraft/class_3215;method_14096(Lnet/minecraft/class_3222;)V
named updatePosition
Lnet/minecraft/server/world/ServerChunkManager;updatePosition(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
unloadEntity
- Mappings:
Namespace Name Mixin selector official a
Lanb;a(Lblv;)V
intermediary method_18753
Lnet/minecraft/class_3215;method_18753(Lnet/minecraft/class_1297;)V
named unloadEntity
Lnet/minecraft/server/world/ServerChunkManager;unloadEntity(Lnet/minecraft/entity/Entity;)V
-
loadEntity
- Mappings:
Namespace Name Mixin selector official b
Lanb;b(Lblv;)V
intermediary method_18755
Lnet/minecraft/class_3215;method_18755(Lnet/minecraft/class_1297;)V
named loadEntity
Lnet/minecraft/server/world/ServerChunkManager;loadEntity(Lnet/minecraft/entity/Entity;)V
-
sendToNearbyPlayers
- Mappings:
Namespace Name Mixin selector official a
Lanb;a(Lblv;Lxf;)V
intermediary method_18751
Lnet/minecraft/class_3215;method_18751(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)V
named sendToNearbyPlayers
Lnet/minecraft/server/world/ServerChunkManager;sendToNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)V
-
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector official b
Lanb;b(Lblv;Lxf;)V
intermediary method_18754
Lnet/minecraft/class_3215;method_18754(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)V
named sendToOtherNearbyPlayers
Lnet/minecraft/server/world/ServerChunkManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)V
-
applyViewDistance
public void applyViewDistance(int watchDistance) - Mappings:
Namespace Name Mixin selector official a
Lanb;a(I)V
intermediary method_14144
Lnet/minecraft/class_3215;method_14144(I)V
named applyViewDistance
Lnet/minecraft/server/world/ServerChunkManager;applyViewDistance(I)V
-
applySimulationDistance
public void applySimulationDistance(int simulationDistance) - Mappings:
Namespace Name Mixin selector official b
Lanb;b(I)V
intermediary method_38634
Lnet/minecraft/class_3215;method_38634(I)V
named applySimulationDistance
Lnet/minecraft/server/world/ServerChunkManager;applySimulationDistance(I)V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals) - Overrides:
setMobSpawnOptions
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Ldlh;a(ZZ)V
intermediary method_12128
Lnet/minecraft/class_2802;method_12128(ZZ)V
named setMobSpawnOptions
Lnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(ZZ)V
-
getChunkLoadingDebugInfo
- Mappings:
Namespace Name Mixin selector official a
Lanb;a(Lcsw;)Ljava/lang/String;
intermediary method_23273
Lnet/minecraft/class_3215;method_23273(Lnet/minecraft/class_1923;)Ljava/lang/String;
named getChunkLoadingDebugInfo
Lnet/minecraft/server/world/ServerChunkManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector official k
Lanb;k()Legh;
intermediary method_17981
Lnet/minecraft/class_3215;method_17981()Lnet/minecraft/class_26;
named getPersistentStateManager
Lnet/minecraft/server/world/ServerChunkManager;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector official l
Lanb;l()Lbxm;
intermediary method_19493
Lnet/minecraft/class_3215;method_19493()Lnet/minecraft/class_4153;
named getPointOfInterestStorage
Lnet/minecraft/server/world/ServerChunkManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
-
getChunkIoWorker
- Mappings:
Namespace Name Mixin selector official m
Lanb;m()Ldmd;
intermediary method_39777
Lnet/minecraft/class_3215;method_39777()Lnet/minecraft/class_6830;
named getChunkIoWorker
Lnet/minecraft/server/world/ServerChunkManager;getChunkIoWorker()Lnet/minecraft/world/storage/NbtScannable;
-
getSpawnInfo
- Mappings:
Namespace Name Mixin selector official n
Lanb;n()Lcua$d;
intermediary method_27908
Lnet/minecraft/class_3215;method_27908()Lnet/minecraft/class_1948$class_5262;
named getSpawnInfo
Lnet/minecraft/server/world/ServerChunkManager;getSpawnInfo()Lnet/minecraft/world/SpawnHelper$Info;
-
removePersistentTickets
public void removePersistentTickets()- Mappings:
Namespace Name Mixin selector official o
Lanb;o()V
intermediary method_39997
Lnet/minecraft/class_3215;method_39997()V
named removePersistentTickets
Lnet/minecraft/server/world/ServerChunkManager;removePersistentTickets()V
-