Class SectionDistanceGraph

java.lang.Object
net.minecraft.world.lighting.LevelBasedGraph
net.minecraft.util.SectionDistanceGraph
Direct Known Subclasses:
PointOfInterestManager.DistanceGraph, SectionLightStorage

public abstract class SectionDistanceGraph extends LevelBasedGraph
  • Constructor Details

    • SectionDistanceGraph

      protected SectionDistanceGraph(int p_i50706_1_, int p_i50706_2_, int p_i50706_3_)
  • Method Details

    • isSource

      protected boolean isSource(long p_215485_1_)
      Specified by:
      isSource in class LevelBasedGraph
    • checkNeighborsAfterUpdate

      protected void checkNeighborsAfterUpdate(long p_215478_1_, int p_215478_3_, boolean p_215478_4_)
      Specified by:
      checkNeighborsAfterUpdate in class LevelBasedGraph
    • getComputedLevel

      protected int getComputedLevel(long p_215477_1_, long p_215477_3_, int p_215477_5_)
      Specified by:
      getComputedLevel in class LevelBasedGraph
    • computeLevelFromNeighbor

      protected int computeLevelFromNeighbor(long p_215480_1_, long p_215480_3_, int p_215480_5_)
      Specified by:
      computeLevelFromNeighbor in class LevelBasedGraph
    • getLevelFromSource

      protected abstract int getLevelFromSource(long p_215516_1_)
    • update

      public void update(long p_215515_1_, int p_215515_3_, boolean p_215515_4_)