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_) void
enableLightSources
(ChunkPos p_164431_, boolean p_164432_) getDataLayerData
(SectionPos p_75718_) int
getLightValue
(BlockPos p_75723_) boolean
void
onBlockEmissionIncrease
(BlockPos p_164436_, int p_164437_) int
runUpdates
(int p_164427_, boolean p_164428_, boolean p_164429_) 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
-
onBlockEmissionIncrease
- Specified by:
onBlockEmissionIncrease
in interfaceLightEventListener
-
hasLightWork
public boolean hasLightWork()- Specified by:
hasLightWork
in interfaceLightEventListener
-
runUpdates
public int runUpdates(int p_164427_, boolean p_164428_, boolean p_164429_) - Specified by:
runUpdates
in interfaceLightEventListener
-
updateSectionStatus
- Specified by:
updateSectionStatus
in interfaceLightEventListener
-
enableLightSources
- Specified by:
enableLightSources
in interfaceLightEventListener
-