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 abhintermediary net/minecraft/class_3215named net/minecraft/server/world/ServerChunkManager
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static List<ChunkStatus>private Chunk[]private ChunkGeneratorprivate long[]private ChunkStatus[]private static intprivate longprivate ServerLightingProviderprivate PersistentStateManagerprivate Threadprivate booleanprivate SpawnHelper.Infoprivate booleanprivate ChunkTicketManagerprivate ServerWorld -
Constructor Summary
ConstructorsConstructorDescriptionServerChunkManager(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> voidaddTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)Adds a chunk ticket to the ticket manager.voidapplyViewDistance(int watchDistance)voidclose()booleangetChunk(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 ChunkHoldergetChunkHolder(long pos)intintintgetWorld()getWorldChunk(int chunkX, int chunkZ)private voidifChunkLoaded(long pos, Consumer<WorldChunk> chunkConsumer)private voidbooleanisChunkLoaded(int x, int z)private booleanisFutureReady(long pos, Function<ChunkHolder,CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>> futureFunction)private booleanisMissingForLevel(@Nullable ChunkHolder holder, int maxLevel)voidloadEntity(Entity entity)voidmarkForUpdate(BlockPos pos)voidonLightUpdate(LightType type, ChunkSectionPos pos)private voidputInCache(long pos, Chunk chunk, ChunkStatus status)<T> voidremoveTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)Removes a chunk ticket from the ticket manager.voidsave(boolean flush)voidsendToNearbyPlayers(Entity entity, Packet<?> packet)voidsendToOtherNearbyPlayers(Entity entity, Packet<?> packet)voidsetChunkForced(ChunkPos pos, boolean forced)voidsetMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)booleanshouldTickBlock(BlockPos pos)booleanshouldTickChunk(ChunkPos pos)private booleantick()voidtick(BooleanSupplier booleanSupplier)private voidvoidunloadEntity(Entity entity)voidupdatePosition(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 bLabh;b:Ljava/util/List;intermediary field_13934Lnet/minecraft/class_3215;field_13934:Ljava/util/List;named CHUNK_STATUSESLnet/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 mLabh;m:Iintermediary field_29766Lnet/minecraft/class_3215;field_29766:Inamed field_29766Lnet/minecraft/server/world/ServerChunkManager;field_29766:I
-
ticketManager
- Mappings:
Namespace Name Mixin selector official cLabh;c:Labc;intermediary field_17252Lnet/minecraft/class_3215;field_17252:Lnet/minecraft/class_3204;named ticketManagerLnet/minecraft/server/world/ServerChunkManager;ticketManager:Lnet/minecraft/server/world/ChunkTicketManager;
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official dLabh;d:Lcls;intermediary field_13939Lnet/minecraft/class_3215;field_13939:Lnet/minecraft/class_2794;named chunkGeneratorLnet/minecraft/server/world/ServerChunkManager;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
world
- Mappings:
Namespace Name Mixin selector official eLabh;e:Labj;intermediary field_13945Lnet/minecraft/class_3215;field_13945:Lnet/minecraft/class_3218;named worldLnet/minecraft/server/world/ServerChunkManager;world:Lnet/minecraft/server/world/ServerWorld;
-
serverThread
- Mappings:
Namespace Name Mixin selector official fLabh;f:Ljava/lang/Thread;intermediary field_17253Lnet/minecraft/class_3215;field_17253:Ljava/lang/Thread;named serverThreadLnet/minecraft/server/world/ServerChunkManager;serverThread:Ljava/lang/Thread;
-
lightProvider
- Mappings:
Namespace Name Mixin selector official gLabh;g:Labm;intermediary field_13921Lnet/minecraft/class_3215;field_13921:Lnet/minecraft/class_3227;named lightProviderLnet/minecraft/server/world/ServerChunkManager;lightProvider:Lnet/minecraft/server/world/ServerLightingProvider;
-
mainThreadExecutor
- Mappings:
Namespace Name Mixin selector official hLabh;h:Labh$a;intermediary field_18809Lnet/minecraft/class_3215;field_18809:Lnet/minecraft/class_3215$class_4212;named mainThreadExecutorLnet/minecraft/server/world/ServerChunkManager;mainThreadExecutor:Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;
-
threadedAnvilChunkStorage
- Mappings:
Namespace Name Mixin selector official aLabh;a:Laaw;intermediary field_17254Lnet/minecraft/class_3215;field_17254:Lnet/minecraft/class_3898;named threadedAnvilChunkStorageLnet/minecraft/server/world/ServerChunkManager;threadedAnvilChunkStorage:Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;
-
persistentStateManager
- Mappings:
Namespace Name Mixin selector official iLabh;i:Ldgy;intermediary field_17708Lnet/minecraft/class_3215;field_17708:Lnet/minecraft/class_26;named persistentStateManagerLnet/minecraft/server/world/ServerChunkManager;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;
-
lastMobSpawningTime
private long lastMobSpawningTime- Mappings:
Namespace Name Mixin selector official jLabh;j:Jintermediary field_13928Lnet/minecraft/class_3215;field_13928:Jnamed lastMobSpawningTimeLnet/minecraft/server/world/ServerChunkManager;lastMobSpawningTime:J
-
spawnMonsters
private boolean spawnMonsters- Mappings:
Namespace Name Mixin selector official kLabh;k:Zintermediary field_13929Lnet/minecraft/class_3215;field_13929:Znamed spawnMonstersLnet/minecraft/server/world/ServerChunkManager;spawnMonsters:Z
-
spawnAnimals
private boolean spawnAnimals- Mappings:
Namespace Name Mixin selector official lLabh;l:Zintermediary field_13941Lnet/minecraft/class_3215;field_13941:Znamed spawnAnimalsLnet/minecraft/server/world/ServerChunkManager;spawnAnimals:Z
-
chunkPosCache
private final long[] chunkPosCache- Mappings:
Namespace Name Mixin selector official nLabh;n:[Jintermediary field_19335Lnet/minecraft/class_3215;field_19335:[Jnamed chunkPosCacheLnet/minecraft/server/world/ServerChunkManager;chunkPosCache:[J
-
chunkStatusCache
- Mappings:
Namespace Name Mixin selector official oLabh;o:[Lclu;intermediary field_19336Lnet/minecraft/class_3215;field_19336:[Lnet/minecraft/class_2806;named chunkStatusCacheLnet/minecraft/server/world/ServerChunkManager;chunkStatusCache:[Lnet/minecraft/world/chunk/ChunkStatus;
-
chunkCache
- Mappings:
Namespace Name Mixin selector official pLabh;p:[Lclq;intermediary field_19337Lnet/minecraft/class_3215;field_19337:[Lnet/minecraft/class_2791;named chunkCacheLnet/minecraft/server/world/ServerChunkManager;chunkCache:[Lnet/minecraft/world/chunk/Chunk;
-
spawnEntry
- Mappings:
Namespace Name Mixin selector official qLabh;q:Lbwh$d;intermediary field_24455Lnet/minecraft/class_3215;field_24455:Lnet/minecraft/class_1948$class_5262;named spawnEntryLnet/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>Labh;<init>(Labj;Ldhc$a;Lcom/mojang/datafixers/DataFixer;Ldbq;Ljava/util/concurrent/Executor;Lcls;IZLabs;Lcng;Ljava/util/function/Supplier;)Vintermediary <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;)Vnamed <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:
getLightingProviderin classChunkManager- Mappings:
Namespace Name Mixin selector official aLabh;a()Labm;intermediary method_17293Lnet/minecraft/class_3215;method_17293()Lnet/minecraft/class_3227;named getLightingProviderLnet/minecraft/server/world/ServerChunkManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;
-
getChunkHolder
- Mappings:
Namespace Name Mixin selector official aLabh;a(J)Laav;intermediary method_14131Lnet/minecraft/class_3215;method_14131(J)Lnet/minecraft/class_3193;named getChunkHolderLnet/minecraft/server/world/ServerChunkManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;
-
getTotalChunksLoadedCount
public int getTotalChunksLoadedCount()- Mappings:
Namespace Name Mixin selector official bLabh;b()Iintermediary method_17301Lnet/minecraft/class_3215;method_17301()Inamed getTotalChunksLoadedCountLnet/minecraft/server/world/ServerChunkManager;getTotalChunksLoadedCount()I
-
putInCache
- Mappings:
Namespace Name Mixin selector official aLabh;a(JLclq;Lclu;)Vintermediary method_21738Lnet/minecraft/class_3215;method_21738(JLnet/minecraft/class_2791;Lnet/minecraft/class_2806;)Vnamed putInCacheLnet/minecraft/server/world/ServerChunkManager;putInCache(JLnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/chunk/ChunkStatus;)V
-
getChunk
- Specified by:
getChunkin classChunkManager- Mappings:
Namespace Name Mixin selector official aLclt;a(IILclu;Z)Lclq;intermediary method_12121Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;named getChunkLnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
-
getWorldChunk
- Overrides:
getWorldChunkin classChunkManager- Mappings:
Namespace Name Mixin selector official aLclt;a(II)Lcmb;intermediary method_21730Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;named getWorldChunkLnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;
-
initChunkCaches
private void initChunkCaches()- Mappings:
Namespace Name Mixin selector official nLabh;n()Vintermediary method_20587Lnet/minecraft/class_3215;method_20587()Vnamed initChunkCachesLnet/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 bLabh;b(IILclu;Z)Ljava/util/concurrent/CompletableFuture;intermediary method_17299Lnet/minecraft/class_3215;method_17299(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;named getChunkFutureSyncOnMainThreadLnet/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 cLabh;c(IILclu;Z)Ljava/util/concurrent/CompletableFuture;intermediary method_14134Lnet/minecraft/class_3215;method_14134(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;named getChunkFutureLnet/minecraft/server/world/ServerChunkManager;getChunkFuture(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;
-
isMissingForLevel
- Mappings:
Namespace Name Mixin selector official aLabh;a(Laav;I)Zintermediary method_18752Lnet/minecraft/class_3215;method_18752(Lnet/minecraft/class_3193;I)Znamed isMissingForLevelLnet/minecraft/server/world/ServerChunkManager;isMissingForLevel(Lnet/minecraft/server/world/ChunkHolder;I)Z
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z)- Overrides:
isChunkLoadedin classChunkManager- Mappings:
Namespace Name Mixin selector official bLclt;b(II)Zintermediary method_12123Lnet/minecraft/class_2802;method_12123(II)Znamed isChunkLoadedLnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Z
-
getChunk
- Specified by:
getChunkin interfaceChunkProvider- Overrides:
getChunkin classChunkManager- Mappings:
Namespace Name Mixin selector official cLcmd;c(II)Lbvb;intermediary method_12246Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_1922;named getChunkLnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/BlockView;
-
getWorld
- Mappings:
Namespace Name Mixin selector official cLabh;c()Lbvx;intermediary method_16434Lnet/minecraft/class_3215;method_16434()Lnet/minecraft/class_1937;named getWorldLnet/minecraft/server/world/ServerChunkManager;getWorld()Lnet/minecraft/world/World;
-
executeQueuedTasks
public boolean executeQueuedTasks()- Mappings:
Namespace Name Mixin selector official dLabh;d()Zintermediary method_19492Lnet/minecraft/class_3215;method_19492()Znamed executeQueuedTasksLnet/minecraft/server/world/ServerChunkManager;executeQueuedTasks()Z
-
tick
private boolean tick()- Mappings:
Namespace Name Mixin selector official oLabh;o()Zintermediary method_16155Lnet/minecraft/class_3215;method_16155()Znamed tickLnet/minecraft/server/world/ServerChunkManager;tick()Z
-
shouldTickChunk
- Overrides:
shouldTickChunkin classChunkManager- Mappings:
Namespace Name Mixin selector official aLclt;a(Lbvc;)Zintermediary method_20591Lnet/minecraft/class_2802;method_20591(Lnet/minecraft/class_1923;)Znamed shouldTickChunkLnet/minecraft/world/chunk/ChunkManager;shouldTickChunk(Lnet/minecraft/util/math/ChunkPos;)Z
-
shouldTickBlock
- Overrides:
shouldTickBlockin classChunkManager- Mappings:
Namespace Name Mixin selector official aLclt;a(Lgb;)Zintermediary method_20529Lnet/minecraft/class_2802;method_20529(Lnet/minecraft/class_2338;)Znamed shouldTickBlockLnet/minecraft/world/chunk/ChunkManager;shouldTickBlock(Lnet/minecraft/util/math/BlockPos;)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 aLabh;a(JLjava/util/function/Function;)Zintermediary method_20585Lnet/minecraft/class_3215;method_20585(JLjava/util/function/Function;)Znamed isFutureReadyLnet/minecraft/server/world/ServerChunkManager;isFutureReady(JLjava/util/function/Function;)Z
-
save
public void save(boolean flush)- Mappings:
Namespace Name Mixin selector official aLabh;a(Z)Vintermediary method_17298Lnet/minecraft/class_3215;method_17298(Z)Vnamed saveLnet/minecraft/server/world/ServerChunkManager;save(Z)V
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classChunkManager- Throws:
IOException- Mappings:
Namespace Name Mixin selector official closeLclt;close()Vintermediary closeLnet/minecraft/class_2802;close()Vnamed closeLnet/minecraft/world/chunk/ChunkManager;close()V
-
tick
- Specified by:
tickin classChunkManager- Mappings:
Namespace Name Mixin selector official aLclt;a(Ljava/util/function/BooleanSupplier;)Vintermediary method_12127Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;)Vnamed tickLnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;)V
-
tickChunks
private void tickChunks()- Mappings:
Namespace Name Mixin selector official pLabh;p()Vintermediary method_14161Lnet/minecraft/class_3215;method_14161()Vnamed tickChunksLnet/minecraft/server/world/ServerChunkManager;tickChunks()V
-
ifChunkLoaded
- Mappings:
Namespace Name Mixin selector official aLabh;a(JLjava/util/function/Consumer;)Vintermediary method_27907Lnet/minecraft/class_3215;method_27907(JLjava/util/function/Consumer;)Vnamed ifChunkLoadedLnet/minecraft/server/world/ServerChunkManager;ifChunkLoaded(JLjava/util/function/Consumer;)V
-
getDebugString
- Specified by:
getDebugStringin classChunkManager- Mappings:
Namespace Name Mixin selector official eLclt;e()Ljava/lang/String;intermediary method_12122Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;named getDebugStringLnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;
-
getPendingTasks
public int getPendingTasks()- Mappings:
Namespace Name Mixin selector official fLabh;f()Iintermediary method_21694Lnet/minecraft/class_3215;method_21694()Inamed getPendingTasksLnet/minecraft/server/world/ServerChunkManager;getPendingTasks()I
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector official gLabh;g()Lcls;intermediary method_12129Lnet/minecraft/class_3215;method_12129()Lnet/minecraft/class_2794;named getChunkGeneratorLnet/minecraft/server/world/ServerChunkManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCountin classChunkManager- Mappings:
Namespace Name Mixin selector official hLclt;h()Iintermediary method_14151Lnet/minecraft/class_2802;method_14151()Inamed getLoadedChunkCountLnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()I
-
markForUpdate
- Mappings:
Namespace Name Mixin selector official bLabh;b(Lgb;)Vintermediary method_14128Lnet/minecraft/class_3215;method_14128(Lnet/minecraft/class_2338;)Vnamed markForUpdateLnet/minecraft/server/world/ServerChunkManager;markForUpdate(Lnet/minecraft/util/math/BlockPos;)V
-
onLightUpdate
- Mappings:
Namespace Name Mixin selector official aLcmd;a(Lbwg;Lgu;)Vintermediary method_12247Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Vnamed onLightUpdateLnet/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 aLabh;a(Labo;Lbvc;ILjava/lang/Object;)Vintermediary method_17297Lnet/minecraft/class_3215;method_17297(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)Vnamed addTicketLnet/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 bLabh;b(Labo;Lbvc;ILjava/lang/Object;)Vintermediary method_17300Lnet/minecraft/class_3215;method_17300(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)Vnamed removeTicketLnet/minecraft/server/world/ServerChunkManager;removeTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
-
setChunkForced
- Overrides:
setChunkForcedin classChunkManager- Mappings:
Namespace Name Mixin selector official aLclt;a(Lbvc;Z)Vintermediary method_12124Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)Vnamed setChunkForcedLnet/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 aLabh;a(Labk;)Vintermediary method_14096Lnet/minecraft/class_3215;method_14096(Lnet/minecraft/class_3222;)Vnamed updatePositionLnet/minecraft/server/world/ServerChunkManager;updatePosition(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
unloadEntity
- Mappings:
Namespace Name Mixin selector official aLabh;a(Laso;)Vintermediary method_18753Lnet/minecraft/class_3215;method_18753(Lnet/minecraft/class_1297;)Vnamed unloadEntityLnet/minecraft/server/world/ServerChunkManager;unloadEntity(Lnet/minecraft/entity/Entity;)V
-
loadEntity
- Mappings:
Namespace Name Mixin selector official bLabh;b(Laso;)Vintermediary method_18755Lnet/minecraft/class_3215;method_18755(Lnet/minecraft/class_1297;)Vnamed loadEntityLnet/minecraft/server/world/ServerChunkManager;loadEntity(Lnet/minecraft/entity/Entity;)V
-
sendToNearbyPlayers
- Mappings:
Namespace Name Mixin selector official aLabh;a(Laso;Lpf;)Vintermediary method_18751Lnet/minecraft/class_3215;method_18751(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vnamed sendToNearbyPlayersLnet/minecraft/server/world/ServerChunkManager;sendToNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/Packet;)V
-
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector official bLabh;b(Laso;Lpf;)Vintermediary method_18754Lnet/minecraft/class_3215;method_18754(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vnamed sendToOtherNearbyPlayersLnet/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 aLabh;a(I)Vintermediary method_14144Lnet/minecraft/class_3215;method_14144(I)Vnamed applyViewDistanceLnet/minecraft/server/world/ServerChunkManager;applyViewDistance(I)V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)- Overrides:
setMobSpawnOptionsin classChunkManager- Mappings:
Namespace Name Mixin selector official aLclt;a(ZZ)Vintermediary method_12128Lnet/minecraft/class_2802;method_12128(ZZ)Vnamed setMobSpawnOptionsLnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(ZZ)V
-
getChunkLoadingDebugInfo
- Mappings:
Namespace Name Mixin selector official bLabh;b(Lbvc;)Ljava/lang/String;intermediary method_23273Lnet/minecraft/class_3215;method_23273(Lnet/minecraft/class_1923;)Ljava/lang/String;named getChunkLoadingDebugInfoLnet/minecraft/server/world/ServerChunkManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector official iLabh;i()Ldgy;intermediary method_17981Lnet/minecraft/class_3215;method_17981()Lnet/minecraft/class_26;named getPersistentStateManagerLnet/minecraft/server/world/ServerChunkManager;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector official jLabh;j()Lbcu;intermediary method_19493Lnet/minecraft/class_3215;method_19493()Lnet/minecraft/class_4153;named getPointOfInterestStorageLnet/minecraft/server/world/ServerChunkManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
-
getSpawnInfo
- Mappings:
Namespace Name Mixin selector official kLabh;k()Lbwh$d;intermediary method_27908Lnet/minecraft/class_3215;method_27908()Lnet/minecraft/class_1948$class_5262;named getSpawnInfoLnet/minecraft/server/world/ServerChunkManager;getSpawnInfo()Lnet/minecraft/world/SpawnHelper$Info;
-