Enum Class IWorldLightListener.Dummy

java.lang.Object
java.lang.Enum<IWorldLightListener.Dummy>
net.minecraft.world.lighting.IWorldLightListener.Dummy
All Implemented Interfaces:
Serializable, Comparable<IWorldLightListener.Dummy>, Constable, ILightListener, IWorldLightListener
Enclosing interface:
IWorldLightListener

public static enum IWorldLightListener.Dummy extends Enum<IWorldLightListener.Dummy> implements IWorldLightListener
  • Enum Constant Details

  • Constructor Details

    • Dummy

      private Dummy()
  • Method Details

    • values

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

      public static IWorldLightListener.Dummy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDataLayerData

      @Nullable public NibbleArray getDataLayerData(SectionPos p_215612_1_)
      Specified by:
      getDataLayerData in interface IWorldLightListener
    • getLightValue

      public int getLightValue(BlockPos p_215611_1_)
      Specified by:
      getLightValue in interface IWorldLightListener
    • updateSectionStatus

      public void updateSectionStatus(SectionPos p_215566_1_, boolean p_215566_2_)
      Specified by:
      updateSectionStatus in interface ILightListener