Package net.minecraft.server.world
Class ServerChunkManager
java.lang.Object
net.minecraft.world.chunk.ChunkManager
net.minecraft.server.world.ServerChunkManager
- All Implemented Interfaces:
AutoCloseable,ChunkProvider
- Mappings:
Namespace Name named net/minecraft/server/world/ServerChunkManagerintermediary net/minecraft/class_3215official aul
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final Chunk[]private final long[]private final ChunkStatus[]private final Set<ChunkHolder> private longprivate final ChunkLevelManager(package private) final ServerLightingProviderprivate static final Loggerprivate final ServerChunkManager.MainThreadExecutorprivate final PersistentStateManager(package private) final Threadprivate booleanprivate SpawnHelper.Infoprivate final List<WorldChunk> private booleanprivate final ChunkTicketManagerprivate final ServerWorld -
Constructor Summary
ConstructorsConstructorDescriptionServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int simulationDistance, boolean dsync, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier) -
Method Summary
Modifier and TypeMethodDescriptionaddChunkLoadingTicket(ChunkTicketType ticketType, ChunkPos pos, int radius) voidaddTicket(ChunkTicket ticket, ChunkPos pos) voidaddTicket(ChunkTicketType type, ChunkPos pos, int radius) voidapplySimulationDistance(int simulationDistance) voidapplyViewDistance(int watchDistance) private voidbroadcastUpdates(Profiler profiler) voidclose()booleangetChunk(int chunkX, int chunkZ) getChunk(int x, int z, ChunkStatus leastStatus, boolean create) private CompletableFuture<OptionalChunk<Chunk>> getChunkFuture(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) private @Nullable ChunkHoldergetChunkHolder(long pos) intintgetWorld()getWorldChunk(int chunkX, int chunkZ) private voidifChunkLoaded(long pos, Consumer<WorldChunk> chunkConsumer) private voidbooleanisChunkLoaded(int x, int z) private booleanisMissingForLevel(@Nullable ChunkHolder holder, int maxLevel) booleanisTickingFutureReady(long pos) voidloadEntity(Entity entity) voidmarkForUpdate(ChunkHolder chunkHolder) voidmarkForUpdate(BlockPos pos) voidonLightUpdate(LightType type, ChunkSectionPos pos) private voidputInCache(long pos, @Nullable Chunk chunk, ChunkStatus status) voidremoveTicket(ChunkTicketType type, ChunkPos pos, int radius) voidsave(boolean flush) voidsendToNearbyPlayers(Entity entity, Packet<?> packet) voidsendToOtherNearbyPlayers(Entity entity, Packet<?> packet) booleansetChunkForced(ChunkPos pos, boolean forced) voidsetMobSpawnOptions(boolean spawnMonsters) booleanvoidshutdown()voidtick(BooleanSupplier shouldKeepTicking, boolean tickChunks) private voidprivate voidtickChunks(Profiler profiler, long timeDelta) private voidtickSpawningChunk(WorldChunk chunk, long timeDelta, List<SpawnGroup> spawnableGroups, SpawnHelper.Info info) voidunloadEntity(Entity entity) (package private) booleanUpdate expected chunk loading states by updatingPLAYERtickets andFutures.voidupdatePosition(ServerPlayerEntity player) Updates the chunk section position of theplayer.Methods inherited from class net.minecraft.world.chunk.ChunkManager
getWorldChunk, onSectionStatusChanged
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/server/world/ServerChunkManager;LOGGER:Lorg/slf4j/Logger;intermediary field_52354Lnet/minecraft/class_3215;field_52354:Lorg/slf4j/Logger;official bLaul;b:Lorg/slf4j/Logger;
-
CACHE_SIZE
private static final int CACHE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named CACHE_SIZELnet/minecraft/server/world/ServerChunkManager;CACHE_SIZE:Iintermediary field_29766Lnet/minecraft/class_3215;field_29766:Iofficial mLaul;m:I
-
levelManager
- Mappings:
Namespace Name Mixin selector named levelManagerLnet/minecraft/server/world/ServerChunkManager;levelManager:Lnet/minecraft/server/world/ChunkLevelManager;intermediary field_17252Lnet/minecraft/class_3215;field_17252:Lnet/minecraft/class_3204;official cLaul;c:Laub;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/server/world/ServerChunkManager;world:Lnet/minecraft/server/world/ServerWorld;intermediary field_13945Lnet/minecraft/class_3215;field_13945:Lnet/minecraft/class_3218;official dLaul;d:Lauo;
-
serverThread
- Mappings:
Namespace Name Mixin selector named serverThreadLnet/minecraft/server/world/ServerChunkManager;serverThread:Ljava/lang/Thread;intermediary field_17253Lnet/minecraft/class_3215;field_17253:Ljava/lang/Thread;official eLaul;e:Ljava/lang/Thread;
-
lightingProvider
- Mappings:
Namespace Name Mixin selector named lightingProviderLnet/minecraft/server/world/ServerChunkManager;lightingProvider:Lnet/minecraft/server/world/ServerLightingProvider;intermediary field_13921Lnet/minecraft/class_3215;field_13921:Lnet/minecraft/class_3227;official fLaul;f:Laus;
-
mainThreadExecutor
- Mappings:
Namespace Name Mixin selector named mainThreadExecutorLnet/minecraft/server/world/ServerChunkManager;mainThreadExecutor:Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;intermediary field_18809Lnet/minecraft/class_3215;field_18809:Lnet/minecraft/class_3215$class_4212;official gLaul;g:Laul$a;
-
chunkLoadingManager
- Mappings:
Namespace Name Mixin selector named chunkLoadingManagerLnet/minecraft/server/world/ServerChunkManager;chunkLoadingManager:Lnet/minecraft/server/world/ServerChunkLoadingManager;intermediary field_17254Lnet/minecraft/class_3215;field_17254:Lnet/minecraft/class_3898;official aLaul;a:Lats;
-
persistentStateManager
- Mappings:
Namespace Name Mixin selector named persistentStateManagerLnet/minecraft/server/world/ServerChunkManager;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;intermediary field_17708Lnet/minecraft/class_3215;field_17708:Lnet/minecraft/class_26;official hLaul;h:Lfek;
-
ticketManager
- Mappings:
Namespace Name Mixin selector named ticketManagerLnet/minecraft/server/world/ServerChunkManager;ticketManager:Lnet/minecraft/server/world/ChunkTicketManager;intermediary field_55594Lnet/minecraft/class_3215;field_55594:Lnet/minecraft/class_10592;official iLaul;i:Ldoz;
-
lastTickTime
private long lastTickTime- Mappings:
Namespace Name Mixin selector named lastTickTimeLnet/minecraft/server/world/ServerChunkManager;lastTickTime:Jintermediary field_13928Lnet/minecraft/class_3215;field_13928:Jofficial jLaul;j:J
-
spawnMonsters
private boolean spawnMonsters- Mappings:
Namespace Name Mixin selector named spawnMonstersLnet/minecraft/server/world/ServerChunkManager;spawnMonsters:Zintermediary field_13929Lnet/minecraft/class_3215;field_13929:Zofficial kLaul;k:Z
-
spawnAnimals
private boolean spawnAnimals- Mappings:
Namespace Name Mixin selector named spawnAnimalsLnet/minecraft/server/world/ServerChunkManager;spawnAnimals:Zintermediary field_13941Lnet/minecraft/class_3215;field_13941:Zofficial lLaul;l:Z
-
chunkPosCache
private final long[] chunkPosCache- Mappings:
Namespace Name Mixin selector named chunkPosCacheLnet/minecraft/server/world/ServerChunkManager;chunkPosCache:[Jintermediary field_19335Lnet/minecraft/class_3215;field_19335:[Jofficial nLaul;n:[J
-
chunkStatusCache
- Mappings:
Namespace Name Mixin selector named chunkStatusCacheLnet/minecraft/server/world/ServerChunkManager;chunkStatusCache:[Lnet/minecraft/world/chunk/ChunkStatus;intermediary field_19336Lnet/minecraft/class_3215;field_19336:[Lnet/minecraft/class_2806;official oLaul;o:[Leix;
-
chunkCache
- Mappings:
Namespace Name Mixin selector named chunkCacheLnet/minecraft/server/world/ServerChunkManager;chunkCache:[Lnet/minecraft/world/chunk/Chunk;intermediary field_19337Lnet/minecraft/class_3215;field_19337:[Lnet/minecraft/class_2791;official pLaul;p:[Lehw;
-
spawningChunks
- Mappings:
Namespace Name Mixin selector named spawningChunksLnet/minecraft/server/world/ServerChunkManager;spawningChunks:Ljava/util/List;intermediary field_56524Lnet/minecraft/class_3215;field_56524:Ljava/util/List;official qLaul;q:Ljava/util/List;
-
chunksToBroadcastUpdate
- Mappings:
Namespace Name Mixin selector named chunksToBroadcastUpdateLnet/minecraft/server/world/ServerChunkManager;chunksToBroadcastUpdate:Ljava/util/Set;intermediary field_52356Lnet/minecraft/class_3215;field_52356:Ljava/util/Set;official rLaul;r:Ljava/util/Set;
-
spawnInfo
- Mappings:
Namespace Name Mixin selector named spawnInfoLnet/minecraft/server/world/ServerChunkManager;spawnInfo:Lnet/minecraft/world/SpawnHelper$Info;intermediary field_24455Lnet/minecraft/class_3215;field_24455:Lnet/minecraft/class_1948$class_5262;official sLaul;s:Ldon$d;
-
-
Constructor Details
-
ServerChunkManager
public ServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int simulationDistance, boolean dsync, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/world/ServerChunkManager;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/structure/StructureTemplateManager;Ljava/util/concurrent/Executor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;IIZLnet/minecraft/world/chunk/ChunkStatusChangeListener;Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_3215;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_32$class_5143;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_3485;Ljava/util/concurrent/Executor;Lnet/minecraft/class_2794;IIZLnet/minecraft/class_5567;Ljava/util/function/Supplier;)Vofficial <init>Laul;<init>(Lauo;Lfeq$c;Lcom/mojang/datafixers/DataFixer;Lfaz;Ljava/util/concurrent/Executor;Lehx;IIZLekd;Ljava/util/function/Supplier;)V
-
-
Method Details
-
getLightingProvider
- Specified by:
getLightingProviderin classChunkManager- Mappings:
Namespace Name Mixin selector named getLightingProviderLnet/minecraft/server/world/ServerChunkManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;intermediary method_17293Lnet/minecraft/class_3215;method_17293()Lnet/minecraft/class_3227;official aLaul;a()Laus;
-
getChunkHolder
- Mappings:
Namespace Name Mixin selector named getChunkHolderLnet/minecraft/server/world/ServerChunkManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;intermediary method_14131Lnet/minecraft/class_3215;method_14131(J)Lnet/minecraft/class_3193;official bLaul;b(J)Latp;
-
putInCache
- Mappings:
Namespace Name Mixin selector named putInCacheLnet/minecraft/server/world/ServerChunkManager;putInCache(JLnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/chunk/ChunkStatus;)Vintermediary method_21738Lnet/minecraft/class_3215;method_21738(JLnet/minecraft/class_2791;Lnet/minecraft/class_2806;)Vofficial aLaul;a(JLehw;Leix;)V
-
getChunk
- Specified by:
getChunkin classChunkManager- Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;intermediary method_12121Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;official aLeia;a(IILeix;Z)Lehw;
-
getWorldChunk
- Overrides:
getWorldChunkin classChunkManager- Mappings:
Namespace Name Mixin selector named getWorldChunkLnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;intermediary method_21730Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;official aLeia;a(II)Leig;
-
initChunkCaches
private void initChunkCaches()- Mappings:
Namespace Name Mixin selector named initChunkCachesLnet/minecraft/server/world/ServerChunkManager;initChunkCaches()Vintermediary method_20587Lnet/minecraft/class_3215;method_20587()Vofficial tLaul;t()V
-
getChunkFutureSyncOnMainThread
public CompletableFuture<OptionalChunk<Chunk>> getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Mappings:
Namespace Name Mixin selector named getChunkFutureSyncOnMainThreadLnet/minecraft/server/world/ServerChunkManager;getChunkFutureSyncOnMainThread(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;intermediary method_17299Lnet/minecraft/class_3215;method_17299(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;official bLaul;b(IILeix;Z)Ljava/util/concurrent/CompletableFuture;
-
getChunkFuture
private CompletableFuture<OptionalChunk<Chunk>> getChunkFuture(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Mappings:
Namespace Name Mixin selector named getChunkFutureLnet/minecraft/server/world/ServerChunkManager;getChunkFuture(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;intermediary method_14134Lnet/minecraft/class_3215;method_14134(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;official cLaul;c(IILeix;Z)Ljava/util/concurrent/CompletableFuture;
-
isMissingForLevel
- Mappings:
Namespace Name Mixin selector named isMissingForLevelLnet/minecraft/server/world/ServerChunkManager;isMissingForLevel(Lnet/minecraft/server/world/ChunkHolder;I)Zintermediary method_18752Lnet/minecraft/class_3215;method_18752(Lnet/minecraft/class_3193;I)Zofficial aLaul;a(Latp;I)Z
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z) - Overrides:
isChunkLoadedin classChunkManager- Mappings:
Namespace Name Mixin selector named isChunkLoadedLnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Zintermediary method_12123Lnet/minecraft/class_2802;method_12123(II)Zofficial bLeia;b(II)Z
-
getChunk
- Specified by:
getChunkin interfaceChunkProvider- Overrides:
getChunkin classChunkManager- Mappings:
Namespace Name Mixin selector named getChunkLnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/light/LightSourceView;intermediary method_12246Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_8527;official cLeij;c(II)Leii;
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/server/world/ServerChunkManager;getWorld()Lnet/minecraft/world/World;intermediary method_16434Lnet/minecraft/class_3215;method_16434()Lnet/minecraft/class_1937;official bLaul;b()Ldoc;
-
executeQueuedTasks
public boolean executeQueuedTasks()- Mappings:
Namespace Name Mixin selector named executeQueuedTasksLnet/minecraft/server/world/ServerChunkManager;executeQueuedTasks()Zintermediary method_19492Lnet/minecraft/class_3215;method_19492()Zofficial cLaul;c()Z
-
updateChunks
boolean updateChunks()Update expected chunk loading states by updatingPLAYERtickets andFutures.- Mappings:
Namespace Name Mixin selector named updateChunksLnet/minecraft/server/world/ServerChunkManager;updateChunks()Zintermediary method_16155Lnet/minecraft/class_3215;method_16155()Zofficial dLaul;d()Z
-
isTickingFutureReady
public boolean isTickingFutureReady(long pos) - Mappings:
Namespace Name Mixin selector named isTickingFutureReadyLnet/minecraft/server/world/ServerChunkManager;isTickingFutureReady(J)Zintermediary method_37114Lnet/minecraft/class_3215;method_37114(J)Zofficial aLaul;a(J)Z
-
save
public void save(boolean flush) - Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/server/world/ServerChunkManager;save(Z)Vintermediary method_17298Lnet/minecraft/class_3215;method_17298(Z)Vofficial aLaul;a(Z)V
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classChunkManager- Throws:
IOException
-
tick
- Specified by:
tickin classChunkManager- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/world/chunk/ChunkManager;tick(Ljava/util/function/BooleanSupplier;Z)Vintermediary method_12127Lnet/minecraft/class_2802;method_12127(Ljava/util/function/BooleanSupplier;Z)Vofficial aLeia;a(Ljava/util/function/BooleanSupplier;Z)V
-
tickChunks
private void tickChunks()- Mappings:
Namespace Name Mixin selector named tickChunksLnet/minecraft/server/world/ServerChunkManager;tickChunks()Vintermediary method_14161Lnet/minecraft/class_3215;method_14161()Vofficial uLaul;u()V
-
broadcastUpdates
- Mappings:
Namespace Name Mixin selector named broadcastUpdatesLnet/minecraft/server/world/ServerChunkManager;broadcastUpdates(Lnet/minecraft/util/profiler/Profiler;)Vintermediary method_61264Lnet/minecraft/class_3215;method_61264(Lnet/minecraft/class_3695;)Vofficial aLaul;a(Lbuq;)V
-
tickChunks
- Mappings:
Namespace Name Mixin selector named tickChunksLnet/minecraft/server/world/ServerChunkManager;tickChunks(Lnet/minecraft/util/profiler/Profiler;J)Vintermediary method_61265Lnet/minecraft/class_3215;method_61265(Lnet/minecraft/class_3695;J)Vofficial aLaul;a(Lbuq;J)V
-
tickSpawningChunk
private void tickSpawningChunk(WorldChunk chunk, long timeDelta, List<SpawnGroup> spawnableGroups, SpawnHelper.Info info) - Mappings:
Namespace Name Mixin selector named tickSpawningChunkLnet/minecraft/server/world/ServerChunkManager;tickSpawningChunk(Lnet/minecraft/world/chunk/WorldChunk;JLjava/util/List;Lnet/minecraft/world/SpawnHelper$Info;)Vintermediary method_67502Lnet/minecraft/class_3215;method_67502(Lnet/minecraft/class_2818;JLjava/util/List;Lnet/minecraft/class_1948$class_5262;)Vofficial aLaul;a(Leig;JLjava/util/List;Ldon$d;)V
-
ifChunkLoaded
- Mappings:
Namespace Name Mixin selector named ifChunkLoadedLnet/minecraft/server/world/ServerChunkManager;ifChunkLoaded(JLjava/util/function/Consumer;)Vintermediary method_27907Lnet/minecraft/class_3215;method_27907(JLjava/util/function/Consumer;)Vofficial aLaul;a(JLjava/util/function/Consumer;)V
-
getDebugString
- Specified by:
getDebugStringin classChunkManager- Mappings:
Namespace Name Mixin selector named getDebugStringLnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;intermediary method_12122Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;official eLeia;e()Ljava/lang/String;
-
getPendingTasks
public int getPendingTasks()- Mappings:
Namespace Name Mixin selector named getPendingTasksLnet/minecraft/server/world/ServerChunkManager;getPendingTasks()Iintermediary method_21694Lnet/minecraft/class_3215;method_21694()Iofficial fLaul;f()I
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector named getChunkGeneratorLnet/minecraft/server/world/ServerChunkManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;intermediary method_12129Lnet/minecraft/class_3215;method_12129()Lnet/minecraft/class_2794;official gLaul;g()Lehx;
-
getStructurePlacementCalculator
- Mappings:
Namespace Name Mixin selector named getStructurePlacementCalculatorLnet/minecraft/server/world/ServerChunkManager;getStructurePlacementCalculator()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;intermediary method_46642Lnet/minecraft/class_3215;method_46642()Lnet/minecraft/class_7869;official hLaul;h()Lehy;
-
getNoiseConfig
- Mappings:
Namespace Name Mixin selector named getNoiseConfigLnet/minecraft/server/world/ServerChunkManager;getNoiseConfig()Lnet/minecraft/world/gen/noise/NoiseConfig;intermediary method_41248Lnet/minecraft/class_3215;method_41248()Lnet/minecraft/class_7138;official iLaul;i()Lemm;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCountin classChunkManager- Mappings:
Namespace Name Mixin selector named getLoadedChunkCountLnet/minecraft/world/chunk/ChunkManager;getLoadedChunkCount()Iintermediary method_14151Lnet/minecraft/class_2802;method_14151()Iofficial jLeia;j()I
-
markForUpdate
- Mappings:
Namespace Name Mixin selector named markForUpdateLnet/minecraft/server/world/ServerChunkManager;markForUpdate(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_14128Lnet/minecraft/class_3215;method_14128(Lnet/minecraft/class_2338;)Vofficial aLaul;a(Ljb;)V
-
onLightUpdate
- Mappings:
Namespace Name Mixin selector named onLightUpdateLnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Vintermediary method_12247Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Vofficial aLeij;a(Ldol;Lke;)V
-
shouldResetIdleTimeout
public boolean shouldResetIdleTimeout()- Mappings:
Namespace Name Mixin selector named shouldResetIdleTimeoutLnet/minecraft/server/world/ServerChunkManager;shouldResetIdleTimeout()Zintermediary method_72269Lnet/minecraft/class_3215;method_72269()Zofficial kLaul;k()Z
-
addTicket
- Mappings:
Namespace Name Mixin selector named addTicketLnet/minecraft/server/world/ServerChunkManager;addTicket(Lnet/minecraft/server/world/ChunkTicket;Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_66008Lnet/minecraft/class_3215;method_66008(Lnet/minecraft/class_3228;Lnet/minecraft/class_1923;)Vofficial aLaul;a(Lauu;Ldnh;)V
-
addChunkLoadingTicket
public CompletableFuture<?> addChunkLoadingTicket(ChunkTicketType ticketType, ChunkPos pos, int radius) - Mappings:
Namespace Name Mixin selector named addChunkLoadingTicketLnet/minecraft/server/world/ServerChunkManager;addChunkLoadingTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;I)Ljava/util/concurrent/CompletableFuture;intermediary method_72267Lnet/minecraft/class_3215;method_72267(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;I)Ljava/util/concurrent/CompletableFuture;official aLaul;a(Lauv;Ldnh;I)Ljava/util/concurrent/CompletableFuture;
-
addTicket
- Mappings:
Namespace Name Mixin selector named addTicketLnet/minecraft/server/world/ServerChunkManager;addTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;I)Vintermediary method_66009Lnet/minecraft/class_3215;method_66009(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;I)Vofficial bLaul;b(Lauv;Ldnh;I)V
-
removeTicket
- Mappings:
Namespace Name Mixin selector named removeTicketLnet/minecraft/server/world/ServerChunkManager;removeTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;I)Vintermediary method_66010Lnet/minecraft/class_3215;method_66010(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;I)Vofficial cLaul;c(Lauv;Ldnh;I)V
-
setChunkForced
- Overrides:
setChunkForcedin classChunkManager- Mappings:
Namespace Name Mixin selector named setChunkForcedLnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)Zintermediary method_12124Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)Zofficial aLeia;a(Ldnh;Z)Z
-
getForcedChunks
- Overrides:
getForcedChunksin classChunkManager- Mappings:
Namespace Name Mixin selector named getForcedChunksLnet/minecraft/world/chunk/ChunkManager;getForcedChunks()Lit/unimi/dsi/fastutil/longs/LongSet;intermediary method_66011Lnet/minecraft/class_2802;method_66011()Lit/unimi/dsi/fastutil/longs/LongSet;official lLeia;l()Lit/unimi/dsi/fastutil/longs/LongSet;
-
updatePosition
Updates the chunk section position of theplayer. This can either be a result of the player's movement or its camera entity's movement.This updates the section position player's client is currently watching and the player's position in its entity tracker.
- Mappings:
Namespace Name Mixin selector named updatePositionLnet/minecraft/server/world/ServerChunkManager;updatePosition(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_14096Lnet/minecraft/class_3215;method_14096(Lnet/minecraft/class_3222;)Vofficial aLaul;a(Laup;)V
-
unloadEntity
- Mappings:
Namespace Name Mixin selector named unloadEntityLnet/minecraft/server/world/ServerChunkManager;unloadEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18753Lnet/minecraft/class_3215;method_18753(Lnet/minecraft/class_1297;)Vofficial aLaul;a(Lcak;)V
-
loadEntity
- Mappings:
Namespace Name Mixin selector named loadEntityLnet/minecraft/server/world/ServerChunkManager;loadEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18755Lnet/minecraft/class_3215;method_18755(Lnet/minecraft/class_1297;)Vofficial bLaul;b(Lcak;)V
-
sendToNearbyPlayers
- Mappings:
Namespace Name Mixin selector named sendToNearbyPlayersLnet/minecraft/server/world/ServerChunkManager;sendToNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)Vintermediary method_18751Lnet/minecraft/class_3215;method_18751(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial aLaul;a(Lcak;Laaf;)V
-
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector named sendToOtherNearbyPlayersLnet/minecraft/server/world/ServerChunkManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/Packet;)Vintermediary method_18754Lnet/minecraft/class_3215;method_18754(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)Vofficial bLaul;b(Lcak;Laaf;)V
-
applyViewDistance
public void applyViewDistance(int watchDistance) - Mappings:
Namespace Name Mixin selector named applyViewDistanceLnet/minecraft/server/world/ServerChunkManager;applyViewDistance(I)Vintermediary method_14144Lnet/minecraft/class_3215;method_14144(I)Vofficial aLaul;a(I)V
-
applySimulationDistance
public void applySimulationDistance(int simulationDistance) - Mappings:
Namespace Name Mixin selector named applySimulationDistanceLnet/minecraft/server/world/ServerChunkManager;applySimulationDistance(I)Vintermediary method_38634Lnet/minecraft/class_3215;method_38634(I)Vofficial bLaul;b(I)V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters) - Overrides:
setMobSpawnOptionsin classChunkManager- Mappings:
Namespace Name Mixin selector named setMobSpawnOptionsLnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(Z)Vintermediary method_12128Lnet/minecraft/class_2802;method_12128(Z)Vofficial bLeia;b(Z)V
-
getChunkLoadingDebugInfo
- Mappings:
Namespace Name Mixin selector named getChunkLoadingDebugInfoLnet/minecraft/server/world/ServerChunkManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;intermediary method_23273Lnet/minecraft/class_3215;method_23273(Lnet/minecraft/class_1923;)Ljava/lang/String;official aLaul;a(Ldnh;)Ljava/lang/String;
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector named getPersistentStateManagerLnet/minecraft/server/world/ServerChunkManager;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;intermediary method_17981Lnet/minecraft/class_3215;method_17981()Lnet/minecraft/class_26;official mLaul;m()Lfek;
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector named getPointOfInterestStorageLnet/minecraft/server/world/ServerChunkManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;intermediary method_19493Lnet/minecraft/class_3215;method_19493()Lnet/minecraft/class_4153;official nLaul;n()Lcmp;
-
getChunkIoWorker
- Mappings:
Namespace Name Mixin selector named getChunkIoWorkerLnet/minecraft/server/world/ServerChunkManager;getChunkIoWorker()Lnet/minecraft/world/storage/NbtScannable;intermediary method_39777Lnet/minecraft/class_3215;method_39777()Lnet/minecraft/class_6830;official oLaul;o()Lejf;
-
getSpawnInfo
- Mappings:
Namespace Name Mixin selector named getSpawnInfoLnet/minecraft/server/world/ServerChunkManager;getSpawnInfo()Lnet/minecraft/world/SpawnHelper$Info;intermediary method_27908Lnet/minecraft/class_3215;method_27908()Lnet/minecraft/class_1948$class_5262;official pLaul;p()Ldon$d;
-
shutdown
public void shutdown()- Mappings:
Namespace Name Mixin selector named shutdownLnet/minecraft/server/world/ServerChunkManager;shutdown()Vintermediary method_66012Lnet/minecraft/class_3215;method_66012()Vofficial qLaul;q()V
-
markForUpdate
- Mappings:
Namespace Name Mixin selector named markForUpdateLnet/minecraft/server/world/ServerChunkManager;markForUpdate(Lnet/minecraft/server/world/ChunkHolder;)Vintermediary method_65078Lnet/minecraft/class_3215;method_65078(Lnet/minecraft/class_3193;)Vofficial aLaul;a(Latp;)V
-