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 aqb
-
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, 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 fLaqb;f:Laqc;
-
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 gLaqb;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 hLaqb;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 iLaqb;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 jLaqb;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 kLaqb;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 lLaqb;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 mLaqb;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 nLaqb;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 aLaqb;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 bLaqb;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 cLaqb;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 oLaqb;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 pLaqb;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 qLaqb;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 rLaqb;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 sLaqb;s:Laqu;
-
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 tLaqb;t:Laqx;
-
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 uLaqb;u:Lbph;
-
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 vLaqb;v:Ldzm;
-
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 wLaqb;w:Ldva;
-
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 xLaqb;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 yLaqb;y:Lces;
-
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 zLaqb;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 ALaqb;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 BLaqb;B:Laqe;
-
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 CLaqb;C:Lbpj;
-
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 DLaqb;D:Lbpj;
-
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 ELaqb;E:Lard;
-
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 FLaqb;F:Ldxf;
-
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 GLaqb;G:Laqb$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 HLaqb;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 ILaqb;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 JLaqb;J:Laqo;
-
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 KLaqb;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 LLaqb;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 MLaqb;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 NLaqb;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 OLaqb;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 PLaqb;P:Ldwe;
-
-
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>Laqb;<init>(Laqu;Lerf$c;Lcom/mojang/datafixers/DataFixer;Lenu;Ljava/util/concurrent/Executor;Lbph;Ldvl;Lduz;Lard;Ldxf;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 aLaqb;a()Lduz;
-
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 bLaqb;b()Ldva;
-
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 cLaqb;c()Ldzm;
-
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 aLaqb;a(Ldcd;Lbsr;)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 aLaqb;a(Laqv;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 bLaqb;b(Laqv;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 dLaqb;d()Laqx;
-
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 aLaqb;a(J)Lapz;
-
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 bLaqb;b(J)Lapz;
-
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 cLaqb;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 aLaqb;a(Ldcd;)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 aLaqb;a(Lapz;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 aLaqb;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 aLaqb;a(Lapz;)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 aLaqb;a(JILapz;I)Lapz;
-
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 aLaqb;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 aLaqb;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 eLaqb;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 bLaqb;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 aLaqb;a(JLapz;)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 fLaqb;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 fLaqb;f(Ldcd;)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 bLaqb;b(Lub;)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 aLaqb;a(Ljava/lang/Throwable;Ldcd;)Lduy;
-
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 gLaqb;g(Ldcd;)Lduy;
-
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 hLaqb;h(Ldcd;)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 aLaqb;a(Ldcd;Ldwd;)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 dLaqm;d(J)Laqn;
-
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 aLaqm;a(Laqn;)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 aLaqm;a(Laqn;Ldwc;Lazi;)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 aLaqm;a(Ldvz;Ldcd;)Lapy;
-
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 aLaqb;a(Lapy;)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 gLaqm;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 bLaqb;b(Lapz;)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 aLaqb;a(Ldvi;)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 cLaqb;c(Lapz;)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 hLaqb;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 dLaqb;d(Lapz;)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 aLaqb;a(Lduy;)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 iLaqb;i(Ldcd;)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 aLaqb;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 bLaqb;b(Laqv;)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 aLaqb;a(Laqv;Ldcd;)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 aLaqb;a(Laqv;Ldvi;)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 bLaqb;b(Laqv;Ldcd;)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 eLaqb;e(J)Ldvi;
-
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 iLaqb;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 jLaqb;j()Laqk;
-
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 kLaqb;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 aLaqb;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 aLaqb;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 jLaqb;j(Ldcd;)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 cLaqb;c(Lub;)Lub;
-
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 bLaqb;b(Ldcd;)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 cLaqb;c(Ldcd;)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 cLaqb;c(Laqv;Ldcd;)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 cLaqb;c(Laqv;)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 aLaqb;a(Laqv;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 dLaqb;d(Laqv;)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 aLaqb;a(Laqv;)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 eLaqb;e(Laqv;)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 aLaqb;a(Laqv;Laqg;)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 aLapz$b;a(Ldcd;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 aLaqb;a(Lbsr;)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 bLaqb;b(Lbsr;)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 lLaqb;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 aLaqb;a(Lbsr;Lzg;)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 bLaqb;b(Lbsr;Lzg;)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 aLaqb;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 mLaqb;m()Lces;
-
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 nLaqb;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 aLaqb;a(Ldcd;Laql;)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 aLaqb;a(Ldcd;I)V
-