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 abe$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 mainThreadExecutor, Executor executor) -
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, getSpawningChunkCount, getTicket, handleChunkEnter, handleChunkLeave, method_20800, purge, removeTicket, removeTicket, removeTicketWithLevel, setChunkForced, setWatchDistance, tick, toDumpString
-
Constructor Details
-
TicketManager
- Mappings:
Namespace Name Mixin selector official <init>
Labe$a;<init>(Labe;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
Labk;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
Labk;b(J)Labd;
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
Labk;a(JILabd;I)Labd;
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;
-