Class ChunkSkyLightProvider

All Implemented Interfaces:
ChunkLightingView, LightingView

public final class ChunkSkyLightProvider extends ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
Mappings:
Namespace Name
official del
intermediary net/minecraft/class_3572
named net/minecraft/world/chunk/light/ChunkSkyLightProvider
  • Field Details

    • DIRECTIONS

      private static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official f Ldel;f:[Lgl;
      intermediary field_15826 Lnet/minecraft/class_3572;field_15826:[Lnet/minecraft/class_2350;
      named DIRECTIONS Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
    • HORIZONTAL_DIRECTIONS

      private static final Direction[] HORIZONTAL_DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official g Ldel;g:[Lgl;
      intermediary field_15825 Lnet/minecraft/class_3572;field_15825:[Lnet/minecraft/class_2350;
      named HORIZONTAL_DIRECTIONS Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;HORIZONTAL_DIRECTIONS:[Lnet/minecraft/util/math/Direction;
  • Constructor Details

    • ChunkSkyLightProvider

      public ChunkSkyLightProvider(ChunkProvider chunkProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldel;<init>(Lcmy;)V
      intermediary <init> Lnet/minecraft/class_3572;<init>(Lnet/minecraft/class_2823;)V
      named <init> Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
  • Method Details

    • getPropagatedLevel

      protected int getPropagatedLevel(long sourceId, long targetId, int level)
      Overrides:
      getPropagatedLevel in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
      Mappings:
      Namespace Name Mixin selector
      official b Ldee;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
    • propagateLevel

      protected void propagateLevel(long id, int level, boolean decrease)
      Specified by:
      propagateLevel in class LevelPropagator
      Mappings:
      Namespace Name Mixin selector
      official a Ldee;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)
      Overrides:
      recalculateLevel in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
      Mappings:
      Namespace Name Mixin selector
      official a Ldee;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
    • resetLevel

      protected void resetLevel(long id)
      Overrides:
      resetLevel in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
      Mappings:
      Namespace Name Mixin selector
      official f Ldee;f(J)V
      intermediary method_15491 Lnet/minecraft/class_3554;method_15491(J)V
      named resetLevel Lnet/minecraft/world/chunk/light/LevelPropagator;resetLevel(J)V
    • displaySectionLevel

      public String displaySectionLevel(long sectionPos)
      Overrides:
      displaySectionLevel in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
      Mappings:
      Namespace Name Mixin selector
      official b Ldeg;b(J)Ljava/lang/String;
      intermediary method_22875 Lnet/minecraft/class_3558;method_22875(J)Ljava/lang/String;
      named displaySectionLevel Lnet/minecraft/world/chunk/light/ChunkLightProvider;displaySectionLevel(J)Ljava/lang/String;