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
final class PointOfInterestStorage.PointOfInterestDistanceTracker extends SectionDistanceLevelPropagator
- Mappings:
Namespace Name official bbr$aintermediary net/minecraft/class_4153$class_4154named net/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker
-
Field Summary
Fields Modifier and Type Field Description private Long2ByteMapdistances -
Constructor Summary
Constructors Modifier Constructor Description protectedPointOfInterestDistanceTracker() -
Method Summary
Modifier and Type Method Description protected intgetInitialLevel(long id)protected intgetLevel(long id)protected voidsetLevel(long id, int level)voidupdate()Methods inherited from class net.minecraft.world.SectionDistanceLevelPropagator
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, updateMethods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
-
Field Details
-
distances
- Mappings:
Namespace Name Mixin selector official bLbbr$a;b:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;intermediary field_18486Lnet/minecraft/class_4153$class_4154;field_18486:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;named distancesLnet/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker;distances: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 official bLabb;b(J)Iintermediary method_18749Lnet/minecraft/class_4079;method_18749(J)Inamed getInitialLevelLnet/minecraft/world/SectionDistanceLevelPropagator;getInitialLevel(J)I
-
getLevel
protected int getLevel(long id)- Specified by:
getLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official cLdbq;c(J)Iintermediary method_15480Lnet/minecraft/class_3554;method_15480(J)Inamed getLevelLnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)I
-
setLevel
protected void setLevel(long id, int level)- Specified by:
setLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official aLdbq;a(JI)Vintermediary method_15485Lnet/minecraft/class_3554;method_15485(JI)Vnamed setLevelLnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)V
-
update
public void update()- Mappings:
Namespace Name Mixin selector official aLbbr$a;a()Vintermediary method_19134Lnet/minecraft/class_4153$class_4154;method_19134()Vnamed updateLnet/minecraft/world/poi/PointOfInterestStorage$PointOfInterestDistanceTracker;update()V
-