Class SectionDistanceLevelPropagator

java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.SectionDistanceLevelPropagator
Direct Known Subclasses:
PointOfInterestStorage.PointOfInterestDistanceTracker

public abstract class SectionDistanceLevelPropagator extends LevelPropagator
Mappings:
Namespace Name
named net/minecraft/world/SectionDistanceLevelPropagator
intermediary net/minecraft/class_4079
official asc
  • 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)V
      intermediary <init> Lnet/minecraft/class_3554;<init>(III)V
      official <init> Leti;<init>(III)V
  • Method Details

    • propagateLevel

      protected void propagateLevel(long id, int level, boolean decrease)
      Specified by:
      propagateLevel in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      named propagateLevel Lnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)V
      intermediary method_15487 Lnet/minecraft/class_3554;method_15487(JIZ)V
      official a Leti;a(JIZ)V
    • recalculateLevel

      protected int recalculateLevel(long id, long excludedId, int maxLevel)
      Specified by:
      recalculateLevel in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      named recalculateLevel Lnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)I
      intermediary method_15486 Lnet/minecraft/class_3554;method_15486(JJI)I
      official a Leti;a(JJI)I
    • getPropagatedLevel

      protected int getPropagatedLevel(long sourceId, long targetId, int level)
      Specified by:
      getPropagatedLevel in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      named getPropagatedLevel Lnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)I
      intermediary method_15488 Lnet/minecraft/class_3554;method_15488(JJI)I
      official b Leti;b(JJI)I
    • getInitialLevel

      protected abstract int getInitialLevel(long id)
      Mappings:
      Namespace Name Mixin selector
      named getInitialLevel Lnet/minecraft/world/SectionDistanceLevelPropagator;getInitialLevel(J)I
      intermediary method_18749 Lnet/minecraft/class_4079;method_18749(J)I
      official b Lasc;b(J)I
    • update

      public void update(long id, int level, boolean decrease)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/world/SectionDistanceLevelPropagator;update(JIZ)V
      intermediary method_18750 Lnet/minecraft/class_4079;method_18750(JIZ)V
      official b Lasc;b(JIZ)V