Enum Class LayerLightEventListener.DummyLightLayerEventListener
java.lang.Object
java.lang.Enum<LayerLightEventListener.DummyLightLayerEventListener>
net.minecraft.world.level.lighting.LayerLightEventListener.DummyLightLayerEventListener
- 所有已实现的接口:
Serializable
,Comparable<LayerLightEventListener.DummyLightLayerEventListener>
,Constable
,LayerLightEventListener
,LightEventListener
- 封闭接口:
- LayerLightEventListener
public static enum LayerLightEventListener.DummyLightLayerEventListener
extends Enum<LayerLightEventListener.DummyLightLayerEventListener>
implements LayerLightEventListener
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
从接口继承的嵌套类/接口 net.minecraft.world.level.lighting.LayerLightEventListener
LayerLightEventListener.DummyLightLayerEventListener
-
枚举常量概要
枚举常量 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
checkBlock
(BlockPos pPos) getDataLayerData
(SectionPos pSectionPos) int
getLightValue
(BlockPos pLevelPos) boolean
void
propagateLightSources
(ChunkPos pChunkPos) int
void
setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) void
updateSectionStatus
(SectionPos pPos, boolean pIsEmpty) 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.从类继承的方法 java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
从接口继承的方法 net.minecraft.world.level.lighting.LightEventListener
updateSectionStatus
-
枚举常量详细资料
-
INSTANCE
-
-
构造器详细资料
-
DummyLightLayerEventListener
private DummyLightLayerEventListener()
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- 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.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-
getDataLayerData
- 指定者:
getDataLayerData
在接口中LayerLightEventListener
-
getLightValue
- 指定者:
getLightValue
在接口中LayerLightEventListener
-
checkBlock
- 指定者:
checkBlock
在接口中LightEventListener
-
hasLightWork
public boolean hasLightWork()- 指定者:
hasLightWork
在接口中LightEventListener
-
runLightUpdates
public int runLightUpdates()- 指定者:
runLightUpdates
在接口中LightEventListener
-
updateSectionStatus
- 指定者:
updateSectionStatus
在接口中LightEventListener
-
setLightEnabled
- 指定者:
setLightEnabled
在接口中LightEventListener
-
propagateLightSources
- 指定者:
propagateLightSources
在接口中LightEventListener
-