Package net.minecraft.world
Class SectionDistanceLevelPropagator
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.SectionDistanceLevelPropagator
- Direct Known Subclasses:
PointOfInterestStorage.PointOfInterestDistanceTracker
- Mappings:
Namespace Name named net/minecraft/world/SectionDistanceLevelPropagatorintermediary net/minecraft/class_4079official aqq
-
Field Summary
Fields inherited from class net.minecraft.world.chunk.light.LevelPropagator
field_43397, levelCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSectionDistanceLevelPropagator(int levelCount, int expectedLevelSize, int expectedTotalSize) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract intgetInitialLevel(long id) protected intgetPropagatedLevel(long sourceId, long targetId, int level) protected voidpropagateLevel(long id, int level, boolean decrease) protected intrecalculateLevel(long id, long excludedId, int maxLevel) voidupdate(long id, int level, boolean decrease) Methods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getLevel, getPendingUpdateCount, hasPendingUpdates, isMarker, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, setLevel, updateLevel
-
Constructor Details
-
SectionDistanceLevelPropagator
protected SectionDistanceLevelPropagator(int levelCount, int expectedLevelSize, int expectedTotalSize) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/light/LevelPropagator;<init>(III)Vintermediary <init>Lnet/minecraft/class_3554;<init>(III)Vofficial <init>Leoq;<init>(III)V
-
-
Method Details
-
propagateLevel
protected void propagateLevel(long id, int level, boolean decrease) - Specified by:
propagateLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector named propagateLevelLnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)Vintermediary method_15487Lnet/minecraft/class_3554;method_15487(JIZ)Vofficial aLeoq;a(JIZ)V
-
recalculateLevel
protected int recalculateLevel(long id, long excludedId, int maxLevel) - Specified by:
recalculateLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector named recalculateLevelLnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)Iintermediary method_15486Lnet/minecraft/class_3554;method_15486(JJI)Iofficial aLeoq;a(JJI)I
-
getPropagatedLevel
protected int getPropagatedLevel(long sourceId, long targetId, int level) - Specified by:
getPropagatedLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector named getPropagatedLevelLnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)Iintermediary method_15488Lnet/minecraft/class_3554;method_15488(JJI)Iofficial bLeoq;b(JJI)I
-
getInitialLevel
protected abstract int getInitialLevel(long id) - Mappings:
Namespace Name Mixin selector named getInitialLevelLnet/minecraft/world/SectionDistanceLevelPropagator;getInitialLevel(J)Iintermediary method_18749Lnet/minecraft/class_4079;method_18749(J)Iofficial bLaqq;b(J)I
-
update
public void update(long id, int level, boolean decrease) - Mappings:
Namespace Name Mixin selector named updateLnet/minecraft/world/SectionDistanceLevelPropagator;update(JIZ)Vintermediary method_18750Lnet/minecraft/class_4079;method_18750(JIZ)Vofficial bLaqq;b(JIZ)V
-