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/ServerChunkManagerintermediary net/minecraft/class_3215official arf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final Chunk[]private final long[]private final List<WorldChunk> private final ChunkStatus[]private final Set<ChunkHolder> private long(package private) final ServerLightingProviderprivate static final Loggerprivate final ServerChunkManager.MainThreadExecutorprivate final PersistentStateManager(package private) final Threadprivate booleanprivate SpawnHelper.Infoprivate booleanprivate final ChunkTicketManager(package private) final ServerWorld -
Constructor Summary
ConstructorsConstructorDescriptionServerChunkManager(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 TypeMethodDescriptionprivate voidaddChunksToTick(List<WorldChunk> chunks) <T> voidaddTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument) Adds a chunk ticket to the ticket manager.voidapplySimulationDistance(int simulationDistance) voidapplyViewDistance(int watchDistance) private voidbroadcastUpdates(Profiler profiler) voidclose()booleangetChunk(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 ChunkHoldergetChunkHolder(long pos) intintintgetWorld()getWorldChunk(int chunkX, int chunkZ) private voidifChunkLoaded(long pos, Consumer<WorldChunk> chunkConsumer) private voidbooleanisChunkLoaded(int x, int z) private booleanisMissingForLevel(@Nullable ChunkHolder holder, int maxLevel) booleanisTickingFutureReady(long pos) voidloadEntity(Entity entity) voidmarkForUpdate(BlockPos pos) voidonLightUpdate(LightType type, ChunkSectionPos pos) private voidputInCache(long pos, @Nullable Chunk chunk, ChunkStatus status) void<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) voidtick(BooleanSupplier shouldKeepTicking, boolean tickChunks) private voidprivate voidtickChunks(Profiler profiler, long timeDelta, List<WorldChunk> chunks) voidunloadEntity(Entity entity) (package private) booleanUpdate expected chunk loading states by updatingPLAYERtickets andFutures.voidupdatePosition(ServerPlayerEntity player) Updates the chunk section position of theplayer.Methods inherited from class net.minecraft.world.chunk.ChunkManager
getWorldChunk, onSectionStatusChanged
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/server/world/ServerChunkManager;LOGGER:Lorg/slf4j/Logger;intermediary field_52354Lnet/minecraft/class_3215;field_52354:Lorg/slf4j/Logger;official bLarf;b:Lorg/slf4j/Logger;
-
CACHE_SIZE
private static final int CACHE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named CACHE_SIZELnet/minecraft/server/world/ServerChunkManager;CACHE_SIZE:Iintermediary field_29766Lnet/minecraft/class_3215;field_29766:Iofficial lLarf;l:I
-
ticketManager
- Mappings:
Namespace Name Mixin selector named ticketManagerLnet/minecraft/server/world/ServerChunkManager;ticketManager:Lnet/minecraft/server/world/ChunkTicketManager;intermediary field_17252Lnet/minecraft/class_3215;field_17252:Lnet/minecraft/class_3204;official cLarf;c:Laqw;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/server/world/ServerChunkManager;world:Lnet/minecraft/server/world/ServerWorld;intermediary field_13945Lnet/minecraft/class_3215;field_13945:Lnet/minecraft/class_3218;official dLarf;d:Larh;
-
serverThread
- Mappings:
Namespace Name Mixin selector named serverThreadLnet/minecraft/server/world/ServerChunkManager;serverThread:Ljava/lang/Thread;intermediary field_17253Lnet/minecraft/class_3215;field_17253:Ljava/lang/Thread;official eLarf;e:Ljava/lang/Thread;
-
lightingProvider
- Mappings:
Namespace Name Mixin selector named lightingProviderLnet/minecraft/server/world/ServerChunkManager;lightingProvider:Lnet/minecraft/server/world/ServerLightingProvider;intermediary field_13921Lnet/minecraft/class_3215;field_13921:Lnet/minecraft/class_3227;official fLarf;f:Lark;
-
mainThreadExecutor
- Mappings:
Namespace Name Mixin selector named mainThreadExecutorLnet/minecraft/server/world/ServerChunkManager;mainThreadExecutor:Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;intermediary field_18809Lnet/minecraft/class_3215;field_18809:Lnet/minecraft/class_3215$class_4212;official gLarf;g:Larf$b;
-
chunkLoadingManager
- Mappings:
Namespace Name Mixin selector named chunkLoadingManagerLnet/minecraft/server/world/ServerChunkManager;chunkLoadingManager:Lnet/minecraft/server/world/ServerChunkLoadingManager;intermediary field_17254Lnet/minecraft/class_3215;field_17254:Lnet/minecraft/class_3898;official aLarf;a:Laqn;
-
persistentStateManager
- Mappings:
Namespace Name Mixin selector named persistentStateManagerLnet/minecraft/server/world/ServerChunkManager;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;intermediary field_17708Lnet/minecraft/class_3215;field_17708:Lnet/minecraft/class_26;official hLarf;h:Lesp;
-
lastTickTime
private long lastTickTime- Mappings:
Namespace Name Mixin selector named lastTickTimeLnet/minecraft/server/world/ServerChunkManager;lastTickTime:Jintermediary field_13928Lnet/minecraft/class_3215;field_13928:Jofficial iLarf;i:J
-
spawnMonsters
private boolean spawnMonsters- Mappings:
Namespace Name Mixin selector named spawnMonstersLnet/minecraft/server/world/ServerChunkManager;spawnMonsters:Zintermediary field_13929Lnet/minecraft/class_3215;field_13929:Zofficial jLarf;j:Z
-
spawnAnimals
private boolean spawnAnimals- Mappings:
Namespace Name Mixin selector named spawnAnimalsLnet/minecraft/server/world/ServerChunkManager;spawnAnimals:Zintermediary field_13941Lnet/minecraft/class_3215;field_13941:Zofficial kLarf;k:Z
-
chunkPosCache
private final long[] chunkPosCache- Mappings:
Namespace Name Mixin selector named chunkPosCacheLnet/minecraft/server/world/ServerChunkManager;chunkPosCache:[Jintermediary field_19335Lnet/minecraft/class_3215;field_19335:[Jofficial mLarf;m:[J
-
chunkStatusCache
- Mappings:
Namespace Name Mixin selector named chunkStatusCacheLnet/minecraft/server/world/ServerChunkManager;chunkStatusCache:[Lnet/minecraft/world/chunk/ChunkStatus;intermediary field_19336Lnet/minecraft/class_3215;field_19336:[Lnet/minecraft/class_2806;official nLarf;n:[Ldxl;
-
chunkCache
- Mappings:
Namespace Name Mixin selector named chunkCacheLnet/minecraft/server/world/ServerChunkManager;chunkCache:[Lnet/minecraft/world/chunk/Chunk;intermediary field_19337Lnet/minecraft/class_3215;field_19337:[Lnet/minecraft/class_2791;official oLarf;o:[Ldwk;
-
chunks
- Mappings:
Namespace Name Mixin selector named chunksLnet/minecraft/server/world/ServerChunkManager;chunks:Ljava/util/List;intermediary field_52355Lnet/minecraft/class_3215;field_52355:Ljava/util/List;official pLarf;p:Ljava/util/List;
-
chunksToBroadcastUpdate
- Mappings:
Namespace Name Mixin selector named chunksToBroadcastUpdateLnet/minecraft/server/world/ServerChunkManager;chunksToBroadcastUpdate:Ljava/util/Set;intermediary field_52356Lnet/minecraft/class_3215;field_52356:Ljava/util/Set;official qLarf;q:Ljava/util/Set;
-
spawnInfo
- Mappings:
Namespace Name Mixin selector named spawnInfoLnet/minecraft/server/world/ServerChunkManager;spawnInfo:Lnet/minecraft/world/SpawnHelper$Info;intermediary field_24455Lnet/minecraft/class_3215;field_24455:Lnet/minecraft/class_1948$class_5262;official rLarf;r:Lder$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;)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;IIZLnet/minecraft/class_3949;Lnet/minecraft/class_5567;Ljava/util/function/Supplier;)Vofficial <init>Larf;<init>(Larh;Lesv$c;Lcom/mojang/datafixers/DataFixer;Lepf;Ljava/util/concurrent/Executor;Ldwl;IIZLarq;Ldyr;Ljava/util/function/Supplier;)V
-
-
Method Details
-
getLightingProvider
- Specified by:
getLightingProviderin classChunkManager- Mappings:
Namespace Name Mixin selector named getLightingProviderLnet/minecraft/server/world/ServerChunkManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;intermediary method_17293Lnet/minecraft/class_3215;method_17293()Lnet/minecraft/class_3227;official aLarf;a()Lark;
-
getChunkHolder
- Mappings:
Namespace Name Mixin selector named getChunkHolderLnet/minecraft/server/world/ServerChunkManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;intermediary method_14131Lnet/minecraft/class_3215;method_14131(J)Lnet/minecraft/class_3193;official bLarf;b(J)Laql;
-
getTotalChunksLoadedCount
public int getTotalChunksLoadedCount()- Mappings:
Namespace Name Mixin selector named getTotalChunksLoadedCountLnet/minecraft/server/world/ServerChunkManager;getTotalChunksLoadedCount()Iintermediary method_17301Lnet/minecraft/class_3215;method_17301()Iofficial bLarf;b()I
-
putInCache
- Mappings:
Namespace Name Mixin selector named putInCacheLnet/minecraft/server/world/ServerChunkManager;putInCache(JLnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/chunk/ChunkStatus;)Vintermediary method_21738Lnet/minecraft/class_3215;method_21738(JLnet/minecraft/class_2791;Lnet/minecraft/class_2806;)Vofficial aLarf;a(JLdwk;Ldxl;)V
-
getChunk
- Specified by:
getChunkin classChunkManager- Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;intermediary method_12121Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;official aLdwo;a(IILdxl;Z)Ldwk;
-
getWorldChunk
- Overrides:
getWorldChunkin classChunkManager- Mappings:
Namespace Name Mixin selector named getWorldChunkLnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;intermediary method_21730Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;official aLdwo;a(II)Ldwu;
-
initChunkCaches
private void initChunkCaches()- Mappings:
Namespace Name Mixin selector named initChunkCachesLnet/minecraft/server/world/ServerChunkManager;initChunkCaches()Vintermediary method_20587Lnet/minecraft/class_3215;method_20587()Vofficial rLarf;r()V
-
getChunkFutureSyncOnMainThread
public CompletableFuture<OptionalChunk<Chunk>> getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Mappings:
Namespace Name Mixin selector named getChunkFutureSyncOnMainThreadLnet/minecraft/server/world/ServerChunkManager;getChunkFutureSyncOnMainThread(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;intermediary method_17299Lnet/minecraft/class_3215;method_17299(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;official bLarf;b(IILdxl;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 getChunkFutureLnet/minecraft/server/world/ServerChunkManager;getChunkFuture(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;intermediary method_14134Lnet/minecraft/class_3215;method_14134(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;official cLarf;c(IILdxl;Z)Ljava/util/concurrent/CompletableFuture;
-
isMissingForLevel
- Mappings:
Namespace Name Mixin selector named isMissingForLevelLnet/minecraft/server/world/ServerChunkManager;isMissingForLevel(Lnet/minecraft/server/world/ChunkHolder;I)Zintermediary method_18752Lnet/minecraft/class_3215;method_18752(Lnet/minecraft/class_3193;I)Zofficial aLarf;a(Laql;I)Z
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z) - Overrides:
isChunkLoadedin classChunkManager- Mappings:
Namespace Name Mixin selector named isChunkLoadedLnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Zintermediary method_12123Lnet/minecraft/class_2802;method_12123(II)Zofficial bLdwo;b(II)Z
-
getChunk
- Specified by:
getChunkin interfaceChunkProvider- Overrides:
getChunkin classChunkManager- Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/light/LightSourceView;intermediary method_12246Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_8527;official cLdwx;c(II)Ldww;
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/server/world/ServerChunkManager;getWorld()Lnet/minecraft/world/World;intermediary method_16434Lnet/minecraft/class_3215;method_16434()Lnet/minecraft/class_1937;official cLarf;c()Ldeg;
-
executeQueuedTasks
public boolean executeQueuedTasks()- Mappings:
Namespace Name Mixin selector named executeQueuedTasksLnet/minecraft/server/world/ServerChunkManager;executeQueuedTasks()Zintermediary method_19492Lnet/minecraft/class_3215;method_19492()Zofficial dLarf;d()Z
-
updateChunks
boolean updateChunks()Update expected chunk loading states by updatingPLAYERtickets andFutures.- Mappings:
Namespace Name Mixin selector named updateChunksLnet/minecraft/server/world/ServerChunkManager;updateChunks()Zintermediary method_16155Lnet/minecraft/class_3215;method_16155()Zofficial sLarf;s()Z
-
isTickingFutureReady
public boolean isTickingFutureReady(long pos) - Mappings:
Namespace Name Mixin selector named isTickingFutureReadyLnet/minecraft/server/world/ServerChunkManager;isTickingFutureReady(J)Zintermediary method_37114Lnet/minecraft/class_3215;method_37114(J)Zofficial aLarf;a(J)Z
-
save
public void save(boolean flush) - Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/server/world/ServerChunkManager;save(Z)Vintermediary method_17298Lnet/minecraft/class_3215;method_17298(Z)Vofficial aLarf;a(Z)V
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classChunkManager- Throws:
IOException
-
tick
- Specified by:
tickin classChunkManager- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)Vintermediary method_12127Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)Vofficial aLdwo;a(Ljava/util/function/BooleanSupplier;Z)V
-
tickChunks
private void tickChunks()- Mappings:
Namespace Name Mixin selector named tickChunksLnet/minecraft/server/world/ServerChunkManager;tickChunks()Vintermediary method_14161Lnet/minecraft/class_3215;method_14161()Vofficial tLarf;t()V
-
broadcastUpdates
- Mappings:
Namespace Name Mixin selector named broadcastUpdatesLnet/minecraft/server/world/ServerChunkManager;broadcastUpdates(Lnet/minecraft/util/profiler/Profiler;)Vintermediary method_61264Lnet/minecraft/class_3215;method_61264(Lnet/minecraft/class_3695;)Vofficial aLarf;a(Lbod;)V
-
addChunksToTick
- Mappings:
Namespace Name Mixin selector named addChunksToTickLnet/minecraft/server/world/ServerChunkManager;addChunksToTick(Ljava/util/List;)Vintermediary method_61266Lnet/minecraft/class_3215;method_61266(Ljava/util/List;)Vofficial aLarf;a(Ljava/util/List;)V
-
tickChunks
- Mappings:
Namespace Name Mixin selector named tickChunksLnet/minecraft/server/world/ServerChunkManager;tickChunks(Lnet/minecraft/util/profiler/Profiler;JLjava/util/List;)Vintermediary method_61265Lnet/minecraft/class_3215;method_61265(Lnet/minecraft/class_3695;JLjava/util/List;)Vofficial aLarf;a(Lbod;JLjava/util/List;)V
-
ifChunkLoaded
- Mappings:
Namespace Name Mixin selector named ifChunkLoadedLnet/minecraft/server/world/ServerChunkManager;ifChunkLoaded(JLjava/util/function/Consumer;)Vintermediary method_27907Lnet/minecraft/class_3215;method_27907(JLjava/util/function/Consumer;)Vofficial aLarf;a(JLjava/util/function/Consumer;)V
-
getDebugString
- Specified by:
getDebugStringin classChunkManager- Mappings:
Namespace Name Mixin selector named getDebugStringLnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;intermediary method_12122Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;official eLdwo;e()Ljava/lang/String;
-
getPendingTasks
public int getPendingTasks()- Mappings:
Namespace Name Mixin selector named getPendingTasksLnet/minecraft/server/world/ServerChunkManager;getPendingTasks()Iintermediary method_21694Lnet/minecraft/class_3215;method_21694()Iofficial fLarf;f()I
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector named getChunkGeneratorLnet/minecraft/server/world/ServerChunkManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;intermediary method_12129Lnet/minecraft/class_3215;method_12129()Lnet/minecraft/class_2794;official gLarf;g()Ldwl;
-
getStructurePlacementCalculator
- Mappings:
Namespace Name Mixin selector named getStructurePlacementCalculatorLnet/minecraft/server/world/ServerChunkManager;getStructurePlacementCalculator()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;intermediary method_46642Lnet/minecraft/class_3215;method_46642()Lnet/minecraft/class_7869;official hLarf;h()Ldwm;
-
getNoiseConfig
- Mappings:
Namespace Name Mixin selector named getNoiseConfigLnet/minecraft/server/world/ServerChunkManager;getNoiseConfig()Lnet/minecraft/world/gen/noise/NoiseConfig;intermediary method_41248Lnet/minecraft/class_3215;method_41248()Lnet/minecraft/class_7138;official iLarf;i()Leay;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCountin classChunkManager- Mappings:
Namespace Name Mixin selector named getLoadedChunkCountLnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()Iintermediary method_14151Lnet/minecraft/class_2802;method_14151()Iofficial jLdwo;j()I
-
markForUpdate
- Mappings:
Namespace Name Mixin selector named markForUpdateLnet/minecraft/server/world/ServerChunkManager;markForUpdate(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_14128Lnet/minecraft/class_3215;method_14128(Lnet/minecraft/class_2338;)Vofficial aLarf;a(Lje;)V
-
onLightUpdate
- Mappings:
Namespace Name Mixin selector named onLightUpdateLnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Vintermediary method_12247Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Vofficial aLdwx;a(Ldep;Lkg;)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 addTicketLnet/minecraft/server/world/ServerChunkManager;addTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)Vintermediary method_17297Lnet/minecraft/class_3215;method_17297(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)Vofficial aLarf;a(Larm;Lddm;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 removeTicketLnet/minecraft/server/world/ServerChunkManager;removeTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)Vintermediary method_17300Lnet/minecraft/class_3215;method_17300(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)Vofficial bLarf;b(Larm;Lddm;ILjava/lang/Object;)V
-
setChunkForced
- Overrides:
setChunkForcedin classChunkManager- Mappings:
Namespace Name Mixin selector named setChunkForcedLnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)Vintermediary method_12124Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)Vofficial aLdwo;a(Lddm;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 updatePositionLnet/minecraft/server/world/ServerChunkManager;updatePosition(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_14096Lnet/minecraft/class_3215;method_14096(Lnet/minecraft/class_3222;)Vofficial aLarf;a(Lari;)V
-
unloadEntity
- Mappings:
Namespace Name Mixin selector named unloadEntityLnet/minecraft/server/world/ServerChunkManager;unloadEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18753Lnet/minecraft/class_3215;method_18753(Lnet/minecraft/class_1297;)Vofficial aLarf;a(Lbto;)V
-
loadEntity
- Mappings:
Namespace Name Mixin selector named loadEntityLnet/minecraft/server/world/ServerChunkManager;loadEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18755Lnet/minecraft/class_3215;method_18755(Lnet/minecraft/class_1297;)Vofficial bLarf;b(Lbto;)V
-
sendToNearbyPlayers
- Mappings:
Namespace Name Mixin selector named sendToNearbyPlayersLnet/minecraft/server/world/ServerChunkManager;sendToNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)Vintermediary method_18751Lnet/minecraft/class_3215;method_18751(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial aLarf;a(Lbto;Lzk;)V
-
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector named sendToOtherNearbyPlayersLnet/minecraft/server/world/ServerChunkManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)Vintermediary method_18754Lnet/minecraft/class_3215;method_18754(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial bLarf;b(Lbto;Lzk;)V
-
applyViewDistance
public void applyViewDistance(int watchDistance) - Mappings:
Namespace Name Mixin selector named applyViewDistanceLnet/minecraft/server/world/ServerChunkManager;applyViewDistance(I)Vintermediary method_14144Lnet/minecraft/class_3215;method_14144(I)Vofficial aLarf;a(I)V
-
applySimulationDistance
public void applySimulationDistance(int simulationDistance) - Mappings:
Namespace Name Mixin selector named applySimulationDistanceLnet/minecraft/server/world/ServerChunkManager;applySimulationDistance(I)Vintermediary method_38634Lnet/minecraft/class_3215;method_38634(I)Vofficial bLarf;b(I)V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters) - Overrides:
setMobSpawnOptionsin classChunkManager- Mappings:
Namespace Name Mixin selector named setMobSpawnOptionsLnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(Z)Vintermediary method_12128Lnet/minecraft/class_2802;method_12128(Z)Vofficial bLdwo;b(Z)V
-
getChunkLoadingDebugInfo
- Mappings:
Namespace Name Mixin selector named getChunkLoadingDebugInfoLnet/minecraft/server/world/ServerChunkManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;intermediary method_23273Lnet/minecraft/class_3215;method_23273(Lnet/minecraft/class_1923;)Ljava/lang/String;official aLarf;a(Lddm;)Ljava/lang/String;
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector named getPersistentStateManagerLnet/minecraft/server/world/ServerChunkManager;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;intermediary method_17981Lnet/minecraft/class_3215;method_17981()Lnet/minecraft/class_26;official kLarf;k()Lesp;
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector named getPointOfInterestStorageLnet/minecraft/server/world/ServerChunkManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;intermediary method_19493Lnet/minecraft/class_3215;method_19493()Lnet/minecraft/class_4153;official lLarf;l()Lcfn;
-
getChunkIoWorker
- Mappings:
Namespace Name Mixin selector named getChunkIoWorkerLnet/minecraft/server/world/ServerChunkManager;getChunkIoWorker()Lnet/minecraft/world/storage/NbtScannable;intermediary method_39777Lnet/minecraft/class_3215;method_39777()Lnet/minecraft/class_6830;official mLarf;m()Ldxt;
-
getSpawnInfo
- Mappings:
Namespace Name Mixin selector named getSpawnInfoLnet/minecraft/server/world/ServerChunkManager;getSpawnInfo()Lnet/minecraft/world/SpawnHelper$Info;intermediary method_27908Lnet/minecraft/class_3215;method_27908()Lnet/minecraft/class_1948$class_5262;official nLarf;n()Lder$d;
-
removePersistentTickets
public void removePersistentTickets()- Mappings:
Namespace Name Mixin selector named removePersistentTicketsLnet/minecraft/server/world/ServerChunkManager;removePersistentTickets()Vintermediary method_39997Lnet/minecraft/class_3215;method_39997()Vofficial oLarf;o()V
-