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
public class ServerChunkManager extends ChunkManager
- Mappings:
Namespace Name official aat
intermediary net/minecraft/class_3215
named net/minecraft/server/world/ServerChunkManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
ServerChunkManager.MainThreadExecutor
-
Field Summary
Fields Modifier and Type Field Description private static List<ChunkStatus>
CHUNK_STATUSES
private Chunk[]
chunkCache
private ChunkGenerator
chunkGenerator
private long[]
chunkPosCache
private ChunkStatus[]
chunkStatusCache
private long
lastMobSpawningTime
private ServerLightingProvider
lightProvider
private ServerChunkManager.MainThreadExecutor
mainThreadExecutor
private PersistentStateManager
persistentStateManager
private Thread
serverThread
private boolean
spawnAnimals
private SpawnHelper.Info
spawnEntry
private boolean
spawnMonsters
ThreadedAnvilChunkStorage
threadedAnvilChunkStorage
private ChunkTicketManager
ticketManager
private ServerWorld
world
-
Constructor Summary
Constructors Constructor Description ServerChunkManager(ServerWorld serverWorld, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, boolean bool, WorldGenerationProgressListener worldGenerationProgressListener, class_5567 class_5567, Supplier<PersistentStateManager> supplier)
-
Method Summary
Modifier and Type Method Description <T> void
addTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)
Adds a chunk ticket to the ticket manager.void
applyViewDistance(int watchDistance)
void
close()
boolean
executeQueuedTasks()
BlockView
getChunk(int chunkX, int chunkZ)
Chunk
getChunk(int x, int z, ChunkStatus leastStatus, boolean create)
private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
getChunkFuture(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
ChunkGenerator
getChunkGenerator()
private ChunkHolder
getChunkHolder(long pos)
String
getChunkLoadingDebugInfo(ChunkPos chunkPos)
String
getDebugString()
ServerLightingProvider
getLightingProvider()
int
getLoadedChunkCount()
int
getPendingTasks()
PersistentStateManager
getPersistentStateManager()
PointOfInterestStorage
getPointOfInterestStorage()
SpawnHelper.Info
getSpawnInfo()
int
getTotalChunksLoadedCount()
World
getWorld()
WorldChunk
getWorldChunk(int chunkX, int chunkZ)
private void
ifChunkLoaded(long pos, Consumer<WorldChunk> chunkConsumer)
private void
initChunkCaches()
boolean
isChunkLoaded(int x, int z)
private boolean
isFutureReady(long pos, Function<ChunkHolder,CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>> futureFunction)
private boolean
isMissingForLevel(ChunkHolder holder, int maxLevel)
void
loadEntity(Entity entity)
void
markForUpdate(BlockPos pos)
void
onLightUpdate(LightType type, ChunkSectionPos pos)
private void
putInCache(long pos, Chunk chunk, ChunkStatus status)
<T> void
removeTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)
Removes a chunk ticket from the ticket manager.void
save(boolean flush)
void
sendToNearbyPlayers(Entity entity, Packet<?> packet)
void
sendToOtherNearbyPlayers(Entity entity, Packet<?> packet)
void
setChunkForced(ChunkPos pos, boolean forced)
void
setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)
boolean
shouldTickBlock(BlockPos pos)
boolean
shouldTickChunk(ChunkPos pos)
private boolean
tick()
void
tick(BooleanSupplier shouldKeepTicking)
private void
tickChunks()
void
unloadEntity(Entity entity)
void
updateCameraPosition(ServerPlayerEntity player)
Methods inherited from class net.minecraft.world.chunk.ChunkManager
getWorldChunk
-
Field Details
-
CHUNK_STATUSES
- Mappings:
Namespace Name Mixin selector official b
Laat;b:Ljava/util/List;
intermediary field_13934
Lnet/minecraft/class_3215;field_13934:Ljava/util/List;
named CHUNK_STATUSES
Lnet/minecraft/server/world/ServerChunkManager;CHUNK_STATUSES:Ljava/util/List;
-
ticketManager
- Mappings:
Namespace Name Mixin selector official c
Laat;c:Laao;
intermediary field_17252
Lnet/minecraft/class_3215;field_17252:Lnet/minecraft/class_3204;
named ticketManager
Lnet/minecraft/server/world/ServerChunkManager;ticketManager:Lnet/minecraft/server/world/ChunkTicketManager;
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official d
Laat;d:Lcjn;
intermediary field_13939
Lnet/minecraft/class_3215;field_13939:Lnet/minecraft/class_2794;
named chunkGenerator
Lnet/minecraft/server/world/ServerChunkManager;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
world
- Mappings:
Namespace Name Mixin selector official e
Laat;e:Laav;
intermediary field_13945
Lnet/minecraft/class_3215;field_13945:Lnet/minecraft/class_3218;
named world
Lnet/minecraft/server/world/ServerChunkManager;world:Lnet/minecraft/server/world/ServerWorld;
-
serverThread
- Mappings:
Namespace Name Mixin selector official f
Laat;f:Ljava/lang/Thread;
intermediary field_17253
Lnet/minecraft/class_3215;field_17253:Ljava/lang/Thread;
named serverThread
Lnet/minecraft/server/world/ServerChunkManager;serverThread:Ljava/lang/Thread;
-
lightProvider
- Mappings:
Namespace Name Mixin selector official g
Laat;g:Laay;
intermediary field_13921
Lnet/minecraft/class_3215;field_13921:Lnet/minecraft/class_3227;
named lightProvider
Lnet/minecraft/server/world/ServerChunkManager;lightProvider:Lnet/minecraft/server/world/ServerLightingProvider;
-
mainThreadExecutor
- Mappings:
Namespace Name Mixin selector official h
Laat;h:Laat$a;
intermediary field_18809
Lnet/minecraft/class_3215;field_18809:Lnet/minecraft/class_3215$class_4212;
named mainThreadExecutor
Lnet/minecraft/server/world/ServerChunkManager;mainThreadExecutor:Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;
-
threadedAnvilChunkStorage
- Mappings:
Namespace Name Mixin selector official a
Laat;a:Laai;
intermediary field_17254
Lnet/minecraft/class_3215;field_17254:Lnet/minecraft/class_3898;
named threadedAnvilChunkStorage
Lnet/minecraft/server/world/ServerChunkManager;threadedAnvilChunkStorage:Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;
-
persistentStateManager
- Mappings:
Namespace Name Mixin selector official i
Laat;i:Lddq;
intermediary field_17708
Lnet/minecraft/class_3215;field_17708:Lnet/minecraft/class_26;
named persistentStateManager
Lnet/minecraft/server/world/ServerChunkManager;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;
-
lastMobSpawningTime
private long lastMobSpawningTime- Mappings:
Namespace Name Mixin selector official j
Laat;j:J
intermediary field_13928
Lnet/minecraft/class_3215;field_13928:J
named lastMobSpawningTime
Lnet/minecraft/server/world/ServerChunkManager;lastMobSpawningTime:J
-
spawnMonsters
private boolean spawnMonsters- Mappings:
Namespace Name Mixin selector official k
Laat;k:Z
intermediary field_13929
Lnet/minecraft/class_3215;field_13929:Z
named spawnMonsters
Lnet/minecraft/server/world/ServerChunkManager;spawnMonsters:Z
-
spawnAnimals
private boolean spawnAnimals- Mappings:
Namespace Name Mixin selector official l
Laat;l:Z
intermediary field_13941
Lnet/minecraft/class_3215;field_13941:Z
named spawnAnimals
Lnet/minecraft/server/world/ServerChunkManager;spawnAnimals:Z
-
chunkPosCache
private final long[] chunkPosCache- Mappings:
Namespace Name Mixin selector official m
Laat;m:[J
intermediary field_19335
Lnet/minecraft/class_3215;field_19335:[J
named chunkPosCache
Lnet/minecraft/server/world/ServerChunkManager;chunkPosCache:[J
-
chunkStatusCache
- Mappings:
Namespace Name Mixin selector official n
Laat;n:[Lcjp;
intermediary field_19336
Lnet/minecraft/class_3215;field_19336:[Lnet/minecraft/class_2806;
named chunkStatusCache
Lnet/minecraft/server/world/ServerChunkManager;chunkStatusCache:[Lnet/minecraft/world/chunk/ChunkStatus;
-
chunkCache
- Mappings:
Namespace Name Mixin selector official o
Laat;o:[Lcjl;
intermediary field_19337
Lnet/minecraft/class_3215;field_19337:[Lnet/minecraft/class_2791;
named chunkCache
Lnet/minecraft/server/world/ServerChunkManager;chunkCache:[Lnet/minecraft/world/chunk/Chunk;
-
spawnEntry
- Mappings:
Namespace Name Mixin selector official p
Laat;p:Lbuf$d;
intermediary field_24455
Lnet/minecraft/class_3215;field_24455:Lnet/minecraft/class_1948$class_5262;
named spawnEntry
Lnet/minecraft/server/world/ServerChunkManager;spawnEntry:Lnet/minecraft/world/SpawnHelper$Info;
-
-
Constructor Details
-
ServerChunkManager
public ServerChunkManager(ServerWorld serverWorld, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, boolean bool, WorldGenerationProgressListener worldGenerationProgressListener, class_5567 class_5567, Supplier<PersistentStateManager> supplier)- Mappings:
Namespace Name Mixin selector official <init>
Laat;<init>(Laav;Lddu$a;Lcom/mojang/datafixers/DataFixer;Lcyj;Ljava/util/concurrent/Executor;Lcjn;IZLabe;Lcla;Ljava/util/function/Supplier;)V
intermediary <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;IZLnet/minecraft/class_3949;Lnet/minecraft/class_5567;Ljava/util/function/Supplier;)V
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/StructureManager;Ljava/util/concurrent/Executor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;IZLnet/minecraft/server/WorldGenerationProgressListener;Lnet/minecraft/class_5567;Ljava/util/function/Supplier;)V
-
-
Method Details
-
getLightingProvider
- Specified by:
getLightingProvider
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Laat;a()Laay;
intermediary method_17293
Lnet/minecraft/class_3215;method_17293()Lnet/minecraft/class_3227;
named getLightingProvider
Lnet/minecraft/server/world/ServerChunkManager;getLightingProvider()Lnet/minecraft/server/world/ServerLightingProvider;
-
getChunkHolder
- Mappings:
Namespace Name Mixin selector official a
Laat;a(J)Laah;
intermediary method_14131
Lnet/minecraft/class_3215;method_14131(J)Lnet/minecraft/class_3193;
named getChunkHolder
Lnet/minecraft/server/world/ServerChunkManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;
-
getTotalChunksLoadedCount
public int getTotalChunksLoadedCount()- Mappings:
Namespace Name Mixin selector official b
Laat;b()I
intermediary method_17301
Lnet/minecraft/class_3215;method_17301()I
named getTotalChunksLoadedCount
Lnet/minecraft/server/world/ServerChunkManager;getTotalChunksLoadedCount()I
-
putInCache
- Mappings:
Namespace Name Mixin selector official a
Laat;a(JLcjl;Lcjp;)V
intermediary method_21738
Lnet/minecraft/class_3215;method_21738(JLnet/minecraft/class_2791;Lnet/minecraft/class_2806;)V
named putInCache
Lnet/minecraft/server/world/ServerChunkManager;putInCache(JLnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/chunk/ChunkStatus;)V
-
getChunk
- Specified by:
getChunk
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(IILcjp;Z)Lcjl;
intermediary method_12121
Lnet/minecraft/class_2802;method_12121(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
named getChunk
Lnet/minecraft/world/chunk/ChunkManager;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
-
getWorldChunk
- Overrides:
getWorldChunk
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(II)Lcjw;
intermediary method_21730
Lnet/minecraft/class_2802;method_21730(II)Lnet/minecraft/class_2818;
named getWorldChunk
Lnet/minecraft/world/chunk/ChunkManager;getWorldChunk(II)Lnet/minecraft/world/chunk/WorldChunk;
-
initChunkCaches
private void initChunkCaches()- Mappings:
Namespace Name Mixin selector official n
Laat;n()V
intermediary method_20587
Lnet/minecraft/class_3215;method_20587()V
named initChunkCaches
Lnet/minecraft/server/world/ServerChunkManager;initChunkCaches()V
-
getChunkFutureSyncOnMainThread
@Environment(CLIENT) public CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)- Mappings:
Namespace Name Mixin selector official b
Laat;b(IILcjp;Z)Ljava/util/concurrent/CompletableFuture;
intermediary method_17299
Lnet/minecraft/class_3215;method_17299(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;
named getChunkFutureSyncOnMainThread
Lnet/minecraft/server/world/ServerChunkManager;getChunkFutureSyncOnMainThread(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;
-
getChunkFuture
private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getChunkFuture(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)- Mappings:
Namespace Name Mixin selector official c
Laat;c(IILcjp;Z)Ljava/util/concurrent/CompletableFuture;
intermediary method_14134
Lnet/minecraft/class_3215;method_14134(IILnet/minecraft/class_2806;Z)Ljava/util/concurrent/CompletableFuture;
named getChunkFuture
Lnet/minecraft/server/world/ServerChunkManager;getChunkFuture(IILnet/minecraft/world/chunk/ChunkStatus;Z)Ljava/util/concurrent/CompletableFuture;
-
isMissingForLevel
- Mappings:
Namespace Name Mixin selector official a
Laat;a(Laah;I)Z
intermediary method_18752
Lnet/minecraft/class_3215;method_18752(Lnet/minecraft/class_3193;I)Z
named isMissingForLevel
Lnet/minecraft/server/world/ServerChunkManager;isMissingForLevel(Lnet/minecraft/server/world/ChunkHolder;I)Z
-
isChunkLoaded
public boolean isChunkLoaded(int x, int z)- Overrides:
isChunkLoaded
in classChunkManager
- Mappings:
Namespace Name Mixin selector official b
Lcjo;b(II)Z
intermediary method_12123
Lnet/minecraft/class_2802;method_12123(II)Z
named isChunkLoaded
Lnet/minecraft/world/chunk/ChunkManager;isChunkLoaded(II)Z
-
getChunk
- Specified by:
getChunk
in interfaceChunkProvider
- Overrides:
getChunk
in classChunkManager
- Mappings:
Namespace Name Mixin selector official c
Lcjy;c(II)Lbsz;
intermediary method_12246
Lnet/minecraft/class_2823;method_12246(II)Lnet/minecraft/class_1922;
named getChunk
Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/BlockView;
-
getWorld
- Mappings:
Namespace Name Mixin selector official c
Laat;c()Lbtv;
intermediary method_16434
Lnet/minecraft/class_3215;method_16434()Lnet/minecraft/class_1937;
named getWorld
Lnet/minecraft/server/world/ServerChunkManager;getWorld()Lnet/minecraft/world/World;
-
executeQueuedTasks
public boolean executeQueuedTasks()- Mappings:
Namespace Name Mixin selector official d
Laat;d()Z
intermediary method_19492
Lnet/minecraft/class_3215;method_19492()Z
named executeQueuedTasks
Lnet/minecraft/server/world/ServerChunkManager;executeQueuedTasks()Z
-
tick
private boolean tick()- Mappings:
Namespace Name Mixin selector official o
Laat;o()Z
intermediary method_16155
Lnet/minecraft/class_3215;method_16155()Z
named tick
Lnet/minecraft/server/world/ServerChunkManager;tick()Z
-
shouldTickChunk
- Overrides:
shouldTickChunk
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(Lbta;)Z
intermediary method_20591
Lnet/minecraft/class_2802;method_20591(Lnet/minecraft/class_1923;)Z
named shouldTickChunk
Lnet/minecraft/world/chunk/ChunkManager;shouldTickChunk(Lnet/minecraft/util/math/ChunkPos;)Z
-
shouldTickBlock
- Overrides:
shouldTickBlock
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(Lfx;)Z
intermediary method_20529
Lnet/minecraft/class_2802;method_20529(Lnet/minecraft/class_2338;)Z
named shouldTickBlock
Lnet/minecraft/world/chunk/ChunkManager;shouldTickBlock(Lnet/minecraft/util/math/BlockPos;)Z
-
isFutureReady
private boolean isFutureReady(long pos, Function<ChunkHolder,CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>>> futureFunction)- Mappings:
Namespace Name Mixin selector official a
Laat;a(JLjava/util/function/Function;)Z
intermediary method_20585
Lnet/minecraft/class_3215;method_20585(JLjava/util/function/Function;)Z
named isFutureReady
Lnet/minecraft/server/world/ServerChunkManager;isFutureReady(JLjava/util/function/Function;)Z
-
save
public void save(boolean flush)- Mappings:
Namespace Name Mixin selector official a
Laat;a(Z)V
intermediary method_17298
Lnet/minecraft/class_3215;method_17298(Z)V
named save
Lnet/minecraft/server/world/ServerChunkManager;save(Z)V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classChunkManager
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official close
Lcjo;close()V
intermediary close
Lnet/minecraft/class_2802;close()V
named close
Lnet/minecraft/world/chunk/ChunkManager;close()V
-
tick
- Mappings:
Namespace Name Mixin selector official a
Laat;a(Ljava/util/function/BooleanSupplier;)V
intermediary method_12127
Lnet/minecraft/class_3215;method_12127(Ljava/util/function/BooleanSupplier;)V
named tick
Lnet/minecraft/server/world/ServerChunkManager;tick(Ljava/util/function/BooleanSupplier;)V
-
tickChunks
private void tickChunks()- Mappings:
Namespace Name Mixin selector official p
Laat;p()V
intermediary method_14161
Lnet/minecraft/class_3215;method_14161()V
named tickChunks
Lnet/minecraft/server/world/ServerChunkManager;tickChunks()V
-
ifChunkLoaded
- Mappings:
Namespace Name Mixin selector official a
Laat;a(JLjava/util/function/Consumer;)V
intermediary method_27907
Lnet/minecraft/class_3215;method_27907(JLjava/util/function/Consumer;)V
named ifChunkLoaded
Lnet/minecraft/server/world/ServerChunkManager;ifChunkLoaded(JLjava/util/function/Consumer;)V
-
getDebugString
- Specified by:
getDebugString
in classChunkManager
- Mappings:
Namespace Name Mixin selector official e
Lcjo;e()Ljava/lang/String;
intermediary method_12122
Lnet/minecraft/class_2802;method_12122()Ljava/lang/String;
named getDebugString
Lnet/minecraft/world/chunk/ChunkManager;getDebugString()Ljava/lang/String;
-
getPendingTasks
public int getPendingTasks()- Mappings:
Namespace Name Mixin selector official f
Laat;f()I
intermediary method_21694
Lnet/minecraft/class_3215;method_21694()I
named getPendingTasks
Lnet/minecraft/server/world/ServerChunkManager;getPendingTasks()I
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector official g
Laat;g()Lcjn;
intermediary method_12129
Lnet/minecraft/class_3215;method_12129()Lnet/minecraft/class_2794;
named getChunkGenerator
Lnet/minecraft/server/world/ServerChunkManager;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
getLoadedChunkCount
public int getLoadedChunkCount()- Mappings:
Namespace Name Mixin selector official h
Laat;h()I
intermediary method_14151
Lnet/minecraft/class_3215;method_14151()I
named getLoadedChunkCount
Lnet/minecraft/server/world/ServerChunkManager;getLoadedChunkCount()I
-
markForUpdate
- Mappings:
Namespace Name Mixin selector official b
Laat;b(Lfx;)V
intermediary method_14128
Lnet/minecraft/class_3215;method_14128(Lnet/minecraft/class_2338;)V
named markForUpdate
Lnet/minecraft/server/world/ServerChunkManager;markForUpdate(Lnet/minecraft/util/math/BlockPos;)V
-
onLightUpdate
- Mappings:
Namespace Name Mixin selector official a
Lcjy;a(Lbue;Lgq;)V
intermediary method_12247
Lnet/minecraft/class_2823;method_12247(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)V
named onLightUpdate
Lnet/minecraft/world/chunk/ChunkProvider;onLightUpdate(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)V
-
addTicket
Adds a chunk ticket to the ticket manager.Addition of a ticket may load chunk(s) at some point in the future depending on the loading level in the ticket's vicinity.
- Mappings:
Namespace Name Mixin selector official a
Laat;a(Laba;Lbta;ILjava/lang/Object;)V
intermediary method_17297
Lnet/minecraft/class_3215;method_17297(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)V
named addTicket
Lnet/minecraft/server/world/ServerChunkManager;addTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
-
removeTicket
Removes a chunk ticket from the ticket manager.Removal of a ticket may unload chunk(s) at some point in the future depending on the loading levels in the ticket's vicinity after removal.
- Mappings:
Namespace Name Mixin selector official b
Laat;b(Laba;Lbta;ILjava/lang/Object;)V
intermediary method_17300
Lnet/minecraft/class_3215;method_17300(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)V
named removeTicket
Lnet/minecraft/server/world/ServerChunkManager;removeTicket(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
-
setChunkForced
- Overrides:
setChunkForced
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(Lbta;Z)V
intermediary method_12124
Lnet/minecraft/class_2802;method_12124(Lnet/minecraft/class_1923;Z)V
named setChunkForced
Lnet/minecraft/world/chunk/ChunkManager;setChunkForced(Lnet/minecraft/util/math/ChunkPos;Z)V
-
updateCameraPosition
- Mappings:
Namespace Name Mixin selector official a
Laat;a(Laaw;)V
intermediary method_14096
Lnet/minecraft/class_3215;method_14096(Lnet/minecraft/class_3222;)V
named updateCameraPosition
Lnet/minecraft/server/world/ServerChunkManager;updateCameraPosition(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
unloadEntity
- Mappings:
Namespace Name Mixin selector official a
Laat;a(Laqv;)V
intermediary method_18753
Lnet/minecraft/class_3215;method_18753(Lnet/minecraft/class_1297;)V
named unloadEntity
Lnet/minecraft/server/world/ServerChunkManager;unloadEntity(Lnet/minecraft/entity/Entity;)V
-
loadEntity
- Mappings:
Namespace Name Mixin selector official b
Laat;b(Laqv;)V
intermediary method_18755
Lnet/minecraft/class_3215;method_18755(Lnet/minecraft/class_1297;)V
named loadEntity
Lnet/minecraft/server/world/ServerChunkManager;loadEntity(Lnet/minecraft/entity/Entity;)V
-
sendToNearbyPlayers
- Mappings:
Namespace Name Mixin selector official a
Laat;a(Laqv;Lpa;)V
intermediary method_18751
Lnet/minecraft/class_3215;method_18751(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)V
named sendToNearbyPlayers
Lnet/minecraft/server/world/ServerChunkManager;sendToNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/Packet;)V
-
sendToOtherNearbyPlayers
- Mappings:
Namespace Name Mixin selector official b
Laat;b(Laqv;Lpa;)V
intermediary method_18754
Lnet/minecraft/class_3215;method_18754(Lnet/minecraft/class_1297;Lnet/minecraft/class_2596;)V
named sendToOtherNearbyPlayers
Lnet/minecraft/server/world/ServerChunkManager;sendToOtherNearbyPlayers(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/Packet;)V
-
applyViewDistance
public void applyViewDistance(int watchDistance)- Mappings:
Namespace Name Mixin selector official a
Laat;a(I)V
intermediary method_14144
Lnet/minecraft/class_3215;method_14144(I)V
named applyViewDistance
Lnet/minecraft/server/world/ServerChunkManager;applyViewDistance(I)V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)- Overrides:
setMobSpawnOptions
in classChunkManager
- Mappings:
Namespace Name Mixin selector official a
Lcjo;a(ZZ)V
intermediary method_12128
Lnet/minecraft/class_2802;method_12128(ZZ)V
named setMobSpawnOptions
Lnet/minecraft/world/chunk/ChunkManager;setMobSpawnOptions(ZZ)V
-
getChunkLoadingDebugInfo
- Mappings:
Namespace Name Mixin selector official b
Laat;b(Lbta;)Ljava/lang/String;
intermediary method_23273
Lnet/minecraft/class_3215;method_23273(Lnet/minecraft/class_1923;)Ljava/lang/String;
named getChunkLoadingDebugInfo
Lnet/minecraft/server/world/ServerChunkManager;getChunkLoadingDebugInfo(Lnet/minecraft/util/math/ChunkPos;)Ljava/lang/String;
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector official i
Laat;i()Lddq;
intermediary method_17981
Lnet/minecraft/class_3215;method_17981()Lnet/minecraft/class_26;
named getPersistentStateManager
Lnet/minecraft/server/world/ServerChunkManager;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector official j
Laat;j()Lbay;
intermediary method_19493
Lnet/minecraft/class_3215;method_19493()Lnet/minecraft/class_4153;
named getPointOfInterestStorage
Lnet/minecraft/server/world/ServerChunkManager;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
-
getSpawnInfo
- Mappings:
Namespace Name Mixin selector official k
Laat;k()Lbuf$d;
intermediary method_27908
Lnet/minecraft/class_3215;method_27908()Lnet/minecraft/class_1948$class_5262;
named getSpawnInfo
Lnet/minecraft/server/world/ServerChunkManager;getSpawnInfo()Lnet/minecraft/world/SpawnHelper$Info;
-