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
official afe
intermediary net/minecraft/class_3196
named net/minecraft/world/ChunkPosDistanceLevelPropagator
  • Constructor Details

    • ChunkPosDistanceLevelPropagator

      protected ChunkPosDistanceLevelPropagator(int levelCount, int expectedLevelSize, int expectedTotalSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldok;<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

    • isMarker

      protected boolean isMarker(long id)
      Specified by:
      isMarker in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official a Ldok;a(J)Z
      intermediary method_15494 Lnet/minecraft/class_3554;method_15494(J)Z
      named isMarker Lnet/minecraft/world/chunk/light/LevelPropagator;isMarker(J)Z
    • propagateLevel

      protected void propagateLevel(long id, int level, boolean decrease)
      Specified by:
      propagateLevel in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official a Ldok;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 class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official a Ldok;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 class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official b Ldok;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 Lafe;b(J)I
      intermediary method_14028 Lnet/minecraft/class_3196;method_14028(J)I
      named getInitialLevel Lnet/minecraft/world/ChunkPosDistanceLevelPropagator;getInitialLevel(J)I
    • updateLevel

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