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 aqa
-
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 ChunkStatusChangeListenerprivate final Long2ObjectLinkedOpenHashMap<ChunkHolder> private final ChunkTaskPrioritySystemprivate final Long2LongMapprivate final Long2ByteMapprivate final Long2ObjectLinkedOpenHashMap<ChunkHolder> static final intprivate final Int2ObjectMap<ServerChunkLoadingManager.EntityTracker> static final intstatic final intprivate static final intprivate static final intprivate static final intprivate final ChunkGenerationContextprivate static final byteprivate final ServerLightingProviderprivate final List<ChunkLoader> private static final Loggerprivate final MessageListener<ChunkTaskPrioritySystem.Task<Runnable>> private final ThreadExecutor<Runnable> private final NoiseConfigprivate final Supplier<PersistentStateManager> private final PlayerChunkWatchingManagerprivate final PointOfInterestStorageprivate static final byteprivate final Stringprivate final StructurePlacementCalculatorprivate final ServerChunkLoadingManager.TicketManagerprivate 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 MessageListener<ChunkTaskPrioritySystem.Task<Runnable>> Fields 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, 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()private static booleancrash(IllegalStateException exception, String details) createLoader(ChunkStatus requestedStatus, ChunkPos pos) private boolean(package private) voidprotected Iterable<ChunkHolder> voidforceLighting(ChunkPos centerPos, int radius) 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, Entity entity) protected StructurePlacementCalculatorintprivate CompletableFuture<Optional<NbtCompound>> getUpdatedChunkNbt(ChunkPos chunkPos) (package private) intgetViewDistance(ServerPlayerEntity player) (package private) voidhandlePlayerAddedOrRemoved(ServerPlayerEntity player, boolean added) private 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) (package private) voidonChunkStatusChange(ChunkPos chunkPos, ChunkLevelType levelType) private ChunkrecoverFromException(Throwable throwable, ChunkPos chunkPos) voidrelease(AbstractChunkHolder chunkHolder) protected voidsave(boolean flush) private booleansave(ChunkHolder chunkHolder) private booleanprivate voidschedule(ChunkLoader chunkLoader) voidsendChunkBiomePackets(List<Chunk> chunks) protected voidsendToNearbyPlayers(Entity entity, Packet<?> packet) voidsendToOtherNearbyPlayers(Entity entity, Packet<?> packet) private voidsendToPlayers(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 holder) private voidunloadChunks(BooleanSupplier shouldKeepTicking) protected voidunloadEntity(Entity entity) private static voiduntrack(ServerPlayerEntity player, ChunkPos pos) private NbtCompoundvoidprotected booleanvoidupdatePosition(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, 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 fLaqa;f:Laqb;
-
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 gLaqa;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 hLaqa;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 iLaqa;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 jLaqa;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 kLaqa;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 lLaqa;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 mLaqa;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 nLaqa;n: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 aLaqa;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 bLaqa;b:I
-
field_29670
public static final int field_29670- Mappings:
Namespace Name Mixin selector named field_29670Lnet/minecraft/server/world/ServerChunkLoadingManager;field_29670:Iintermediary field_29670Lnet/minecraft/class_3898;field_29670:Iofficial cLaqa;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 oLaqa;o: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 pLaqa;p: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 qLaqa;q: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 rLaqa;r: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 sLaqa;s:Laqt;
-
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 tLaqa;t:Laqw;
-
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 uLaqa;u:Lbpg;
-
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 vLaqa;v:Ldzj;
-
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 wLaqa;w:Lduy;
-
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 xLaqa;x:Ljava/util/function/Supplier;
-
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 yLaqa;y:Lceq;
-
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 zLaqa;z: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 ALaqa;A:Z
-
chunkTaskPrioritySystem
- Mappings:
Namespace Name Mixin selector named chunkTaskPrioritySystemLnet/minecraft/server/world/ServerChunkLoadingManager;chunkTaskPrioritySystem:Lnet/minecraft/server/world/ChunkTaskPrioritySystem;intermediary field_17223Lnet/minecraft/class_3898;field_17223:Lnet/minecraft/class_3900;official BLaqa;B:Laqd;
-
worldGenExecutor
- Mappings:
Namespace Name Mixin selector named worldGenExecutorLnet/minecraft/server/world/ServerChunkLoadingManager;worldGenExecutor:Lnet/minecraft/util/thread/MessageListener;intermediary field_17224Lnet/minecraft/class_3898;field_17224:Lnet/minecraft/class_3906;official CLaqa;C:Lbpi;
-
mainExecutor
- Mappings:
Namespace Name Mixin selector named mainExecutorLnet/minecraft/server/world/ServerChunkLoadingManager;mainExecutor:Lnet/minecraft/util/thread/MessageListener;intermediary field_17226Lnet/minecraft/class_3898;field_17226:Lnet/minecraft/class_3906;official DLaqa;D:Lbpi;
-
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 ELaqa;E:Larc;
-
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 FLaqa;F:Ldxc;
-
ticketManager
- Mappings:
Namespace Name Mixin selector named ticketManagerLnet/minecraft/server/world/ServerChunkLoadingManager;ticketManager:Lnet/minecraft/server/world/ServerChunkLoadingManager$TicketManager;intermediary field_17228Lnet/minecraft/class_3898;field_17228:Lnet/minecraft/class_3898$class_3216;official GLaqa;G:Laqa$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 HLaqa;H: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 ILaqa;I: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 JLaqa;J:Laqn;
-
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 KLaqa;K: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 LLaqa;L: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_36383Lnet/minecraft/class_3898;field_36383:Lit/unimi/dsi/fastutil/longs/Long2LongMap;official MLaqa;M:Lit/unimi/dsi/fastutil/longs/Long2LongMap;
-
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 NLaqa;N:Ljava/util/Queue;
-
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 OLaqa;O: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 PLaqa;P:Ldwc;
-
-
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, 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;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;IZ)Vofficial <init>Laqa;<init>(Laqt;Leqz$c;Lcom/mojang/datafixers/DataFixer;Leno;Ljava/util/concurrent/Executor;Lbpg;Ldvj;Ldux;Larc;Ldxc;Ljava/util/function/Supplier;IZ)V
-
-
Method Details
-
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 aLaqa;a()Ldux;
-
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 bLaqa;b()Lduy;
-
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 cLaqa;c()Ldzj;
-
getSquaredDistance
- Mappings:
Namespace Name Mixin selector named getSquaredDistanceLnet/minecraft/server/world/ServerChunkLoadingManager;getSquaredDistance(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/entity/Entity;)Dintermediary method_18704Lnet/minecraft/class_3898;method_18704(Lnet/minecraft/class_1923;Lnet/minecraft/class_1297;)Dofficial aLaqa;a(Ldcb;Lbsq;)D
-
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 aLaqa;a(Laqu;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 bLaqa;b(Laqu;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 dLaqa;d()Laqw;
-
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 aLaqa;a(J)Lapy;
-
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 bLaqa;b(J)Lapy;
-
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 cLaqa;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 aLaqa;a(Ldcb;)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 aLaqa;a(Lapy;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 aLaqa;a(Ljava/lang/IllegalStateException;Ljava/lang/String;)Lz;
-
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 aLaqa;a(Lapy;)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 aLaqa;a(JILapy;I)Lapy;
-
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 aLaqa;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 aLaqa;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 eLaqa;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 bLaqa;b(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 aLaqa;a(JLapy;)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 fLaqa;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 fLaqa;f(Ldcb;)Ljava/util/concurrent/CompletableFuture;
-
containsStatus
- Mappings:
Namespace Name Mixin selector named containsStatusLnet/minecraft/server/world/ServerChunkLoadingManager;containsStatus(Lnet/minecraft/nbt/NbtCompound;)Zintermediary method_43380Lnet/minecraft/class_3898;method_43380(Lnet/minecraft/class_2487;)Zofficial bLaqa;b(Lua;)Z
-
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 aLaqa;a(Ljava/lang/Throwable;Ldcb;)Lduw;
-
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 gLaqa;g(Ldcb;)Lduw;
-
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 hLaqa;h(Ldcb;)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 aLaqa;a(Ldcb;Ldwb;)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 dLaql;d(J)Laqm;
-
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 aLaql;a(Laqm;)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 aLaql;a(Laqm;Ldwa;Lazh;)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 aLaql;a(Ldvx;Ldcb;)Lapx;
-
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 aLaqa;a(Lapx;)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 gLaql;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 bLaqa;b(Lapy;)Ljava/util/concurrent/CompletableFuture;
-
sendToPlayers
- Mappings:
Namespace Name Mixin selector named sendToPlayersLnet/minecraft/server/world/ServerChunkLoadingManager;sendToPlayers(Lnet/minecraft/world/chunk/WorldChunk;)Vintermediary method_53686Lnet/minecraft/class_3898;method_53686(Lnet/minecraft/class_2818;)Vofficial aLaqa;a(Ldvg;)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 cLaqa;c(Lapy;)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 hLaqa;h()I
-
save
- Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/server/world/ServerChunkLoadingManager;save(Lnet/minecraft/server/world/ChunkHolder;)Zintermediary method_39925Lnet/minecraft/class_3898;method_39925(Lnet/minecraft/class_3193;)Zofficial dLaqa;d(Lapy;)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 aLaqa;a(Lduw;)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 iLaqa;i(Ldcb;)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 aLaqa;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 bLaqa;b(Laqu;)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 aLaqa;a(Laqu;Ldcb;)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 aLaqa;a(Laqu;Ldvg;)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 bLaqa;b(Laqu;Ldcb;)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 eLaqa;e(J)Ldvg;
-
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 iLaqa;i()I
-
getTicketManager
- Mappings:
Namespace Name Mixin selector named getTicketManagerLnet/minecraft/server/world/ServerChunkLoadingManager;getTicketManager()Lnet/minecraft/server/world/ChunkTicketManager;intermediary method_17263Lnet/minecraft/class_3898;method_17263()Lnet/minecraft/class_3204;official jLaqa;j()Laqj;
-
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 kLaqa;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 aLaqa;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 aLaqa;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 jLaqa;j(Ldcb;)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 cLaqa;c(Lua;)Lua;
-
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 bLaqa;b(Ldcb;)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 cLaqa;c(Ldcb;)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 cLaqa;c(Laqu;Ldcb;)Z
-
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 cLaqa;c(Laqu;)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 aLaqa;a(Laqu;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 dLaqa;d(Laqu;)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 aLaqa;a(Laqu;)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 eLaqa;e(Laqu;)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 aLaqa;a(Laqu;Laqf;)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 aLapy$b;a(Ldcb;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 aLaqa;a(Lbsq;)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 bLaqa;b(Lbsq;)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 lLaqa;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 aLaqa;a(Lbsq;Lzf;)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 bLaqa;b(Lbsq;Lzf;)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 aLaqa;a(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 mLaqa;m()Lceq;
-
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 nLaqa;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 aLaqa;a(Ldcb;Laqk;)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 aLaqa;a(Ldcb;I)V
-