枚举 ChunkLightingView.Empty
- java.lang.Object
-
- java.lang.Enum<ChunkLightingView.Empty>
-
- net.minecraft.world.chunk.light.ChunkLightingView.Empty
-
- 封闭接口:
- ChunkLightingView
public static enum ChunkLightingView.Empty extends Enum<ChunkLightingView.Empty> implements ChunkLightingView
- Mappings:
Namespace Name official ddh$aintermediary net/minecraft/class_3562$class_3563named net/minecraft/world/chunk/light/ChunkLightingView$Empty
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.world.chunk.light.ChunkLightingView
ChunkLightingView.Empty
-
-
枚举常量概要
枚举常量 枚举常量 说明 INSTANCE
-
构造器概要
构造器 限定符 构造器 说明 privateEmpty()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddLightSource(BlockPos pos, int int2)voidcheckBlock(BlockPos pos)intdoLightUpdates(int int2, boolean bool, boolean bool2)intgetLightLevel(BlockPos pos)@Nullable ChunkNibbleArraygetLightSection(ChunkSectionPos pos)booleanhasUpdates()voidsetColumnEnabled(ChunkPos chunkPos, boolean bool)voidsetSectionStatus(ChunkSectionPos pos, boolean notReady)static ChunkLightingView.EmptyvalueOf(String name)返回带有指定名称的该类型的枚举常量。static ChunkLightingView.Empty[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。-
从类继承的方法 java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
从接口继承的方法 net.minecraft.world.chunk.light.LightingView
setSectionStatus
-
-
-
-
枚举常量详细资料
-
INSTANCE
public static final ChunkLightingView.Empty INSTANCE
- Mappings:
Namespace Name Mixin selector official aLddh$a;a:Lddh$a;intermediary field_15812Lnet/minecraft/class_3562$class_3563;field_15812:Lnet/minecraft/class_3562$class_3563;named INSTANCELnet/minecraft/world/chunk/light/ChunkLightingView$Empty;INSTANCE:Lnet/minecraft/world/chunk/light/ChunkLightingView$Empty;
-
-
方法详细资料
-
values
public static ChunkLightingView.Empty[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (ChunkLightingView.Empty c : ChunkLightingView.Empty.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static ChunkLightingView.Empty valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getLightSection
@Nullable public @Nullable ChunkNibbleArray getLightSection(ChunkSectionPos pos)
- 指定者:
getLightSection在接口中ChunkLightingView- Mappings:
Namespace Name Mixin selector official aLddh;a(Lgu;)Lclp;intermediary method_15544Lnet/minecraft/class_3562;method_15544(Lnet/minecraft/class_4076;)Lnet/minecraft/class_2804;named getLightSectionLnet/minecraft/world/chunk/light/ChunkLightingView;getLightSection(Lnet/minecraft/util/math/ChunkSectionPos;)Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
getLightLevel
public int getLightLevel(BlockPos pos)
- 指定者:
getLightLevel在接口中ChunkLightingView- Mappings:
Namespace Name Mixin selector official bLddh;b(Lgb;)Iintermediary method_15543Lnet/minecraft/class_3562;method_15543(Lnet/minecraft/class_2338;)Inamed getLightLevelLnet/minecraft/world/chunk/light/ChunkLightingView;getLightLevel(Lnet/minecraft/util/math/BlockPos;)I
-
checkBlock
public void checkBlock(BlockPos pos)
- 指定者:
checkBlock在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(Lgb;)Vintermediary method_15513Lnet/minecraft/class_3565;method_15513(Lnet/minecraft/class_2338;)Vnamed checkBlockLnet/minecraft/world/chunk/light/LightingView;checkBlock(Lnet/minecraft/util/math/BlockPos;)V
-
addLightSource
public void addLightSource(BlockPos pos, int int2)
- 指定者:
addLightSource在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(Lgb;I)Vintermediary method_15514Lnet/minecraft/class_3565;method_15514(Lnet/minecraft/class_2338;I)Vnamed addLightSourceLnet/minecraft/world/chunk/light/LightingView;addLightSource(Lnet/minecraft/util/math/BlockPos;I)V
-
hasUpdates
public boolean hasUpdates()
- 指定者:
hasUpdates在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a()Zintermediary method_15518Lnet/minecraft/class_3565;method_15518()Znamed hasUpdatesLnet/minecraft/world/chunk/light/LightingView;hasUpdates()Z
-
doLightUpdates
public int doLightUpdates(int int2, boolean bool, boolean bool2)- 指定者:
doLightUpdates在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(IZZ)Iintermediary method_15516Lnet/minecraft/class_3565;method_15516(IZZ)Inamed doLightUpdatesLnet/minecraft/world/chunk/light/LightingView;doLightUpdates(IZZ)I
-
setSectionStatus
public void setSectionStatus(ChunkSectionPos pos, boolean notReady)
- 指定者:
setSectionStatus在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(Lgu;Z)Vintermediary method_15551Lnet/minecraft/class_3565;method_15551(Lnet/minecraft/class_4076;Z)Vnamed setSectionStatusLnet/minecraft/world/chunk/light/LightingView;setSectionStatus(Lnet/minecraft/util/math/ChunkSectionPos;Z)V
-
setColumnEnabled
public void setColumnEnabled(ChunkPos chunkPos, boolean bool)
- 指定者:
setColumnEnabled在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(Lbuw;Z)Vintermediary method_15512Lnet/minecraft/class_3565;method_15512(Lnet/minecraft/class_1923;Z)Vnamed setColumnEnabledLnet/minecraft/world/chunk/light/LightingView;setColumnEnabled(Lnet/minecraft/util/math/ChunkPos;Z)V
-
-