Class ChunkPosDistanceLevelPropagator

java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.ChunkPosDistanceLevelPropagator
Direct Known Subclasses:
ChunkTicketManager.DistanceFromNearestPlayerTracker, ChunkTicketManager.TicketDistanceLevelPropagator, SimulationDistanceLevelPropagator

public abstract class ChunkPosDistanceLevelPropagator extends LevelPropagator
Mappings:
Namespace Name
named net/minecraft/world/ChunkPosDistanceLevelPropagator
intermediary net/minecraft/class_3196
official aqf
  • Constructor Details

    • ChunkPosDistanceLevelPropagator

      protected ChunkPosDistanceLevelPropagator(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> Leoq;<init>(III)V
  • Method Details

    • isMarker

      protected boolean isMarker(long id)
      Overrides:
      isMarker in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      named isMarker Lnet/minecraft/world/chunk/light/LevelPropagator;isMarker(J)Z
      intermediary method_15494 Lnet/minecraft/class_3554;method_15494(J)Z
      official a Leoq;a(J)Z
    • 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 Leoq;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 Leoq;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 Leoq;b(JJI)I
    • getInitialLevel

      protected abstract int getInitialLevel(long id)
      Mappings:
      Namespace Name Mixin selector
      named getInitialLevel Lnet/minecraft/world/ChunkPosDistanceLevelPropagator;getInitialLevel(J)I
      intermediary method_14028 Lnet/minecraft/class_3196;method_14028(J)I
      official b Laqf;b(J)I
    • updateLevel

      public void updateLevel(long chunkPos, int distance, boolean decrease)
      Mappings:
      Namespace Name Mixin selector
      named updateLevel Lnet/minecraft/world/ChunkPosDistanceLevelPropagator;updateLevel(JIZ)V
      intermediary method_14027 Lnet/minecraft/class_3196;method_14027(JIZ)V
      official b Laqf;b(JIZ)V