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 official ahw$c
intermediary net/minecraft/class_3204$class_3948
named net/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater
-
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 official g
Lahw$c;g:I
intermediary field_17464
Lnet/minecraft/class_3204$class_3948;field_17464:I
named watchDistance
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;watchDistance:I
-
distances
- Mappings:
Namespace Name Mixin selector official h
Lahw$c;h:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
intermediary field_17465
Lnet/minecraft/class_3204$class_3948;field_17465:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
named distances
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;distances:Lit/unimi/dsi/fastutil/longs/Long2IntMap;
-
positionsAffected
- Mappings:
Namespace Name Mixin selector official i
Lahw$c;i:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_17466
Lnet/minecraft/class_3204$class_3948;field_17466:Lit/unimi/dsi/fastutil/longs/LongSet;
named positionsAffected
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;positionsAffected:Lit/unimi/dsi/fastutil/longs/LongSet;
-
-
Constructor Details
-
NearbyChunkTicketUpdater
protected NearbyChunkTicketUpdater(int maxDistance) - Mappings:
Namespace Name Mixin selector official <init>
Lahw$b;<init>(Lahw;I)V
intermediary <init>
Lnet/minecraft/class_3204$class_3205;<init>(Lnet/minecraft/class_3204;I)V
named <init>
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;<init>(Lnet/minecraft/server/world/ChunkTicketManager;I)V
-
-
Method Details
-
onDistanceChange
protected void onDistanceChange(long pos, int oldDistance, int distance) - Overrides:
onDistanceChange
in classChunkTicketManager.DistanceFromNearestPlayerTracker
- Mappings:
Namespace Name Mixin selector official a
Lahw$b;a(JII)V
intermediary method_17657
Lnet/minecraft/class_3204$class_3205;method_17657(JII)V
named onDistanceChange
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;onDistanceChange(JII)V
-
setWatchDistance
public void setWatchDistance(int watchDistance) - Mappings:
Namespace Name Mixin selector official a
Lahw$c;a(I)V
intermediary method_17658
Lnet/minecraft/class_3204$class_3948;method_17658(I)V
named setWatchDistance
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;setWatchDistance(I)V
-
updateTicket
private void updateTicket(long pos, int distance, boolean oldWithinViewDistance, boolean withinViewDistance) - Mappings:
Namespace Name Mixin selector official a
Lahw$c;a(JIZZ)V
intermediary method_17660
Lnet/minecraft/class_3204$class_3948;method_17660(JIZZ)V
named updateTicket
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;updateTicket(JIZZ)V
-
updateLevels
public void updateLevels()- Overrides:
updateLevels
in classChunkTicketManager.DistanceFromNearestPlayerTracker
- Mappings:
Namespace Name Mixin selector official a
Lahw$b;a()V
intermediary method_14057
Lnet/minecraft/class_3204$class_3205;method_14057()V
named updateLevels
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;updateLevels()V
-
isWithinViewDistance
private boolean isWithinViewDistance(int distance) - Mappings:
Namespace Name Mixin selector official c
Lahw$c;c(I)Z
intermediary method_17664
Lnet/minecraft/class_3204$class_3948;method_17664(I)Z
named isWithinViewDistance
Lnet/minecraft/server/world/ChunkTicketManager$NearbyChunkTicketUpdater;isWithinViewDistance(I)Z
-