Class ChunkDistanceGraph

java.lang.Object
net.minecraft.world.lighting.LevelBasedGraph
net.minecraft.world.chunk.ChunkDistanceGraph
Direct Known Subclasses:
TicketManager.ChunkTicketTracker, TicketManager.PlayerChunkTracker

public abstract class ChunkDistanceGraph extends LevelBasedGraph
  • Constructor Details

    • ChunkDistanceGraph

      protected ChunkDistanceGraph(int p_i50712_1_, int p_i50712_2_, int p_i50712_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_215492_1_)
    • update

      public void update(long p_215491_1_, int p_215491_3_, boolean p_215491_4_)