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 awq
-
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 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 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, 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) voidvoidforceLighting(ChunkPos centerPos, int radius) (package private) voidforEachBlockTickingChunk(Consumer<WorldChunk> chunkConsumer) voidforEachChunk(Consumer<WorldChunk> action) voidforEachEntityTrackedBy(ServerPlayerEntity player, Consumer<Entity> action) generate(AbstractChunkHolder chunkHolder, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks) protected ChunkGeneratorprotected @Nullable ChunkHoldergetChunkHolder(long pos) (package private) Stream<ChunkHolder> getChunkHolders(ChunkStatus status) Returns chunk holders with a level less than or equal tostatus.getChunkLoadingDebugInfo(ChunkPos chunkPos) protected IntSuppliergetCompletedLevelSupplier(long pos) getCurrentChunkHolder(long pos) private static Stringprotected ServerLightingProviderintprotected NoiseConfiggetPlayersWatchingChunk(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) protected PointOfInterestStoragegetPostProcessedChunk(long pos) private ChunkgetProtoChunk(ChunkPos chunkPos) (package private) CompletableFuture<OptionalChunk<List<Chunk>>> getRegion(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) private static doublegetSquaredDistance(ChunkPos pos, Vec3d vec3d) getStatus(long chunkPos) protected StructurePlacementCalculatorprivate CompletableFuture<Optional<NbtCompound>> getUpdatedChunkNbt(ChunkPos chunkPos) (package private) intgetViewDistance(ServerPlayerEntity player) (package private) voidhandlePlayerAddedOrRemoved(ServerPlayerEntity player, boolean added) booleanhasTrackingPlayer(Entity entity) private booleanprivate booleanisLevelChunk(ChunkPos pos) private booleanisOnTrackEdge(ServerPlayerEntity player, int chunkX, int chunkZ) 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<? super ClientPlayPacketListener> packet) voidsendToOtherNearbyPlayers(Entity entity, Packet<? super ClientPlayPacketListener> packet) voidsendToOtherNearbyPlayersIf(Entity entity, Packet<? super ClientPlayPacketListener> packet, Predicate<ServerPlayerEntity> predicate) 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 fLawq;f:Lawr;
-
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 gLawq;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 hLawq;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 iLawq;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 jLawq;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 kLawq;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 lLawq;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 mLawq;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 nLawq;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 oLawq;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 aLawq;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 bLawq;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 cLawq;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 pLawq;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 qLawq;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 rLawq;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 sLawq;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 tLawq;t:Laxm;
-
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 uLawq;u:Laxq;
-
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 vLawq;v:Lcbn;
-
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 wLawq;w:Lese;
-
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 xLawq;x:Lenn;
-
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 yLawq;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 zLawq;z:Lduo;
-
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 ALawq;A:Lcrp;
-
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 BLawq;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 CLawq;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 DLawq;D:Laws;
-
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 ELawq;E:Laws;
-
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 FLawq;F:Lepv;
-
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 GLawq;G:Lawq$a;
-
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 HLawq;H: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 ILawq;I:Laxf;
-
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 JLawq;J: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 KLawq;K: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 LLawq;L: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 MLawq;M: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 NLawq;N: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 OLawq;O: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 PLawq;P: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 QLawq;Q:Leou;
-
-
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, 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/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_5567;Ljava/util/function/Supplier;Lnet/minecraft/class_10592;IZ)Vofficial <init>Lawq;<init>(Laxm;Lfki$c;Lcom/mojang/datafixers/DataFixer;Lfgr;Ljava/util/concurrent/Executor;Lcbn;Lenz;Lenm;Lepv;Ljava/util/function/Supplier;Lduo;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 fLawq;f(Ldsv;)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 aLawq;a()Lenm;
-
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 bLawq;b()Lenn;
-
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 cLawq;c()Lese;
-
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 aLawq;a(Laxn;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 bLawq;b(Laxn;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 dLawq;d()Laxq;
-
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 aLawq;a(J)Lawn;
-
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 bLawq;b(J)Lawn;
-
getStatus
- Mappings:
Namespace Name Mixin selector named getStatusLnet/minecraft/server/world/ServerChunkLoadingManager;getStatus(J)Lnet/minecraft/world/chunk/ChunkStatus;intermediary method_72254Lnet/minecraft/class_3898;method_72254(J)Lnet/minecraft/class_2806;official cLawq;c(J)Leop;
-
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 dLawq;d(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 aLawq;a(Ldsv;)Ljava/lang/String;
-
getRegion
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 aLawq;a(Lawn;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 aLawq;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 aLawq;a(Lawn;)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 aLawq;a(JILawn;I)Lawn;
-
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 aLawq;a(Ldsv;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 aLawq;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 aLawq;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 eLawq;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 bLawq;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 cLawq;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 aLawq;a(JLawn;)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 fLawq;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 gLawq;g(Ldsv;)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 aLawq;a(Ljava/lang/Throwable;Ldsv;)Lenl;
-
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 hLawq;h(Ldsv;)Lenl;
-
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 iLawq;i(Ldsv;)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 aLawq;a(Ldsv;Leot;)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 eLaxb;e(J)Laxc;
-
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 aLaxb;a(Laxc;)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 aLaxb;a(Laxc;Leos;Lbhf;)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 aLaxb;a(Leop;Ldsv;)Lawm;
-
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 aLawq;a(Lawm;)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 gLaxb;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 bLawq;b(Lawn;)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 aLawq;a(Lawn;Lenw;)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 cLawq;c(Lawn;)Ljava/util/concurrent/CompletableFuture;
-
getChunkHolders
Returns chunk holders with a level less than or equal tostatus.- Returns:
- chunk holders with a level less than or equal to
status - Mappings:
Namespace Name Mixin selector named getChunkHoldersLnet/minecraft/server/world/ServerChunkLoadingManager;getChunkHolders(Lnet/minecraft/world/chunk/ChunkStatus;)Ljava/util/stream/Stream;intermediary method_72253Lnet/minecraft/class_3898;method_72253(Lnet/minecraft/class_2806;)Ljava/util/stream/Stream;official aLawq;a(Leop;)Ljava/util/stream/Stream;
-
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 aLawq;a(Lawn;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 aLawq;a(Lenl;)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 jLawq;j(Ldsv;)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 aLawq;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 bLawq;b(Laxn;)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 aLawq;a(Laxn;Ldsv;)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 aLawq;a(Laxn;Lenw;)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 bLawq;b(Laxn;Ldsv;)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 fLawq;f(J)Lenw;
-
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 hLawq;h()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 iLawq;i()Lawz;
-
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 aLawq;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 aLawq;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 kLawq;k(Ldsv;)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 bLawq;b(Lve;)Lve;
-
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 aLawq;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 aLawq;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 bLawq;b(Ldsv;)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 lLawq;l(Ldsv;)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 cLawq;c(Ldsv;)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 cLawq;c(Laxn;Ldsv;)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 aLawq;a(Ldsv;Lfqj;)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 cLawq;c(Laxn;)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 aLawq;a(Laxn;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 dLawq;d(Laxn;)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 aLawq;a(Laxn;)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 eLawq;e(Laxn;)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 aLawq;a(Laxn;Lawv;)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 aLawn$b;a(Ldsv;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 aLawq;a(Lcfg;)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 bLawq;b(Lcfg;)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 jLawq;j()V
-
sendToOtherNearbyPlayers
public void sendToOtherNearbyPlayers(Entity entity, Packet<? super ClientPlayPacketListener> packet) - Mappings:
Namespace Name Mixin selector named sendToOtherNearbyPlayersLnet/minecraft/server/world/ServerChunkLoadingManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)Vintermediary method_74526Lnet/minecraft/class_3898;method_74526(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial aLawq;a(Lcfg;Labd;)V
-
sendToOtherNearbyPlayersIf
public void sendToOtherNearbyPlayersIf(Entity entity, Packet<? super ClientPlayPacketListener> packet, Predicate<ServerPlayerEntity> predicate) - Mappings:
Namespace Name Mixin selector named sendToOtherNearbyPlayersIfLnet/minecraft/server/world/ServerChunkLoadingManager;sendToOtherNearbyPlayersIf(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;Ljava/util/function/Predicate;)Vintermediary method_74527Lnet/minecraft/class_3898;method_74527(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;Ljava/util/function/Predicate;)Vofficial aLawq;a(Lcfg;Labd;Ljava/util/function/Predicate;)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_74528Lnet/minecraft/class_3898;method_74528(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial bLawq;b(Lcfg;Labd;)V
-
hasTrackingPlayer
- Mappings:
Namespace Name Mixin selector named hasTrackingPlayerLnet/minecraft/server/world/ServerChunkLoadingManager;hasTrackingPlayer(Lnet/minecraft/entity/Entity;)Zintermediary method_74530Lnet/minecraft/class_3898;method_74530(Lnet/minecraft/class_1297;)Zofficial cLawq;c(Lcfg;)Z
-
forEachEntityTrackedBy
- Mappings:
Namespace Name Mixin selector named forEachEntityTrackedByLnet/minecraft/server/world/ServerChunkLoadingManager;forEachEntityTrackedBy(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/util/function/Consumer;)Vintermediary method_74525Lnet/minecraft/class_3898;method_74525(Lnet/minecraft/class_3222;Ljava/util/function/Consumer;)Vofficial aLawq;a(Laxn;Ljava/util/function/Consumer;)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 bLawq;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 kLawq;k()Lcrp;
-
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 lLawq;l()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 aLawq;a(Ldsv;Laxa;)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 aLawq;a(Ldsv;I)V
-
forEachChunk
- Mappings:
Namespace Name Mixin selector named forEachChunkLnet/minecraft/server/world/ServerChunkLoadingManager;forEachChunk(Ljava/util/function/Consumer;)Vintermediary method_74529Lnet/minecraft/class_3898;method_74529(Ljava/util/function/Consumer;)Vofficial bLawq;b(Ljava/util/function/Consumer;)V
-