Package net.minecraft.server.world
Class ChunkTicketManager.NearbyChunkTicketUpdater
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.ChunkPosDistanceLevelPropagator
net.minecraft.server.world.ChunkTicketManager.DistanceFromNearestPlayerTracker
net.minecraft.server.world.ChunkTicketManager.NearbyChunkTicketUpdater
- Enclosing class:
ChunkTicketManager
private class ChunkTicketManager.NearbyChunkTicketUpdater
extends ChunkTicketManager.DistanceFromNearestPlayerTracker
- Mappings:
Namespace Name named net/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater
intermediary net/minecraft/class_3204$class_3948
official aqj$c
-
Field Summary
Fields inherited from class net.minecraft.server.world.ChunkTicketManager.DistanceFromNearestPlayerTracker
distanceFromNearestPlayer, maxDistance
Fields inherited from class net.minecraft.world.chunk.light.LevelPropagator
field_43397, levelCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
isWithinViewDistance
(int distance) protected void
onDistanceChange
(long pos, int oldDistance, int distance) void
setWatchDistance
(int watchDistance) void
private void
updateTicket
(long pos, int distance, boolean oldWithinViewDistance, boolean withinViewDistance) Methods inherited from class net.minecraft.server.world.ChunkTicketManager.DistanceFromNearestPlayerTracker
getInitialLevel, getLevel, setLevel
Methods inherited from class net.minecraft.world.ChunkPosDistanceLevelPropagator
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, updateLevel
Methods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
-
Field Details
-
watchDistance
private int watchDistance- Mappings:
Namespace Name Mixin selector named watchDistance
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;watchDistance:I
intermediary field_17464
Lnet/minecraft/class_3204$class_3948;field_17464:I
official g
Laqj$c;g:I
-
distances
- Mappings:
Namespace Name Mixin selector named distances
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;distances:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
intermediary field_17465
Lnet/minecraft/class_3204$class_3948;field_17465:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
official h
Laqj$c;h:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
-
positionsAffected
- Mappings:
Namespace Name Mixin selector named positionsAffected
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;positionsAffected:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_17466
Lnet/minecraft/class_3204$class_3948;field_17466:Lit/unimi/dsi/fastutil/longs/LongSet;
official i
Laqj$c;i:Lit/unimi/dsi/fastutil/longs/LongSet;
-
-
Constructor Details
-
NearbyChunkTicketUpdater
protected NearbyChunkTicketUpdater(int maxDistance) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;<init>(Lnet/minecraft/server/world/ChunkTicketManager;I)V
intermediary <init>
Lnet/minecraft/class_3204$class_3205;<init>(Lnet/minecraft/class_3204;I)V
official <init>
Laqj$b;<init>(Laqj;I)V
-
-
Method Details
-
onDistanceChange
protected void onDistanceChange(long pos, int oldDistance, int distance) - Overrides:
onDistanceChange
in classChunkTicketManager.DistanceFromNearestPlayerTracker
- Mappings:
Namespace Name Mixin selector named onDistanceChange
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;onDistanceChange(JII)V
intermediary method_17657
Lnet/minecraft/class_3204$class_3205;method_17657(JII)V
official a
Laqj$b;a(JII)V
-
setWatchDistance
public void setWatchDistance(int watchDistance) - Mappings:
Namespace Name Mixin selector named setWatchDistance
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;setWatchDistance(I)V
intermediary method_17658
Lnet/minecraft/class_3204$class_3948;method_17658(I)V
official a
Laqj$c;a(I)V
-
updateTicket
private void updateTicket(long pos, int distance, boolean oldWithinViewDistance, boolean withinViewDistance) - Mappings:
Namespace Name Mixin selector named updateTicket
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;updateTicket(JIZZ)V
intermediary method_17660
Lnet/minecraft/class_3204$class_3948;method_17660(JIZZ)V
official a
Laqj$c;a(JIZZ)V
-
updateLevels
public void updateLevels()- Overrides:
updateLevels
in classChunkTicketManager.DistanceFromNearestPlayerTracker
- Mappings:
Namespace Name Mixin selector named updateLevels
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;updateLevels()V
intermediary method_14057
Lnet/minecraft/class_3204$class_3205;method_14057()V
official a
Laqj$b;a()V
-
isWithinViewDistance
private boolean isWithinViewDistance(int distance) - Mappings:
Namespace Name Mixin selector named isWithinViewDistance
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;isWithinViewDistance(I)Z
intermediary method_17664
Lnet/minecraft/class_3204$class_3948;method_17664(I)Z
official c
Laqj$c;c(I)Z
-