Package net.minecraft.world.poi
Class PointOfInterestStorage.PointOfInterestDistanceTracker
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.SectionDistanceLevelPropagator
net.minecraft.world.poi.PointOfInterestStorage.PointOfInterestDistanceTracker
- Enclosing class:
PointOfInterestStorage
private final class PointOfInterestStorage.PointOfInterestDistanceTracker
extends SectionDistanceLevelPropagator
- Mappings:
Namespace Name named net/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTrackerintermediary net/minecraft/class_4153$class_4154official csx$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.longs.Long2ByteMapFields inherited from class net.minecraft.world.chunk.light.LevelPropagator
field_43397, levelCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetInitialLevel(long id) protected intgetLevel(long id) protected voidsetLevel(long id, int level) voidupdate()Methods inherited from class net.minecraft.world.SectionDistanceLevelPropagator
getPropagatedLevel, propagateLevel, recalculateLevel, updateMethods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, isMarker, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
-
Field Details
-
distances
private final it.unimi.dsi.fastutil.longs.Long2ByteMap distances- Mappings:
Namespace Name Mixin selector named distancesLnet/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker;distances:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;intermediary field_18486Lnet/minecraft/class_4153$class_4154;field_18486:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;official bLcsx$a;b:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
-
-
Constructor Details
-
PointOfInterestDistanceTracker
protected PointOfInterestDistanceTracker()
-
-
Method Details
-
getInitialLevel
protected int getInitialLevel(long id) - Specified by:
getInitialLevelin classSectionDistanceLevelPropagator- Mappings:
Namespace Name Mixin selector named getInitialLevelLnet/minecraft/world/SectionDistanceLevelPropagator;getInitialLevel(J)Iintermediary method_18749Lnet/minecraft/class_4079;method_18749(J)Iofficial bLaxa;b(J)I
-
getLevel
protected int getLevel(long id) - Specified by:
getLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector named getLevelLnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)Iintermediary method_15480Lnet/minecraft/class_3554;method_15480(J)Iofficial cLfkn;c(J)I
-
setLevel
protected void setLevel(long id, int level) - Specified by:
setLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector named setLevelLnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)Vintermediary method_15485Lnet/minecraft/class_3554;method_15485(JI)Vofficial aLfkn;a(JI)V
-
update
public void update()- Mappings:
Namespace Name Mixin selector named updateLnet/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker;update()Vintermediary method_19134Lnet/minecraft/class_4153$class_4154;method_19134()Vofficial aLcsx$a;a()V
-