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 official aibintermediary net/minecraft/class_4079named net/minecraft/world/SectionDistanceLevelPropagator
-
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 official <init>Ldwn;<init>(III)Vintermediary <init>Lnet/minecraft/class_3554;<init>(III)Vnamed <init>Lnet/minecraft/world/chunk/light/LevelPropagator;<init>(III)V
-
-
Method Details
-
propagateLevel
protected void propagateLevel(long id, int level, boolean decrease) - Specified by:
propagateLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official aLdwn;a(JIZ)Vintermediary method_15487Lnet/minecraft/class_3554;method_15487(JIZ)Vnamed propagateLevelLnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)V
-
recalculateLevel
protected int recalculateLevel(long id, long excludedId, int maxLevel) - Specified by:
recalculateLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official aLdwn;a(JJI)Iintermediary method_15486Lnet/minecraft/class_3554;method_15486(JJI)Inamed recalculateLevelLnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)I
-
getPropagatedLevel
protected int getPropagatedLevel(long sourceId, long targetId, int level) - Specified by:
getPropagatedLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official bLdwn;b(JJI)Iintermediary method_15488Lnet/minecraft/class_3554;method_15488(JJI)Inamed getPropagatedLevelLnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)I
-
getInitialLevel
protected abstract int getInitialLevel(long id) - Mappings:
Namespace Name Mixin selector official bLaib;b(J)Iintermediary method_18749Lnet/minecraft/class_4079;method_18749(J)Inamed getInitialLevelLnet/minecraft/world/SectionDistanceLevelPropagator;getInitialLevel(J)I
-
update
public void update(long id, int level, boolean decrease) - Mappings:
Namespace Name Mixin selector official bLaib;b(JIZ)Vintermediary method_18750Lnet/minecraft/class_4079;method_18750(JIZ)Vnamed updateLnet/minecraft/world/SectionDistanceLevelPropagator;update(JIZ)V
-