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 akm
intermediary net/minecraft/class_4079
named net/minecraft/world/SectionDistanceLevelPropagator
-
Field Summary
Fields inherited from class net.minecraft.world.chunk.light.LevelPropagator
field_43397, levelCount
-
Constructor Summary
ModifierConstructorDescriptionprotected
SectionDistanceLevelPropagator
(int levelCount, int expectedLevelSize, int expectedTotalSize) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
getInitialLevel
(long id) protected int
getPropagatedLevel
(long sourceId, long targetId, int level) protected void
propagateLevel
(long id, int level, boolean decrease) protected int
recalculateLevel
(long id, long excludedId, int maxLevel) void
update
(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>
Ldzy;<init>(III)V
intermediary <init>
Lnet/minecraft/class_3554;<init>(III)V
named <init>
Lnet/minecraft/world/chunk/light/LevelPropagator;<init>(III)V
-
-
Method Details
-
propagateLevel
protected void propagateLevel(long id, int level, boolean decrease) - Specified by:
propagateLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official a
Ldzy;a(JIZ)V
intermediary method_15487
Lnet/minecraft/class_3554;method_15487(JIZ)V
named propagateLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)V
-
recalculateLevel
protected int recalculateLevel(long id, long excludedId, int maxLevel) - Specified by:
recalculateLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official a
Ldzy;a(JJI)I
intermediary method_15486
Lnet/minecraft/class_3554;method_15486(JJI)I
named recalculateLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)I
-
getPropagatedLevel
protected int getPropagatedLevel(long sourceId, long targetId, int level) - Specified by:
getPropagatedLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official b
Ldzy;b(JJI)I
intermediary method_15488
Lnet/minecraft/class_3554;method_15488(JJI)I
named getPropagatedLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)I
-
getInitialLevel
protected abstract int getInitialLevel(long id) - Mappings:
Namespace Name Mixin selector official b
Lakm;b(J)I
intermediary method_18749
Lnet/minecraft/class_4079;method_18749(J)I
named getInitialLevel
Lnet/minecraft/world/SectionDistanceLevelPropagator;getInitialLevel(J)I
-
update
public void update(long id, int level, boolean decrease) - Mappings:
Namespace Name Mixin selector official b
Lakm;b(JIZ)V
intermediary method_18750
Lnet/minecraft/class_4079;method_18750(JIZ)V
named update
Lnet/minecraft/world/SectionDistanceLevelPropagator;update(JIZ)V
-