Package net.minecraft.server.world
Class ThreadedAnvilChunkStorage.TicketManager
java.lang.Object
net.minecraft.server.world.ChunkTicketManager
net.minecraft.server.world.ThreadedAnvilChunkStorage.TicketManager
- Enclosing class:
ThreadedAnvilChunkStorage
- Mappings:
Namespace Name official ahr$a
intermediary net/minecraft/class_3898$class_3216
named net/minecraft/server/world/ThreadedAnvilChunkStorage$TicketManager
-
Field Summary
Fields inherited from class net.minecraft.server.world.ChunkTicketManager
chunkHolders, chunkPositions, levelUpdateListener, LOGGER, mainThreadExecutor, NEARBY_PLAYER_TICKET_LEVEL, playersByChunkPos, playerTicketThrottler, playerTicketThrottlerUnblocker, ticketsByPosition
-
Constructor Summary
ModifierConstructorDescriptionprotected
TicketManager
(Executor workerExecutor, Executor mainThreadExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable ChunkHolder
getChunkHolder
(long pos) protected boolean
isUnloaded
(long pos) protected @Nullable ChunkHolder
setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) Methods inherited from class net.minecraft.server.world.ChunkTicketManager
addTicket, addTicket, addTicketWithLevel, getSimulationDistanceTracker, getTickedChunkCount, getTicket, handleChunkEnter, handleChunkLeave, purge, removePersistentTickets, removeTicket, removeTicket, removeTicketWithLevel, setChunkForced, setSimulationDistance, setWatchDistance, shouldDelayShutdown, shouldTick, shouldTickBlocks, shouldTickEntities, tick, toDumpString
-
Constructor Details
-
TicketManager
- Mappings:
Namespace Name Mixin selector official <init>
Lahr$a;<init>(Lahr;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)V
intermediary <init>
Lnet/minecraft/class_3898$class_3216;<init>(Lnet/minecraft/class_3898;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)V
named <init>
Lnet/minecraft/server/world/ThreadedAnvilChunkStorage$TicketManager;<init>(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)V
-
-
Method Details
-
isUnloaded
protected boolean isUnloaded(long pos) - Specified by:
isUnloaded
in classChunkTicketManager
- Mappings:
Namespace Name Mixin selector official a
Lahx;a(J)Z
intermediary method_14035
Lnet/minecraft/class_3204;method_14035(J)Z
named isUnloaded
Lnet/minecraft/server/world/ChunkTicketManager;isUnloaded(J)Z
-
getChunkHolder
- Specified by:
getChunkHolder
in classChunkTicketManager
- Mappings:
Namespace Name Mixin selector official b
Lahx;b(J)Lahp;
intermediary method_14038
Lnet/minecraft/class_3204;method_14038(J)Lnet/minecraft/class_3193;
named getChunkHolder
Lnet/minecraft/server/world/ChunkTicketManager;getChunkHolder(J)Lnet/minecraft/server/world/ChunkHolder;
-
setLevel
@Nullable protected @Nullable ChunkHolder setLevel(long pos, int level, @Nullable @Nullable ChunkHolder holder, int int2) - Specified by:
setLevel
in classChunkTicketManager
- Mappings:
Namespace Name Mixin selector official a
Lahx;a(JILahp;I)Lahp;
intermediary method_14053
Lnet/minecraft/class_3204;method_14053(JILnet/minecraft/class_3193;I)Lnet/minecraft/class_3193;
named setLevel
Lnet/minecraft/server/world/ChunkTicketManager;setLevel(JILnet/minecraft/server/world/ChunkHolder;I)Lnet/minecraft/server/world/ChunkHolder;
-