Enum ChunkLightingView.Empty

java.lang.Object
java.lang.Enum<ChunkLightingView.Empty>
net.minecraft.world.chunk.light.ChunkLightingView.Empty
All Implemented Interfaces:
Serializable, Comparable<ChunkLightingView.Empty>, java.lang.constant.Constable, ChunkLightingView, LightingView
Enclosing interface:
ChunkLightingView

public static enum ChunkLightingView.Empty
extends Enum<ChunkLightingView.Empty>
implements ChunkLightingView
Mappings:
Namespace Name
official daa$a
intermediary net/minecraft/class_3562$class_3563
named net/minecraft/world/chunk/light/ChunkLightingView$Empty
  • Enum Constant Details

    • INSTANCE

      public static final ChunkLightingView.Empty INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Ldaa$a;a:Ldaa$a;
      intermediary field_15812 Lnet/minecraft/class_3562$class_3563;field_15812:Lnet/minecraft/class_3562$class_3563;
      named INSTANCE Lnet/minecraft/world/chunk/light/ChunkLightingView$Empty;INSTANCE:Lnet/minecraft/world/chunk/light/ChunkLightingView$Empty;
  • Constructor Details

    • Empty

      private Empty()
  • Method Details

    • values

      public static ChunkLightingView.Empty[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ChunkLightingView.Empty valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getLightSection

      @Nullable public ChunkNibbleArray getLightSection​(ChunkSectionPos pos)
      Specified by:
      getLightSection in interface ChunkLightingView
      Mappings:
      Namespace Name Mixin selector
      official a Ldaa;a(Lgq;)Lcjq;
      intermediary method_15544 Lnet/minecraft/class_3562;method_15544(Lnet/minecraft/class_4076;)Lnet/minecraft/class_2804;
      named getLightSection Lnet/minecraft/world/chunk/light/ChunkLightingView;getLightSection(Lnet/minecraft/util/math/ChunkSectionPos;)Lnet/minecraft/world/chunk/ChunkNibbleArray;
    • getLightLevel

      public int getLightLevel​(BlockPos pos)
      Specified by:
      getLightLevel in interface ChunkLightingView
      Mappings:
      Namespace Name Mixin selector
      official b Ldaa;b(Lfx;)I
      intermediary method_15543 Lnet/minecraft/class_3562;method_15543(Lnet/minecraft/class_2338;)I
      named getLightLevel Lnet/minecraft/world/chunk/light/ChunkLightingView;getLightLevel(Lnet/minecraft/util/math/BlockPos;)I
    • setSectionStatus

      public void setSectionStatus​(ChunkSectionPos pos, boolean notReady)
      Specified by:
      setSectionStatus in interface LightingView
      Mappings:
      Namespace Name Mixin selector
      official a Ldad;a(Lgq;Z)V
      intermediary method_15551 Lnet/minecraft/class_3565;method_15551(Lnet/minecraft/class_4076;Z)V
      named setSectionStatus Lnet/minecraft/world/chunk/light/LightingView;setSectionStatus(Lnet/minecraft/util/math/ChunkSectionPos;Z)V