Package net.minecraft.server.world
Class ChunkTicketManager.DistanceFromNearestPlayerTracker
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.ChunkPosDistanceLevelPropagator
net.minecraft.server.world.ChunkTicketManager.DistanceFromNearestPlayerTracker
- Direct Known Subclasses:
ChunkTicketManager.NearbyChunkTicketUpdater
- Enclosing class:
- ChunkTicketManager
private class ChunkTicketManager.DistanceFromNearestPlayerTracker
extends ChunkPosDistanceLevelPropagator
- Mappings:
Namespace Name official abk$b
intermediary net/minecraft/class_3204$class_3205
named net/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getInitialLevel(long id)
protected int
getLevel(long id)
private boolean
isPlayerInChunk(long chunkPos)
private void
method_34878(String string)
protected void
onDistanceChange(long pos, int oldDistance, int distance)
protected void
setLevel(long id, int level)
void
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
-
distanceFromNearestPlayer
- Mappings:
Namespace Name Mixin selector official a
Labk$b;a:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
intermediary field_13896
Lnet/minecraft/class_3204$class_3205;field_13896:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
named distanceFromNearestPlayer
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;distanceFromNearestPlayer:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
-
maxDistance
protected final int maxDistance- Mappings:
Namespace Name Mixin selector official b
Labk$b;b:I
intermediary field_17461
Lnet/minecraft/class_3204$class_3205;field_17461:I
named maxDistance
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;maxDistance:I
-
-
Constructor Details
-
DistanceFromNearestPlayerTracker
protected DistanceFromNearestPlayerTracker(int maxDistance)- Mappings:
Namespace Name Mixin selector official <init>
Labk$b;<init>(Labk;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
-
getLevel
protected int getLevel(long id)- Specified by:
getLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official c
Ldee;c(J)I
intermediary method_15480
Lnet/minecraft/class_3554;method_15480(J)I
named getLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)I
-
setLevel
protected void setLevel(long id, int level)- Specified by:
setLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official a
Ldee;a(JI)V
intermediary method_15485
Lnet/minecraft/class_3554;method_15485(JI)V
named setLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)V
-
onDistanceChange
protected void onDistanceChange(long pos, int oldDistance, int distance)- Mappings:
Namespace Name Mixin selector official a
Labk$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
-
getInitialLevel
protected int getInitialLevel(long id)- Specified by:
getInitialLevel
in classChunkPosDistanceLevelPropagator
- Mappings:
Namespace Name Mixin selector official b
Labh;b(J)I
intermediary method_14028
Lnet/minecraft/class_3196;method_14028(J)I
named getInitialLevel
Lnet/minecraft/world/ChunkPosDistanceLevelPropagator;getInitialLevel(J)I
-
isPlayerInChunk
private boolean isPlayerInChunk(long chunkPos)- Mappings:
Namespace Name Mixin selector official d
Labk$b;d(J)Z
intermediary method_14056
Lnet/minecraft/class_3204$class_3205;method_14056(J)Z
named isPlayerInChunk
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;isPlayerInChunk(J)Z
-
updateLevels
public void updateLevels()- Mappings:
Namespace Name Mixin selector official a
Labk$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
-
method_34878
- Mappings:
Namespace Name Mixin selector official a
Labk$b;a(Ljava/lang/String;)V
intermediary method_34878
Lnet/minecraft/class_3204$class_3205;method_34878(Ljava/lang/String;)V
named method_34878
Lnet/minecraft/server/world/ChunkTicketManager$DistanceFromNearestPlayerTracker;method_34878(Ljava/lang/String;)V
-