Class ChunkBlockLightProvider

All Implemented Interfaces:
ChunkLightingView, LightingView

public final class ChunkBlockLightProvider extends ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
Mappings:
Namespace Name
named net/minecraft/world/chunk/light/ChunkBlockLightProvider
intermediary net/minecraft/class_3552
official ffi
  • Field Details

    • mutablePos

      private final BlockPos.Mutable mutablePos
      Mappings:
      Namespace Name Mixin selector
      named mutablePos Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;mutablePos:Lnet/minecraft/util/math/BlockPos$Mutable;
      intermediary field_16511 Lnet/minecraft/class_3552;field_16511:Lnet/minecraft/class_2338$class_2339;
      official g Lffi;g:Lja$a;
  • Constructor Details

    • ChunkBlockLightProvider

      public ChunkBlockLightProvider(ChunkProvider chunkProvider)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
      intermediary <init> Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;)V
      official <init> Lffi;<init>(Lely;)V
    • ChunkBlockLightProvider

      public ChunkBlockLightProvider(ChunkProvider chunkProvider, BlockLightStorage blockLightStorage)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/light/BlockLightStorage;)V
      intermediary <init> Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;Lnet/minecraft/class_3547;)V
      official <init> Lffi;<init>(Lely;Lffj;)V
  • Method Details

    • checkForLightUpdate

      protected void checkForLightUpdate(long blockPos)
      Specified by:
      checkForLightUpdate in class ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
      Mappings:
      Namespace Name Mixin selector
      named checkForLightUpdate Lnet/minecraft/world/chunk/light/ChunkLightProvider;checkForLightUpdate(J)V
      intermediary method_51529 Lnet/minecraft/class_3558;method_51529(J)V
      official a Lffr;a(J)V
    • propagateLightIncrease

      protected void propagateLightIncrease(long blockPos, long packed, int lightLevel)
      Specified by:
      propagateLightIncrease in class ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
      Mappings:
      Namespace Name Mixin selector
      named propagateLightIncrease Lnet/minecraft/world/chunk/light/ChunkLightProvider;propagateLightIncrease(JJI)V
      intermediary method_51531 Lnet/minecraft/class_3558;method_51531(JJI)V
      official a Lffr;a(JJI)V
    • propagateLightDecrease

      protected void propagateLightDecrease(long blockPos, long packed)
      Specified by:
      propagateLightDecrease in class ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
      Mappings:
      Namespace Name Mixin selector
      named propagateLightDecrease Lnet/minecraft/world/chunk/light/ChunkLightProvider;propagateLightDecrease(JJ)V
      intermediary method_51530 Lnet/minecraft/class_3558;method_51530(JJ)V
      official a Lffr;a(JJ)V
    • getLightSourceLuminance

      private int getLightSourceLuminance(long blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      named getLightSourceLuminance Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;getLightSourceLuminance(JLnet/minecraft/block/BlockState;)I
      intermediary method_15474 Lnet/minecraft/class_3552;method_15474(JLnet/minecraft/class_2680;)I
      official a Lffi;a(JLejm;)I
    • propagateLight

      public void propagateLight(ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      named propagateLight Lnet/minecraft/world/chunk/light/LightingView;propagateLight(Lnet/minecraft/util/math/ChunkPos;)V
      intermediary method_51471 Lnet/minecraft/class_3565;method_51471(Lnet/minecraft/class_1923;)V
      official b Lffs;b(Ldqv;)V