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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkBlock
(BlockPos p_164434_) getDataLayerData
(SectionPos p_75718_) int
getLightValue
(BlockPos p_75723_) boolean
void
propagateLightSources
(ChunkPos p_285209_) int
void
setLightEnabled
(ChunkPos p_164431_, boolean p_164432_) void
updateSectionStatus
(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, valueOf
Methods 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:
getDataLayerData
in interfaceLayerLightEventListener
-
getLightValue
- Specified by:
getLightValue
in interfaceLayerLightEventListener
-
checkBlock
- Specified by:
checkBlock
in interfaceLightEventListener
-
hasLightWork
public boolean hasLightWork()- Specified by:
hasLightWork
in interfaceLightEventListener
-
runLightUpdates
public int runLightUpdates()- Specified by:
runLightUpdates
in interfaceLightEventListener
-
updateSectionStatus
- Specified by:
updateSectionStatus
in interfaceLightEventListener
-
setLightEnabled
- Specified by:
setLightEnabled
in interfaceLightEventListener
-
propagateLightSources
- Specified by:
propagateLightSources
in interfaceLightEventListener
-