Package net.minecraft.server.world
Class ServerChunkLoadingManager
java.lang.Object
net.minecraft.world.storage.VersionedChunkStorage
net.minecraft.server.world.ServerChunkLoadingManager
- All Implemented Interfaces:
AutoCloseable,ChunkHolder.PlayersWatchingChunkProvider,ChunkLoadingManager
public class ServerChunkLoadingManager
extends VersionedChunkStorage
implements ChunkHolder.PlayersWatchingChunkProvider, ChunkLoadingManager
- Mappings:
Namespace Name named net/minecraft/server/world/ServerChunkLoadingManagerintermediary net/minecraft/class_3898official arf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classAn entity tracker governs which players' clients can see an entity.private class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Long2ObjectLinkedOpenHashMap<ChunkHolder> private final AtomicIntegerprivate final ChunkStatusChangeListenerprivate final LongSetprivate final Long2ObjectLinkedOpenHashMap<ChunkHolder> private final Long2LongMapprivate final Long2ByteMapprivate final Long2ObjectLinkedOpenHashMap<ChunkHolder> static final intprivate final Int2ObjectMap<ServerChunkLoadingManager.EntityTracker> static final intprivate static final intprivate static final intprivate static final intprivate static final intstatic final intprivate final ChunkGenerationContextprivate static final byteprivate final ServerChunkLoadingManager.LevelManagerprivate final ServerLightingProviderprivate final ChunkTaskSchedulerprivate final List<ChunkLoader> private static final Loggerprivate final ThreadExecutor<Runnable> private final NoiseConfigprivate final Supplier<PersistentStateManager> private final PlayerChunkWatchingManagerprivate final PointOfInterestStorageprivate static final byteprivate final Stringprivate final StructurePlacementCalculatorprivate final ChunkTicketManagerprivate final AtomicIntegerprivate static final OptionalChunk<List<Chunk>> private static final CompletableFuture<OptionalChunk<List<Chunk>>> (package private) final LongSetprivate static final byteprivate int(package private) final ServerWorldprivate final WorldGenerationProgressListenerprivate final ChunkTaskSchedulerFields inherited from class net.minecraft.world.storage.VersionedChunkStorage
dataFixer, FEATURE_UPDATING_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionServerChunkLoadingManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, ChunkTicketManager ticketManager, int viewDistance, boolean dsync) -
Method Summary
Modifier and TypeMethodDescriptionacquire(long pos) private booleancanTickChunk(ServerPlayerEntity player, ChunkPos pos) Returns whether theplayercan tick the chunk atpos.voidclose()(package private) voidcollectSpawningChunks(List<WorldChunk> chunks) crash(IllegalStateException exception, String details) createLoader(ChunkStatus requestedStatus, ChunkPos pos) private boolean(package private) voidprotected Iterable<ChunkHolder> voidforceLighting(ChunkPos centerPos, int radius) (package private) voidforEachBlockTickingChunk(Consumer<WorldChunk> chunkConsumer) generate(AbstractChunkHolder chunkHolder, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks) protected ChunkGeneratorprotected @Nullable ChunkHoldergetChunkHolder(long pos) getChunkLoadingDebugInfo(ChunkPos chunkPos) protected IntSuppliergetCompletedLevelSupplier(long pos) protected @Nullable ChunkHoldergetCurrentChunkHolder(long pos) private static Stringprotected ServerLightingProviderintprotected NoiseConfiggetPlayersWatchingChunk(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) protected PointOfInterestStoragegetPostProcessedChunk(long pos) private ChunkgetProtoChunk(ChunkPos chunkPos) private CompletableFuture<OptionalChunk<List<Chunk>>> getRegion(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) private static doublegetSquaredDistance(ChunkPos pos, Vec3d vec3d) protected StructurePlacementCalculatorintprivate CompletableFuture<Optional<NbtCompound>> getUpdatedChunkNbt(ChunkPos chunkPos) (package private) intgetViewDistance(ServerPlayerEntity player) (package private) voidhandlePlayerAddedOrRemoved(ServerPlayerEntity player, boolean added) private booleanprivate booleanisLevelChunk(ChunkPos pos) private booleanisOnTrackEdge(ServerPlayerEntity player, int chunkX, int chunkZ) (package private) booleanisTracked(ServerPlayerEntity player, int chunkX, int chunkZ) private CompletableFuture<Chunk> protected voidloadEntity(Entity entity) makeChunkAccessible(ChunkHolder holder) makeChunkEntitiesTickable(ChunkHolder holder) makeChunkTickable(ChunkHolder holder) private byteprivate voidmarkAsProtoChunk(ChunkPos pos) private void(package private) voidonChunkStatusChange(ChunkPos chunkPos, ChunkLevelType levelType) private ChunkrecoverFromException(Throwable throwable, ChunkPos chunkPos) voidrelease(AbstractChunkHolder chunkHolder) protected voidsave(boolean flush) private booleansave(ChunkHolder chunkHolder, long currentTime) private booleanprivate voidsaveChunks(BooleanSupplier shouldKeepTicking) private voidschedule(ChunkLoader loader) voidsendChunkBiomePackets(List<Chunk> chunks) protected voidsendToNearbyPlayers(Entity entity, Packet<?> packet) voidsendToOtherNearbyPlayers(Entity entity, Packet<?> packet) private voidsendToPlayers(ChunkHolder chunkHolder, WorldChunk chunk) private voidsendWatchPackets(ServerPlayerEntity player) private voidsendWatchPackets(ServerPlayerEntity player, ChunkFilter chunkFilter) (package private) @Nullable ChunkHoldersetLevel(long pos, int level, @Nullable ChunkHolder holder, int int2) Sets the loading level ofChunkHolders.protected voidsetViewDistance(int watchDistance) booleanReturns whether the server shutdown should be delayed to process some tasks.(package private) booleanshouldTick(ChunkPos pos) protected voidtick(BooleanSupplier shouldKeepTicking) protected voidTicks and updates the tracked status of each tracker.private voidtrack(ServerPlayerEntity player, ChunkPos pos) private static voidtrack(ServerPlayerEntity player, WorldChunk chunk) private voidtryUnloadChunk(long pos, ChunkHolder chunk) private voidunloadChunks(BooleanSupplier shouldKeepTicking) protected voidunloadEntity(Entity entity) private static voiduntrack(ServerPlayerEntity player, ChunkPos pos) private NbtCompoundvoidprotected booleanprivate voidupdateLevel(ChunkPos pos, IntSupplier levelGetter, int targetLevel, IntConsumer levelSetter) voidupdatePosition(ServerPlayerEntity player) Updates the chunk section position of theplayer.private voidUpdates the watched chunk section position for theplayer, and sends a render distance update packet to the client.Methods inherited from class net.minecraft.world.storage.VersionedChunkStorage
completeAll, getDataVersion, getNbt, getStorageKey, getWorker, markFeatureUpdateResolved, needsBlending, saveContextToNbt, setNbt, updateChunkNbt
-
Field Details
-
UNLOADED_CHUNKS
- Mappings:
Namespace Name Mixin selector named UNLOADED_CHUNKSLnet/minecraft/server/world/ServerChunkLoadingManager;UNLOADED_CHUNKS:Lnet/minecraft/server/world/OptionalChunk;intermediary field_51862Lnet/minecraft/class_3898;field_51862:Lnet/minecraft/class_9259;official fLarf;f:Larg;
-
UNLOADED_CHUNKS_FUTURE
- Mappings:
Namespace Name Mixin selector named UNLOADED_CHUNKS_FUTURELnet/minecraft/server/world/ServerChunkLoadingManager;UNLOADED_CHUNKS_FUTURE:Ljava/util/concurrent/CompletableFuture;intermediary field_51863Lnet/minecraft/class_3898;field_51863:Ljava/util/concurrent/CompletableFuture;official gLarf;g:Ljava/util/concurrent/CompletableFuture;
-
PROTO_CHUNK
private static final byte PROTO_CHUNK- See Also:
- Mappings:
Namespace Name Mixin selector named PROTO_CHUNKLnet/minecraft/server/world/ServerChunkLoadingManager;PROTO_CHUNK:Bintermediary field_29671Lnet/minecraft/class_3898;field_29671:Bofficial hLarf;h:B
-
UNMARKED_CHUNK
private static final byte UNMARKED_CHUNK- See Also:
- Mappings:
Namespace Name Mixin selector named UNMARKED_CHUNKLnet/minecraft/server/world/ServerChunkLoadingManager;UNMARKED_CHUNK:Bintermediary field_29672Lnet/minecraft/class_3898;field_29672:Bofficial iLarf;i:B
-
LEVEL_CHUNK
private static final byte LEVEL_CHUNK- See Also:
- Mappings:
Namespace Name Mixin selector named LEVEL_CHUNKLnet/minecraft/server/world/ServerChunkLoadingManager;LEVEL_CHUNK:Bintermediary field_29673Lnet/minecraft/class_3898;field_29673:Bofficial jLarf;j:B
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/server/world/ServerChunkLoadingManager;LOGGER:Lorg/slf4j/Logger;intermediary field_17212Lnet/minecraft/class_3898;field_17212:Lorg/slf4j/Logger;official kLarf;k:Lorg/slf4j/Logger;
-
field_29674
private static final int field_29674- See Also:
- Mappings:
Namespace Name Mixin selector named field_29674Lnet/minecraft/server/world/ServerChunkLoadingManager;field_29674:Iintermediary field_29674Lnet/minecraft/class_3898;field_29674:Iofficial lLarf;l:I
-
field_36291
private static final int field_36291- See Also:
- Mappings:
Namespace Name Mixin selector named field_36291Lnet/minecraft/server/world/ServerChunkLoadingManager;field_36291:Iintermediary field_36291Lnet/minecraft/class_3898;field_36291:Iofficial mLarf;m:I
-
field_36384
private static final int field_36384- See Also:
- Mappings:
Namespace Name Mixin selector named field_36384Lnet/minecraft/server/world/ServerChunkLoadingManager;field_36384:Iintermediary field_36384Lnet/minecraft/class_3898;field_36384:Iofficial nLarf;n:I
-
field_54966
private static final int field_54966- See Also:
- Mappings:
Namespace Name Mixin selector named field_54966Lnet/minecraft/server/world/ServerChunkLoadingManager;field_54966:Iintermediary field_54966Lnet/minecraft/class_3898;field_54966:Iofficial oLarf;o:I
-
DEFAULT_VIEW_DISTANCE
public static final int DEFAULT_VIEW_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_VIEW_DISTANCELnet/minecraft/server/world/ServerChunkLoadingManager;DEFAULT_VIEW_DISTANCE:Iintermediary field_29675Lnet/minecraft/class_3898;field_29675:Iofficial aLarf;a:I
-
field_29669
public static final int field_29669- See Also:
- Mappings:
Namespace Name Mixin selector named field_29669Lnet/minecraft/server/world/ServerChunkLoadingManager;field_29669:Iintermediary field_29669Lnet/minecraft/class_3898;field_29669:Iofficial bLarf;b:I
-
FORCED_CHUNK_LEVEL
public static final int FORCED_CHUNK_LEVEL- Mappings:
Namespace Name Mixin selector named FORCED_CHUNK_LEVELLnet/minecraft/server/world/ServerChunkLoadingManager;FORCED_CHUNK_LEVEL:Iintermediary field_29670Lnet/minecraft/class_3898;field_29670:Iofficial cLarf;c:I
-
currentChunkHolders
- Mappings:
Namespace Name Mixin selector named currentChunkHoldersLnet/minecraft/server/world/ServerChunkLoadingManager;currentChunkHolders:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;intermediary field_17213Lnet/minecraft/class_3898;field_17213:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;official pLarf;p:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
-
chunkHolders
- Mappings:
Namespace Name Mixin selector named chunkHoldersLnet/minecraft/server/world/ServerChunkLoadingManager;chunkHolders:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;intermediary field_17220Lnet/minecraft/class_3898;field_17220:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;official qLarf;q:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
-
chunksToUnload
- Mappings:
Namespace Name Mixin selector named chunksToUnloadLnet/minecraft/server/world/ServerChunkLoadingManager;chunksToUnload:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;intermediary field_18807Lnet/minecraft/class_3898;field_18807:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;official rLarf;r:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
-
loaders
- Mappings:
Namespace Name Mixin selector named loadersLnet/minecraft/server/world/ServerChunkLoadingManager;loaders:Ljava/util/List;intermediary field_51864Lnet/minecraft/class_3898;field_51864:Ljava/util/List;official sLarf;s:Ljava/util/List;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/server/world/ServerChunkLoadingManager;world:Lnet/minecraft/server/world/ServerWorld;intermediary field_17214Lnet/minecraft/class_3898;field_17214:Lnet/minecraft/class_3218;official tLarf;t:Lasb;
-
lightingProvider
- Mappings:
Namespace Name Mixin selector named lightingProviderLnet/minecraft/server/world/ServerChunkLoadingManager;lightingProvider:Lnet/minecraft/server/world/ServerLightingProvider;intermediary field_17215Lnet/minecraft/class_3898;field_17215:Lnet/minecraft/class_3227;official uLarf;u:Lasf;
-
mainThreadExecutor
- Mappings:
Namespace Name Mixin selector named mainThreadExecutorLnet/minecraft/server/world/ServerChunkLoadingManager;mainThreadExecutor:Lnet/minecraft/util/thread/ThreadExecutor;intermediary field_17216Lnet/minecraft/class_3898;field_17216:Lnet/minecraft/class_1255;official vLarf;v:Lbtq;
-
noiseConfig
- Mappings:
Namespace Name Mixin selector named noiseConfigLnet/minecraft/server/world/ServerChunkLoadingManager;noiseConfig:Lnet/minecraft/world/gen/noise/NoiseConfig;intermediary field_37278Lnet/minecraft/class_3898;field_37278:Lnet/minecraft/class_7138;official wLarf;w:Leid;
-
structurePlacementCalculator
- Mappings:
Namespace Name Mixin selector named structurePlacementCalculatorLnet/minecraft/server/world/ServerChunkLoadingManager;structurePlacementCalculator:Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;intermediary field_40856Lnet/minecraft/class_3898;field_40856:Lnet/minecraft/class_7869;official xLarf;x:Ledp;
-
persistentStateManagerFactory
- Mappings:
Namespace Name Mixin selector named persistentStateManagerFactoryLnet/minecraft/server/world/ServerChunkLoadingManager;persistentStateManagerFactory:Ljava/util/function/Supplier;intermediary field_17705Lnet/minecraft/class_3898;field_17705:Ljava/util/function/Supplier;official yLarf;y:Ljava/util/function/Supplier;
-
ticketManager
- Mappings:
Namespace Name Mixin selector named ticketManagerLnet/minecraft/server/world/ServerChunkLoadingManager;ticketManager:Lnet/minecraft/server/world/ChunkTicketManager;intermediary field_55588Lnet/minecraft/class_3898;field_55588:Lnet/minecraft/class_10592;official zLarf;z:Ldlg;
-
pointOfInterestStorage
- Mappings:
Namespace Name Mixin selector named pointOfInterestStorageLnet/minecraft/server/world/ServerChunkLoadingManager;pointOfInterestStorage:Lnet/minecraft/world/poi/PointOfInterestStorage;intermediary field_18808Lnet/minecraft/class_3898;field_18808:Lnet/minecraft/class_4153;official ALarf;A:Lcjh;
-
unloadedChunks
- Mappings:
Namespace Name Mixin selector named unloadedChunksLnet/minecraft/server/world/ServerChunkLoadingManager;unloadedChunks:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_17221Lnet/minecraft/class_3898;field_17221:Lit/unimi/dsi/fastutil/longs/LongSet;official BLarf;B:Lit/unimi/dsi/fastutil/longs/LongSet;
-
chunkHolderListDirty
private boolean chunkHolderListDirty- Mappings:
Namespace Name Mixin selector named chunkHolderListDirtyLnet/minecraft/server/world/ServerChunkLoadingManager;chunkHolderListDirty:Zintermediary field_17222Lnet/minecraft/class_3898;field_17222:Zofficial CLarf;C:Z
-
worldGenScheduler
- Mappings:
Namespace Name Mixin selector named worldGenSchedulerLnet/minecraft/server/world/ServerChunkLoadingManager;worldGenScheduler:Lnet/minecraft/server/world/ChunkTaskScheduler;intermediary field_54034Lnet/minecraft/class_3898;field_54034:Lnet/minecraft/class_10171;official DLarf;D:Larh;
-
lightScheduler
- Mappings:
Namespace Name Mixin selector named lightSchedulerLnet/minecraft/server/world/ServerChunkLoadingManager;lightScheduler:Lnet/minecraft/server/world/ChunkTaskScheduler;intermediary field_54035Lnet/minecraft/class_3898;field_54035:Lnet/minecraft/class_10171;official ELarf;E:Larh;
-
worldGenerationProgressListener
- Mappings:
Namespace Name Mixin selector named worldGenerationProgressListenerLnet/minecraft/server/world/ServerChunkLoadingManager;worldGenerationProgressListener:Lnet/minecraft/server/WorldGenerationProgressListener;intermediary field_17442Lnet/minecraft/class_3898;field_17442:Lnet/minecraft/class_3949;official FLarf;F:Lasl;
-
chunkStatusChangeListener
- Mappings:
Namespace Name Mixin selector named chunkStatusChangeListenerLnet/minecraft/server/world/ServerChunkLoadingManager;chunkStatusChangeListener:Lnet/minecraft/world/chunk/ChunkStatusChangeListener;intermediary field_26931Lnet/minecraft/class_3898;field_26931:Lnet/minecraft/class_5567;official GLarf;G:Lefu;
-
levelManager
- Mappings:
Namespace Name Mixin selector named levelManagerLnet/minecraft/server/world/ServerChunkLoadingManager;levelManager:Lnet/minecraft/server/world/ServerChunkLoadingManager$LevelManager;intermediary field_17228Lnet/minecraft/class_3898;field_17228:Lnet/minecraft/class_3898$class_3216;official HLarf;H:Larf$a;
-
totalChunksLoadedCount
- Mappings:
Namespace Name Mixin selector named totalChunksLoadedCountLnet/minecraft/server/world/ServerChunkLoadingManager;totalChunksLoadedCount:Ljava/util/concurrent/atomic/AtomicInteger;intermediary field_17230Lnet/minecraft/class_3898;field_17230:Ljava/util/concurrent/atomic/AtomicInteger;official ILarf;I:Ljava/util/concurrent/atomic/AtomicInteger;
-
saveDir
- Mappings:
Namespace Name Mixin selector named saveDirLnet/minecraft/server/world/ServerChunkLoadingManager;saveDir:Ljava/lang/String;intermediary field_17707Lnet/minecraft/class_3898;field_17707:Ljava/lang/String;official JLarf;J:Ljava/lang/String;
-
playerChunkWatchingManager
- Mappings:
Namespace Name Mixin selector named playerChunkWatchingManagerLnet/minecraft/server/world/ServerChunkLoadingManager;playerChunkWatchingManager:Lnet/minecraft/server/world/PlayerChunkWatchingManager;intermediary field_18241Lnet/minecraft/class_3898;field_18241:Lnet/minecraft/class_3210;official KLarf;K:Laru;
-
entityTrackers
- Mappings:
Namespace Name Mixin selector named entityTrackersLnet/minecraft/server/world/ServerChunkLoadingManager;entityTrackers:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_18242Lnet/minecraft/class_3898;field_18242:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official LLarf;L:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
chunkToType
- Mappings:
Namespace Name Mixin selector named chunkToTypeLnet/minecraft/server/world/ServerChunkLoadingManager;chunkToType:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;intermediary field_23786Lnet/minecraft/class_3898;field_23786:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;official MLarf;M:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
-
chunkToNextSaveTimeMs
- Mappings:
Namespace Name Mixin selector named chunkToNextSaveTimeMsLnet/minecraft/server/world/ServerChunkLoadingManager;chunkToNextSaveTimeMs:Lit/unimi/dsi/fastutil/longs/Long2LongMap;intermediary field_52353Lnet/minecraft/class_3898;field_52353:Lit/unimi/dsi/fastutil/longs/Long2LongMap;official NLarf;N:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
-
chunksToSave
- Mappings:
Namespace Name Mixin selector named chunksToSaveLnet/minecraft/server/world/ServerChunkLoadingManager;chunksToSave:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_54964Lnet/minecraft/class_3898;field_54964:Lit/unimi/dsi/fastutil/longs/LongSet;official OLarf;O:Lit/unimi/dsi/fastutil/longs/LongSet;
-
unloadTaskQueue
- Mappings:
Namespace Name Mixin selector named unloadTaskQueueLnet/minecraft/server/world/ServerChunkLoadingManager;unloadTaskQueue:Ljava/util/Queue;intermediary field_19343Lnet/minecraft/class_3898;field_19343:Ljava/util/Queue;official PLarf;P:Ljava/util/Queue;
-
chunksBeingSavedCount
- Mappings:
Namespace Name Mixin selector named chunksBeingSavedCountLnet/minecraft/server/world/ServerChunkLoadingManager;chunksBeingSavedCount:Ljava/util/concurrent/atomic/AtomicInteger;intermediary field_54965Lnet/minecraft/class_3898;field_54965:Ljava/util/concurrent/atomic/AtomicInteger;official QLarf;Q:Ljava/util/concurrent/atomic/AtomicInteger;
-
watchDistance
private int watchDistance- Mappings:
Namespace Name Mixin selector named watchDistanceLnet/minecraft/server/world/ServerChunkLoadingManager;watchDistance:Iintermediary field_18243Lnet/minecraft/class_3898;field_18243:Iofficial RLarf;R:I
-
generationContext
- Mappings:
Namespace Name Mixin selector named generationContextLnet/minecraft/server/world/ServerChunkLoadingManager;generationContext:Lnet/minecraft/world/chunk/ChunkGenerationContext;intermediary field_51861Lnet/minecraft/class_3898;field_51861:Lnet/minecraft/class_9312;official SLarf;S:Leet;
-
-
Constructor Details
-
ServerChunkLoadingManager
public ServerChunkLoadingManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, ChunkTicketManager ticketManager, int viewDistance, boolean dsync) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/world/ServerChunkLoadingManager;<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/util/thread/ThreadExecutor;Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/server/WorldGenerationProgressListener;Lnet/minecraft/world/chunk/ChunkStatusChangeListener;Ljava/util/function/Supplier;Lnet/minecraft/server/world/ChunkTicketManager;IZ)Vintermediary <init>Lnet/minecraft/class_3898;<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_1255;Lnet/minecraft/class_2823;Lnet/minecraft/class_2794;Lnet/minecraft/class_3949;Lnet/minecraft/class_5567;Ljava/util/function/Supplier;Lnet/minecraft/class_10592;IZ)Vofficial <init>Larf;<init>(Lasb;Lfah$c;Lcom/mojang/datafixers/DataFixer;Lewq;Ljava/util/concurrent/Executor;Lbtq;Leea;Ledo;Lasl;Lefu;Ljava/util/function/Supplier;Ldlg;IZ)V
-
-
Method Details
-
markChunkNeedsSaving
- Mappings:
Namespace Name Mixin selector named markChunkNeedsSavingLnet/minecraft/server/world/ServerChunkLoadingManager;markChunkNeedsSaving(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_65056Lnet/minecraft/class_3898;method_65056(Lnet/minecraft/class_1923;)Vofficial fLarf;f(Ldjo;)V
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector named getChunkGeneratorLnet/minecraft/server/world/ServerChunkLoadingManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;intermediary method_37897Lnet/minecraft/class_3898;method_37897()Lnet/minecraft/class_2794;official aLarf;a()Ledo;
-
getStructurePlacementCalculator
- Mappings:
Namespace Name Mixin selector named getStructurePlacementCalculatorLnet/minecraft/server/world/ServerChunkLoadingManager;getStructurePlacementCalculator()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;intermediary method_46641Lnet/minecraft/class_3898;method_46641()Lnet/minecraft/class_7869;official bLarf;b()Ledp;
-
getNoiseConfig
- Mappings:
Namespace Name Mixin selector named getNoiseConfigLnet/minecraft/server/world/ServerChunkLoadingManager;getNoiseConfig()Lnet/minecraft/world/gen/noise/NoiseConfig;intermediary method_41247Lnet/minecraft/class_3898;method_41247()Lnet/minecraft/class_7138;official cLarf;c()Leid;
-
isTracked
- Mappings:
Namespace Name Mixin selector named isTrackedLnet/minecraft/server/world/ServerChunkLoadingManager;isTracked(Lnet/minecraft/server/network/ServerPlayerEntity;II)Zintermediary method_52345Lnet/minecraft/class_3898;method_52345(Lnet/minecraft/class_3222;II)Zofficial aLarf;a(Lasc;II)Z
-
isOnTrackEdge
- Mappings:
Namespace Name Mixin selector named isOnTrackEdgeLnet/minecraft/server/world/ServerChunkLoadingManager;isOnTrackEdge(Lnet/minecraft/server/network/ServerPlayerEntity;II)Zintermediary method_52351Lnet/minecraft/class_3898;method_52351(Lnet/minecraft/class_3222;II)Zofficial bLarf;b(Lasc;II)Z
-
getLightingProvider
- Mappings:
Namespace Name Mixin selector named getLightingProviderLnet/minecraft/server/world/ServerChunkLoadingManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;intermediary method_17212Lnet/minecraft/class_3898;method_17212()Lnet/minecraft/class_3227;official dLarf;d()Lasf;
-
getCurrentChunkHolder
- Mappings:
Namespace Name Mixin selector named getCurrentChunkHolderLnet/minecraft/server/world/ServerChunkLoadingManager;getCurrentChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;intermediary method_17255Lnet/minecraft/class_3898;method_17255(J)Lnet/minecraft/class_3193;official aLarf;a(J)Lard;
-
getChunkHolder
- Mappings:
Namespace Name Mixin selector named getChunkHolderLnet/minecraft/server/world/ServerChunkLoadingManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;intermediary method_17216Lnet/minecraft/class_3898;method_17216(J)Lnet/minecraft/class_3193;official bLarf;b(J)Lard;
-
getCompletedLevelSupplier
- Mappings:
Namespace Name Mixin selector named getCompletedLevelSupplierLnet/minecraft/server/world/ServerChunkLoadingManager;getCompletedLevelSupplier(J)Ljava/util/function/IntSupplier;intermediary method_17604Lnet/minecraft/class_3898;method_17604(J)Ljava/util/function/IntSupplier;official cLarf;c(J)Ljava/util/function/IntSupplier;
-
getChunkLoadingDebugInfo
- Mappings:
Namespace Name Mixin selector named getChunkLoadingDebugInfoLnet/minecraft/server/world/ServerChunkLoadingManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;intermediary method_23272Lnet/minecraft/class_3898;method_23272(Lnet/minecraft/class_1923;)Ljava/lang/String;official aLarf;a(Ldjo;)Ljava/lang/String;
-
getRegion
private CompletableFuture<OptionalChunk<List<Chunk>>> getRegion(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) - Mappings:
Namespace Name Mixin selector named getRegionLnet/minecraft/server/world/ServerChunkLoadingManager;getRegion(Lnet/minecraft/server/world/ChunkHolder;ILjava/util/function/IntFunction;)Ljava/util/concurrent/CompletableFuture;intermediary method_17220Lnet/minecraft/class_3898;method_17220(Lnet/minecraft/class_3193;ILjava/util/function/IntFunction;)Ljava/util/concurrent/CompletableFuture;official aLarf;a(Lard;ILjava/util/function/IntFunction;)Ljava/util/concurrent/CompletableFuture;
-
crash
- Mappings:
Namespace Name Mixin selector named crashLnet/minecraft/server/world/ServerChunkLoadingManager;crash(Ljava/lang/IllegalStateException;Ljava/lang/String;)Lnet/minecraft/util/crash/CrashException;intermediary method_40067Lnet/minecraft/class_3898;method_40067(Ljava/lang/IllegalStateException;Ljava/lang/String;)Lnet/minecraft/class_148;official aLarf;a(Ljava/lang/IllegalStateException;Ljava/lang/String;)Laa;
-
makeChunkEntitiesTickable
- Mappings:
Namespace Name Mixin selector named makeChunkEntitiesTickableLnet/minecraft/server/world/ServerChunkLoadingManager;makeChunkEntitiesTickable(Lnet/minecraft/server/world/ChunkHolder;)Ljava/util/concurrent/CompletableFuture;intermediary method_17247Lnet/minecraft/class_3898;method_17247(Lnet/minecraft/class_3193;)Ljava/util/concurrent/CompletableFuture;official aLarf;a(Lard;)Ljava/util/concurrent/CompletableFuture;
-
setLevel
@Nullable @Nullable ChunkHolder setLevel(long pos, int level, @Nullable @Nullable ChunkHolder holder, int int2) Sets the loading level ofChunkHolders. NonexistentChunkHolders will be created automatically if their loading level is 45 or lower, and chunks whose loading levels are 46 or higher will be scheduled to be removed.- Mappings:
Namespace Name Mixin selector named setLevelLnet/minecraft/server/world/ServerChunkLoadingManager;setLevel(JILnet/minecraft/server/world/ChunkHolder;I)Lnet/minecraft/server/world/ChunkHolder;intermediary method_17217Lnet/minecraft/class_3898;method_17217(JILnet/minecraft/class_3193;I)Lnet/minecraft/class_3193;official aLarf;a(JILard;I)Lard;
-
updateLevel
private void updateLevel(ChunkPos pos, IntSupplier levelGetter, int targetLevel, IntConsumer levelSetter) - Mappings:
Namespace Name Mixin selector named updateLevelLnet/minecraft/server/world/ServerChunkLoadingManager;updateLevel(Lnet/minecraft/util/math/ChunkPos;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)Vintermediary method_63545Lnet/minecraft/class_3898;method_63545(Lnet/minecraft/class_1923;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)Vofficial aLarf;a(Ldjo;Ljava/util/function/IntSupplier;ILjava/util/function/IntConsumer;)V
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classVersionedChunkStorage- Throws:
IOException
-
save
protected void save(boolean flush) - Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/server/world/ServerChunkLoadingManager;save(Z)Vintermediary method_17242Lnet/minecraft/class_3898;method_17242(Z)Vofficial aLarf;a(Z)V
-
tick
- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/server/world/ServerChunkLoadingManager;tick(Ljava/util/function/BooleanSupplier;)Vintermediary method_17233Lnet/minecraft/class_3898;method_17233(Ljava/util/function/BooleanSupplier;)Vofficial aLarf;a(Ljava/util/function/BooleanSupplier;)V
-
shouldDelayShutdown
public boolean shouldDelayShutdown()Returns whether the server shutdown should be delayed to process some tasks.- Returns:
- whether the server shutdown should be delayed to process some tasks
- Mappings:
Namespace Name Mixin selector named shouldDelayShutdownLnet/minecraft/server/world/ServerChunkLoadingManager;shouldDelayShutdown()Zintermediary method_39992Lnet/minecraft/class_3898;method_39992()Zofficial eLarf;e()Z
-
unloadChunks
- Mappings:
Namespace Name Mixin selector named unloadChunksLnet/minecraft/server/world/ServerChunkLoadingManager;unloadChunks(Ljava/util/function/BooleanSupplier;)Vintermediary method_20605Lnet/minecraft/class_3898;method_20605(Ljava/util/function/BooleanSupplier;)Vofficial bLarf;b(Ljava/util/function/BooleanSupplier;)V
-
saveChunks
- Mappings:
Namespace Name Mixin selector named saveChunksLnet/minecraft/server/world/ServerChunkLoadingManager;saveChunks(Ljava/util/function/BooleanSupplier;)Vintermediary method_65055Lnet/minecraft/class_3898;method_65055(Ljava/util/function/BooleanSupplier;)Vofficial cLarf;c(Ljava/util/function/BooleanSupplier;)V
-
tryUnloadChunk
- Mappings:
Namespace Name Mixin selector named tryUnloadChunkLnet/minecraft/server/world/ServerChunkLoadingManager;tryUnloadChunk(JLnet/minecraft/server/world/ChunkHolder;)Vintermediary method_20458Lnet/minecraft/class_3898;method_20458(JLnet/minecraft/class_3193;)Vofficial aLarf;a(JLard;)V
-
updateHolderMap
protected boolean updateHolderMap()- Mappings:
Namespace Name Mixin selector named updateHolderMapLnet/minecraft/server/world/ServerChunkLoadingManager;updateHolderMap()Zintermediary method_17244Lnet/minecraft/class_3898;method_17244()Zofficial fLarf;f()Z
-
loadChunk
- Mappings:
Namespace Name Mixin selector named loadChunkLnet/minecraft/server/world/ServerChunkLoadingManager;loadChunk(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;intermediary method_20619Lnet/minecraft/class_3898;method_20619(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;official gLarf;g(Ldjo;)Ljava/util/concurrent/CompletableFuture;
-
recoverFromException
- Mappings:
Namespace Name Mixin selector named recoverFromExceptionLnet/minecraft/server/world/ServerChunkLoadingManager;recoverFromException(Ljava/lang/Throwable;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/chunk/Chunk;intermediary method_43376Lnet/minecraft/class_3898;method_43376(Ljava/lang/Throwable;Lnet/minecraft/class_1923;)Lnet/minecraft/class_2791;official aLarf;a(Ljava/lang/Throwable;Ldjo;)Ledn;
-
getProtoChunk
- Mappings:
Namespace Name Mixin selector named getProtoChunkLnet/minecraft/server/world/ServerChunkLoadingManager;getProtoChunk(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/chunk/Chunk;intermediary method_43382Lnet/minecraft/class_3898;method_43382(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2791;official hLarf;h(Ldjo;)Ledn;
-
markAsProtoChunk
- Mappings:
Namespace Name Mixin selector named markAsProtoChunkLnet/minecraft/server/world/ServerChunkLoadingManager;markAsProtoChunk(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_27054Lnet/minecraft/class_3898;method_27054(Lnet/minecraft/class_1923;)Vofficial iLarf;i(Ldjo;)V
-
mark
- Mappings:
Namespace Name Mixin selector named markLnet/minecraft/server/world/ServerChunkLoadingManager;mark(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/ChunkType;)Bintermediary method_27053Lnet/minecraft/class_3898;method_27053(Lnet/minecraft/class_1923;Lnet/minecraft/class_2808;)Bofficial aLarf;a(Ldjo;Lees;)B
-
acquire
- Specified by:
acquirein interfaceChunkLoadingManager- Mappings:
Namespace Name Mixin selector named acquireLnet/minecraft/world/ChunkLoadingManager;acquire(J)Lnet/minecraft/world/chunk/AbstractChunkHolder;intermediary method_60448Lnet/minecraft/class_9760;method_60448(J)Lnet/minecraft/class_9761;official dLarq;d(J)Larr;
-
release
- Specified by:
releasein interfaceChunkLoadingManager- Mappings:
Namespace Name Mixin selector named releaseLnet/minecraft/world/ChunkLoadingManager;release(Lnet/minecraft/world/chunk/AbstractChunkHolder;)Vintermediary method_60441Lnet/minecraft/class_9760;method_60441(Lnet/minecraft/class_9761;)Vofficial aLarq;a(Larr;)V
-
generate
public CompletableFuture<Chunk> generate(AbstractChunkHolder chunkHolder, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks) - Specified by:
generatein interfaceChunkLoadingManager- Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/world/ChunkLoadingManager;generate(Lnet/minecraft/world/chunk/AbstractChunkHolder;Lnet/minecraft/world/chunk/ChunkGenerationStep;Lnet/minecraft/util/collection/BoundedRegionArray;)Ljava/util/concurrent/CompletableFuture;intermediary method_60442Lnet/minecraft/class_9760;method_60442(Lnet/minecraft/class_9761;Lnet/minecraft/class_9770;Lnet/minecraft/class_9762;)Ljava/util/concurrent/CompletableFuture;official aLarq;a(Larr;Leer;Lbav;)Ljava/util/concurrent/CompletableFuture;
-
createLoader
- Specified by:
createLoaderin interfaceChunkLoadingManager- Mappings:
Namespace Name Mixin selector named createLoaderLnet/minecraft/world/ChunkLoadingManager;createLoader(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/chunk/ChunkLoader;intermediary method_60443Lnet/minecraft/class_9760;method_60443(Lnet/minecraft/class_2806;Lnet/minecraft/class_1923;)Lnet/minecraft/class_9759;official aLarq;a(Leeo;Ldjo;)Larc;
-
schedule
- Mappings:
Namespace Name Mixin selector named scheduleLnet/minecraft/server/world/ServerChunkLoadingManager;schedule(Lnet/minecraft/world/chunk/ChunkLoader;)Vintermediary method_60439Lnet/minecraft/class_3898;method_60439(Lnet/minecraft/class_9759;)Vofficial aLarf;a(Larc;)V
-
updateChunks
public void updateChunks()- Specified by:
updateChunksin interfaceChunkLoadingManager- Mappings:
Namespace Name Mixin selector named updateChunksLnet/minecraft/world/ChunkLoadingManager;updateChunks()Vintermediary method_60450Lnet/minecraft/class_9760;method_60450()Vofficial gLarq;g()V
-
makeChunkTickable
- Mappings:
Namespace Name Mixin selector named makeChunkTickableLnet/minecraft/server/world/ServerChunkLoadingManager;makeChunkTickable(Lnet/minecraft/server/world/ChunkHolder;)Ljava/util/concurrent/CompletableFuture;intermediary method_17235Lnet/minecraft/class_3898;method_17235(Lnet/minecraft/class_3193;)Ljava/util/concurrent/CompletableFuture;official bLarf;b(Lard;)Ljava/util/concurrent/CompletableFuture;
-
sendToPlayers
- Mappings:
Namespace Name Mixin selector named sendToPlayersLnet/minecraft/server/world/ServerChunkLoadingManager;sendToPlayers(Lnet/minecraft/server/world/ChunkHolder;Lnet/minecraft/world/chunk/WorldChunk;)Vintermediary method_53686Lnet/minecraft/class_3898;method_53686(Lnet/minecraft/class_3193;Lnet/minecraft/class_2818;)Vofficial aLarf;a(Lard;Ledx;)V
-
makeChunkAccessible
- Mappings:
Namespace Name Mixin selector named makeChunkAccessibleLnet/minecraft/server/world/ServerChunkLoadingManager;makeChunkAccessible(Lnet/minecraft/server/world/ChunkHolder;)Ljava/util/concurrent/CompletableFuture;intermediary method_31417Lnet/minecraft/class_3898;method_31417(Lnet/minecraft/class_3193;)Ljava/util/concurrent/CompletableFuture;official cLarf;c(Lard;)Ljava/util/concurrent/CompletableFuture;
-
getTotalChunksLoadedCount
public int getTotalChunksLoadedCount()- Mappings:
Namespace Name Mixin selector named getTotalChunksLoadedCountLnet/minecraft/server/world/ServerChunkLoadingManager;getTotalChunksLoadedCount()Iintermediary method_17253Lnet/minecraft/class_3898;method_17253()Iofficial hLarf;h()I
-
save
- Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/server/world/ServerChunkLoadingManager;save(Lnet/minecraft/server/world/ChunkHolder;J)Zintermediary method_39925Lnet/minecraft/class_3898;method_39925(Lnet/minecraft/class_3193;J)Zofficial aLarf;a(Lard;J)Z
-
save
- Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/server/world/ServerChunkLoadingManager;save(Lnet/minecraft/world/chunk/Chunk;)Zintermediary method_17228Lnet/minecraft/class_3898;method_17228(Lnet/minecraft/class_2791;)Zofficial aLarf;a(Ledn;)Z
-
isLevelChunk
- Mappings:
Namespace Name Mixin selector named isLevelChunkLnet/minecraft/server/world/ServerChunkLoadingManager;isLevelChunk(Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_27055Lnet/minecraft/class_3898;method_27055(Lnet/minecraft/class_1923;)Zofficial jLarf;j(Ldjo;)Z
-
setViewDistance
protected void setViewDistance(int watchDistance) - Mappings:
Namespace Name Mixin selector named setViewDistanceLnet/minecraft/server/world/ServerChunkLoadingManager;setViewDistance(I)Vintermediary method_17214Lnet/minecraft/class_3898;method_17214(I)Vofficial aLarf;a(I)V
-
getViewDistance
- Mappings:
Namespace Name Mixin selector named getViewDistanceLnet/minecraft/server/world/ServerChunkLoadingManager;getViewDistance(Lnet/minecraft/server/network/ServerPlayerEntity;)Iintermediary method_52350Lnet/minecraft/class_3898;method_52350(Lnet/minecraft/class_3222;)Iofficial bLarf;b(Lasc;)I
-
track
- Mappings:
Namespace Name Mixin selector named trackLnet/minecraft/server/world/ServerChunkLoadingManager;track(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_52347Lnet/minecraft/class_3898;method_52347(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)Vofficial aLarf;a(Lasc;Ldjo;)V
-
track
- Mappings:
Namespace Name Mixin selector named trackLnet/minecraft/server/world/ServerChunkLoadingManager;track(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/world/chunk/WorldChunk;)Vintermediary method_52348Lnet/minecraft/class_3898;method_52348(Lnet/minecraft/class_3222;Lnet/minecraft/class_2818;)Vofficial aLarf;a(Lasc;Ledx;)V
-
untrack
- Mappings:
Namespace Name Mixin selector named untrackLnet/minecraft/server/world/ServerChunkLoadingManager;untrack(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_52352Lnet/minecraft/class_3898;method_52352(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)Vofficial bLarf;b(Lasc;Ldjo;)V
-
getPostProcessedChunk
- Mappings:
Namespace Name Mixin selector named getPostProcessedChunkLnet/minecraft/server/world/ServerChunkLoadingManager;getPostProcessedChunk(J)Lnet/minecraft/world/chunk/WorldChunk;intermediary method_53688Lnet/minecraft/class_3898;method_53688(J)Lnet/minecraft/class_2818;official eLarf;e(J)Ledx;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Mappings:
Namespace Name Mixin selector named getLoadedChunkCountLnet/minecraft/server/world/ServerChunkLoadingManager;getLoadedChunkCount()Iintermediary method_17260Lnet/minecraft/class_3898;method_17260()Iofficial iLarf;i()I
-
getLevelManager
- Mappings:
Namespace Name Mixin selector named getLevelManagerLnet/minecraft/server/world/ServerChunkLoadingManager;getLevelManager()Lnet/minecraft/server/world/ChunkLevelManager;intermediary method_17263Lnet/minecraft/class_3898;method_17263()Lnet/minecraft/class_3204;official jLarf;j()Laro;
-
entryIterator
- Mappings:
Namespace Name Mixin selector named entryIteratorLnet/minecraft/server/world/ServerChunkLoadingManager;entryIterator()Ljava/lang/Iterable;intermediary method_17264Lnet/minecraft/class_3898;method_17264()Ljava/lang/Iterable;official kLarf;k()Ljava/lang/Iterable;
-
dump
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named dumpLnet/minecraft/server/world/ServerChunkLoadingManager;dump(Ljava/io/Writer;)Vintermediary method_21619Lnet/minecraft/class_3898;method_21619(Ljava/io/Writer;)Vofficial aLarf;a(Ljava/io/Writer;)V
-
getFutureStatus
- Mappings:
Namespace Name Mixin selector named getFutureStatusLnet/minecraft/server/world/ServerChunkLoadingManager;getFutureStatus(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String;intermediary method_21676Lnet/minecraft/class_3898;method_21676(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String;official aLarf;a(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/String;
-
getUpdatedChunkNbt
- Mappings:
Namespace Name Mixin selector named getUpdatedChunkNbtLnet/minecraft/server/world/ServerChunkLoadingManager;getUpdatedChunkNbt(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;intermediary method_43383Lnet/minecraft/class_3898;method_43383(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;official kLarf;k(Ldjo;)Ljava/util/concurrent/CompletableFuture;
-
updateChunkNbt
- Mappings:
Namespace Name Mixin selector named updateChunkNbtLnet/minecraft/server/world/ServerChunkLoadingManager;updateChunkNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;intermediary method_43381Lnet/minecraft/class_3898;method_43381(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;official bLarf;b(Lua;)Lua;
-
collectSpawningChunks
- Mappings:
Namespace Name Mixin selector named collectSpawningChunksLnet/minecraft/server/world/ServerChunkLoadingManager;collectSpawningChunks(Ljava/util/List;)Vintermediary method_67497Lnet/minecraft/class_3898;method_67497(Ljava/util/List;)Vofficial aLarf;a(Ljava/util/List;)V
-
forEachBlockTickingChunk
- Mappings:
Namespace Name Mixin selector named forEachBlockTickingChunkLnet/minecraft/server/world/ServerChunkLoadingManager;forEachBlockTickingChunk(Ljava/util/function/Consumer;)Vintermediary method_67498Lnet/minecraft/class_3898;method_67498(Ljava/util/function/Consumer;)Vofficial aLarf;a(Ljava/util/function/Consumer;)V
-
shouldTick
- Mappings:
Namespace Name Mixin selector named shouldTickLnet/minecraft/server/world/ServerChunkLoadingManager;shouldTick(Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_38783Lnet/minecraft/class_3898;method_38783(Lnet/minecraft/class_1923;)Zofficial bLarf;b(Ldjo;)Z
-
isAnyPlayerTicking
- Mappings:
Namespace Name Mixin selector named isAnyPlayerTickingLnet/minecraft/server/world/ServerChunkLoadingManager;isAnyPlayerTicking(Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_61261Lnet/minecraft/class_3898;method_61261(Lnet/minecraft/class_1923;)Zofficial lLarf;l(Ldjo;)Z
-
getPlayersWatchingChunk
- Mappings:
Namespace Name Mixin selector named getPlayersWatchingChunkLnet/minecraft/server/world/ServerChunkLoadingManager;getPlayersWatchingChunk(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/List;intermediary method_37907Lnet/minecraft/class_3898;method_37907(Lnet/minecraft/class_1923;)Ljava/util/List;official cLarf;c(Ldjo;)Ljava/util/List;
-
canTickChunk
Returns whether theplayercan tick the chunk atpos.- Returns:
- whether the
playercan tick the chunk atpos - API Note:
- This controls monster spawning and block random ticks.
- Implementation Note:
- Spectators cannot tick chunks. Additionally, only chunks within 128 block radius of that player can be ticked.
- Mappings:
Namespace Name Mixin selector named canTickChunkLnet/minecraft/server/world/ServerChunkLoadingManager;canTickChunk(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_38782Lnet/minecraft/class_3898;method_38782(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)Zofficial cLarf;c(Lasc;Ldjo;)Z
-
getSquaredDistance
- Mappings:
Namespace Name Mixin selector named getSquaredDistanceLnet/minecraft/server/world/ServerChunkLoadingManager;getSquaredDistance(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/Vec3d;)Dintermediary method_18704Lnet/minecraft/class_3898;method_18704(Lnet/minecraft/class_1923;Lnet/minecraft/class_243;)Dofficial aLarf;a(Ldjo;Lfgc;)D
-
doesNotGenerateChunks
- Mappings:
Namespace Name Mixin selector named doesNotGenerateChunksLnet/minecraft/server/world/ServerChunkLoadingManager;doesNotGenerateChunks(Lnet/minecraft/server/network/ServerPlayerEntity;)Zintermediary method_18722Lnet/minecraft/class_3898;method_18722(Lnet/minecraft/class_3222;)Zofficial cLarf;c(Lasc;)Z
-
handlePlayerAddedOrRemoved
- Mappings:
Namespace Name Mixin selector named handlePlayerAddedOrRemovedLnet/minecraft/server/world/ServerChunkLoadingManager;handlePlayerAddedOrRemoved(Lnet/minecraft/server/network/ServerPlayerEntity;Z)Vintermediary method_18714Lnet/minecraft/class_3898;method_18714(Lnet/minecraft/class_3222;Z)Vofficial aLarf;a(Lasc;Z)V
-
updateWatchedSection
Updates the watched chunk section position for theplayer, and sends a render distance update packet to the client.- Mappings:
Namespace Name Mixin selector named updateWatchedSectionLnet/minecraft/server/world/ServerChunkLoadingManager;updateWatchedSection(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_20726Lnet/minecraft/class_3898;method_20726(Lnet/minecraft/class_3222;)Vofficial dLarf;d(Lasc;)V
-
updatePosition
Updates the chunk section position of theplayer. This updates the player position for both entity tracking and chunk loading (watching) logic.- See Also:
- Mappings:
Namespace Name Mixin selector named updatePositionLnet/minecraft/server/world/ServerChunkLoadingManager;updatePosition(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_18713Lnet/minecraft/class_3898;method_18713(Lnet/minecraft/class_3222;)Vofficial aLarf;a(Lasc;)V
-
sendWatchPackets
- Mappings:
Namespace Name Mixin selector named sendWatchPacketsLnet/minecraft/server/world/ServerChunkLoadingManager;sendWatchPackets(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_17241Lnet/minecraft/class_3898;method_17241(Lnet/minecraft/class_3222;)Vofficial eLarf;e(Lasc;)V
-
sendWatchPackets
- Mappings:
Namespace Name Mixin selector named sendWatchPacketsLnet/minecraft/server/world/ServerChunkLoadingManager;sendWatchPackets(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/network/ChunkFilter;)Vintermediary method_52346Lnet/minecraft/class_3898;method_52346(Lnet/minecraft/class_3222;Lnet/minecraft/class_8603;)Vofficial aLarf;a(Lasc;Lark;)V
-
getPlayersWatchingChunk
public List<ServerPlayerEntity> getPlayersWatchingChunk(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) - Specified by:
getPlayersWatchingChunkin interfaceChunkHolder.PlayersWatchingChunkProvider- Mappings:
Namespace Name Mixin selector named getPlayersWatchingChunkLnet/minecraft/server/world/ChunkHolder$PlayersWatchingChunkProvider;getPlayersWatchingChunk(Lnet/minecraft/util/math/ChunkPos;Z)Ljava/util/List;intermediary method_17210Lnet/minecraft/class_3193$class_3897;method_17210(Lnet/minecraft/class_1923;Z)Ljava/util/List;official aLard$b;a(Ldjo;Z)Ljava/util/List;
-
loadEntity
- Mappings:
Namespace Name Mixin selector named loadEntityLnet/minecraft/server/world/ServerChunkLoadingManager;loadEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18701Lnet/minecraft/class_3898;method_18701(Lnet/minecraft/class_1297;)Vofficial aLarf;a(Lbxe;)V
-
unloadEntity
- Mappings:
Namespace Name Mixin selector named unloadEntityLnet/minecraft/server/world/ServerChunkLoadingManager;unloadEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18716Lnet/minecraft/class_3898;method_18716(Lnet/minecraft/class_1297;)Vofficial bLarf;b(Lbxe;)V
-
tickEntityMovement
protected void tickEntityMovement()Ticks and updates the tracked status of each tracker.This first checks if entities have changed chunk sections, and updates tracking status of those entities to all players. It then checks if any player has changed chunk sections, and updates all entities tracking status to those players. This ensures all possible updates are accounted for.
- Mappings:
Namespace Name Mixin selector named tickEntityMovementLnet/minecraft/server/world/ServerChunkLoadingManager;tickEntityMovement()Vintermediary method_18727Lnet/minecraft/class_3898;method_18727()Vofficial lLarf;l()V
-
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector named sendToOtherNearbyPlayersLnet/minecraft/server/world/ServerChunkLoadingManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)Vintermediary method_18702Lnet/minecraft/class_3898;method_18702(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial aLarf;a(Lbxe;Lzo;)V
-
sendToNearbyPlayers
- Mappings:
Namespace Name Mixin selector named sendToNearbyPlayersLnet/minecraft/server/world/ServerChunkLoadingManager;sendToNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)Vintermediary method_18717Lnet/minecraft/class_3898;method_18717(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial bLarf;b(Lbxe;Lzo;)V
-
sendChunkBiomePackets
- Mappings:
Namespace Name Mixin selector named sendChunkBiomePacketsLnet/minecraft/server/world/ServerChunkLoadingManager;sendChunkBiomePackets(Ljava/util/List;)Vintermediary method_49421Lnet/minecraft/class_3898;method_49421(Ljava/util/List;)Vofficial bLarf;b(Ljava/util/List;)V
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector named getPointOfInterestStorageLnet/minecraft/server/world/ServerChunkLoadingManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;intermediary method_19488Lnet/minecraft/class_3898;method_19488()Lnet/minecraft/class_4153;official mLarf;m()Lcjh;
-
getSaveDir
- Mappings:
Namespace Name Mixin selector named getSaveDirLnet/minecraft/server/world/ServerChunkLoadingManager;getSaveDir()Ljava/lang/String;intermediary method_37476Lnet/minecraft/class_3898;method_37476()Ljava/lang/String;official nLarf;n()Ljava/lang/String;
-
onChunkStatusChange
- Mappings:
Namespace Name Mixin selector named onChunkStatusChangeLnet/minecraft/server/world/ServerChunkLoadingManager;onChunkStatusChange(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/server/world/ChunkLevelType;)Vintermediary method_31414Lnet/minecraft/class_3898;method_31414(Lnet/minecraft/class_1923;Lnet/minecraft/class_3194;)Vofficial aLarf;a(Ldjo;Larp;)V
-
forceLighting
- Mappings:
Namespace Name Mixin selector named forceLightingLnet/minecraft/server/world/ServerChunkLoadingManager;forceLighting(Lnet/minecraft/util/math/ChunkPos;I)Vintermediary method_53685Lnet/minecraft/class_3898;method_53685(Lnet/minecraft/class_1923;I)Vofficial aLarf;a(Ldjo;I)V
-