Class LightEngine.QueueEntry

java.lang.Object
net.minecraft.world.level.lighting.LightEngine.QueueEntry
Enclosing class:
LightEngine<M extends DataLayerStorageMap<M>, S extends LayerLightSectionStorage<M>>

public static class LightEngine.QueueEntry extends Object
  • Field Details

  • Constructor Details

    • QueueEntry

      public QueueEntry()
  • Method Details

    • decreaseSkipOneDirection

      public static long decreaseSkipOneDirection(int oldFromLevel, Direction skipDirection)
    • decreaseAllDirections

      public static long decreaseAllDirections(int oldFromLevel)
    • increaseLightFromEmission

      public static long increaseLightFromEmission(int newFromLevel, boolean fromEmptyShape)
    • increaseSkipOneDirection

      public static long increaseSkipOneDirection(int newFromLevel, boolean fromEmptyShape, Direction skipDirection)
    • increaseOnlyOneDirection

      public static long increaseOnlyOneDirection(int newFromLevel, boolean fromEmptyShape, Direction direction)
    • increaseSkySourceInDirections

      public static long increaseSkySourceInDirections(boolean down, boolean north, boolean south, boolean west, boolean east)
    • getFromLevel

      public static int getFromLevel(long entry)
    • isFromEmptyShape

      public static boolean isFromEmptyShape(long entry)
    • isIncreaseFromEmission

      public static boolean isIncreaseFromEmission(long entry)
    • shouldPropagateInDirection

      public static boolean shouldPropagateInDirection(long entry, Direction direction)
    • withLevel

      private static long withLevel(long entry, int level)
    • withDirection

      private static long withDirection(long entry, Direction direction)
    • withoutDirection

      private static long withoutDirection(long entry, Direction direction)