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 abp
intermediary net/minecraft/class_3215
named net/minecraft/server/world/ServerChunkManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static List<ChunkStatus>
private Chunk[]
private ChunkGenerator
private long[]
private ChunkStatus[]
private static int
private long
(package private) ServerLightingProvider
private PersistentStateManager
(package private) Thread
private boolean
private SpawnHelper.Info
private boolean
private ChunkTicketManager
(package private) ServerWorld
-
Constructor Summary
ConstructorDescriptionServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, boolean bool, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier)
-
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
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
isFutureReady(long pos, Function<ChunkHolder,CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>> futureFunction)
private boolean
isMissingForLevel(@Nullable ChunkHolder holder, int maxLevel)
void
loadEntity(Entity entity)
void
markForUpdate(BlockPos pos)
boolean
method_37114(long long2)
void
onLightUpdate(LightType type, ChunkSectionPos pos)
private void
putInCache(long pos, Chunk chunk, ChunkStatus status)
<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)
(package private) boolean
tick()
void
tick(BooleanSupplier booleanSupplier)
private void
void
unloadEntity(Entity entity)
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
Labp;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;
-
field_29766
private static final int field_29766- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official m
Labp;m:I
intermediary field_29766
Lnet/minecraft/class_3215;field_29766:I
named field_29766
Lnet/minecraft/server/world/ServerChunkManager;field_29766:I
-
ticketManager
- Mappings:
Namespace Name Mixin selector official c
Labp;c:Labk;
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;
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official d
Labp;d:Lcmn;
intermediary field_13939
Lnet/minecraft/class_3215;field_13939:Lnet/minecraft/class_2794;
named chunkGenerator
Lnet/minecraft/server/world/ServerChunkManager;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
world
- Mappings:
Namespace Name Mixin selector official e
Labp;e:Labr;
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 f
Labp;f: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;
-
lightProvider
- Mappings:
Namespace Name Mixin selector official g
Labp;g:Labu;
intermediary field_13921
Lnet/minecraft/class_3215;field_13921:Lnet/minecraft/class_3227;
named lightProvider
Lnet/minecraft/server/world/ServerChunkManager;lightProvider:Lnet/minecraft/server/world/ServerLightingProvider;
-
mainThreadExecutor
- Mappings:
Namespace Name Mixin selector official h
Labp;h:Labp$a;
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
Labp;a:Labe;
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 i
Labp;i:Ldhx;
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 j
Labp;j: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 k
Labp;k: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 l
Labp;l: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 n
Labp;n:[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 o
Labp;o:[Lcmp;
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 p
Labp;p:[Lcml;
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;
-
spawnEntry
- Mappings:
Namespace Name Mixin selector official q
Labp;q:Lbwz$d;
intermediary field_24455
Lnet/minecraft/class_3215;field_24455:Lnet/minecraft/class_1948$class_5262;
named spawnEntry
Lnet/minecraft/server/world/ServerChunkManager;spawnEntry:Lnet/minecraft/world/SpawnHelper$Info;
-
-
Constructor Details
-
ServerChunkManager
public ServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, boolean bool, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier)- Mappings:
Namespace Name Mixin selector official <init>
Labp;<init>(Labr;Ldib$a;Lcom/mojang/datafixers/DataFixer;Ldcp;Ljava/util/concurrent/Executor;Lcmn;IZLaca;Lcob;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;IZLnet/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/StructureManager;Ljava/util/concurrent/Executor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;IZLnet/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
Labp;a()Labu;
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
Labp;b(J)Labd;
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
Labp;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
Labp;a(JLcml;Lcmp;)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
Lcmo;a(IILcmp;Z)Lcml;
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
Lcmo;a(II)Lcmw;
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 n
Labp;n()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
Labp;b(IILcmp;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
Labp;c(IILcmp;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
Labp;a(Labd;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
Lcmo;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
Lcmy;c(II)Lbvt;
intermediary method_12246
Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_1922;
named getChunk
Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/BlockView;
-
getWorld
- Mappings:
Namespace Name Mixin selector official c
Labp;c()Lbwp;
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
Labp;d()Z
intermediary method_19492
Lnet/minecraft/class_3215;method_19492()Z
named executeQueuedTasks
Lnet/minecraft/server/world/ServerChunkManager;executeQueuedTasks()Z
-
tick
boolean tick()- Mappings:
Namespace Name Mixin selector official o
Labp;o()Z
intermediary method_16155
Lnet/minecraft/class_3215;method_16155()Z
named tick
Lnet/minecraft/server/world/ServerChunkManager;tick()Z
-
method_37114
public boolean method_37114(long long2)- Mappings:
Namespace Name Mixin selector official a
Labp;a(J)Z
intermediary method_37114
Lnet/minecraft/class_3215;method_37114(J)Z
named method_37114
Lnet/minecraft/server/world/ServerChunkManager;method_37114(J)Z
-
isFutureReady
private boolean isFutureReady(long pos, Function<ChunkHolder,CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>> futureFunction)- Mappings:
Namespace Name Mixin selector official a
Labp;a(JLjava/util/function/Function;)Z
intermediary method_20585
Lnet/minecraft/class_3215;method_20585(JLjava/util/function/Function;)Z
named isFutureReady
Lnet/minecraft/server/world/ServerChunkManager;isFutureReady(JLjava/util/function/Function;)Z
-
save
public void save(boolean flush)- Mappings:
Namespace Name Mixin selector official a
Labp;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
Lcmo;a(Ljava/util/function/BooleanSupplier;)V
intermediary method_12127
Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;)V
named tick
Lnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;)V
-
tickChunks
private void tickChunks()- Mappings:
Namespace Name Mixin selector official p
Labp;p()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
Labp;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
Lcmo;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
Labp;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
Labp;g()Lcmn;
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;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCount
in classChunkManager
- Mappings:
Namespace Name Mixin selector official h
Lcmo;h()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
Labp;a(Lgg;)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
Lcmy;a(Lbwy;Lgz;)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
Labp;a(Labw;Lbvu;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
Labp;b(Labw;Lbvu;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
Lcmo;a(Lbvu;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
Labp;a(Labs;)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
Labp;a(Latf;)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
Labp;b(Latf;)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
Labp;a(Latf;Lpk;)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;)V
-
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector official b
Labp;b(Latf;Lpk;)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;)V
-
applyViewDistance
public void applyViewDistance(int watchDistance)- Mappings:
Namespace Name Mixin selector official a
Labp;a(I)V
intermediary method_14144
Lnet/minecraft/class_3215;method_14144(I)V
named applyViewDistance
Lnet/minecraft/server/world/ServerChunkManager;applyViewDistance(I)V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)- Overrides:
setMobSpawnOptions
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lcmo;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
Labp;a(Lbvu;)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 i
Labp;i()Ldhx;
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 j
Labp;j()Lbdm;
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;
-
getSpawnInfo
- Mappings:
Namespace Name Mixin selector official k
Labp;k()Lbwz$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;
-