Enum Class LayerLightEventListener.DummyLightLayerEventListener
java.lang.Object
java.lang.Enum<LayerLightEventListener.DummyLightLayerEventListener>
net.minecraft.world.level.lighting.LayerLightEventListener.DummyLightLayerEventListener
- All Implemented Interfaces:
Serializable,Comparable<LayerLightEventListener.DummyLightLayerEventListener>,Constable,LayerLightEventListener,LightEventListener
- Enclosing interface:
LayerLightEventListener
public static enum LayerLightEventListener.DummyLightLayerEventListener
extends Enum<LayerLightEventListener.DummyLightLayerEventListener>
implements LayerLightEventListener
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.world.level.lighting.LayerLightEventListener
LayerLightEventListener.DummyLightLayerEventListener -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckBlock(BlockPos p_164434_) getDataLayerData(SectionPos p_75718_) intgetLightValue(BlockPos p_75723_) booleanvoidpropagateLightSources(ChunkPos p_285209_) intvoidsetLightEnabled(ChunkPos p_164431_, boolean p_164432_) voidupdateSectionStatus(SectionPos p_75720_, boolean p_75721_) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.world.level.lighting.LightEventListener
updateSectionStatus
-
Enum Constant Details
-
INSTANCE
-
-
Constructor Details
-
DummyLightLayerEventListener
private DummyLightLayerEventListener()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getDataLayerData
- Specified by:
getDataLayerDatain interfaceLayerLightEventListener
-
getLightValue
- Specified by:
getLightValuein interfaceLayerLightEventListener
-
checkBlock
- Specified by:
checkBlockin interfaceLightEventListener
-
hasLightWork
public boolean hasLightWork()- Specified by:
hasLightWorkin interfaceLightEventListener
-
runLightUpdates
public int runLightUpdates()- Specified by:
runLightUpdatesin interfaceLightEventListener
-
updateSectionStatus
- Specified by:
updateSectionStatusin interfaceLightEventListener
-
setLightEnabled
- Specified by:
setLightEnabledin interfaceLightEventListener
-
propagateLightSources
- Specified by:
propagateLightSourcesin interfaceLightEventListener
-