Package net.minecraft.world.chunk.light
Enum Class ChunkLightingView.Empty
- All Implemented Interfaces:
Serializable
,Comparable<ChunkLightingView.Empty>
,Constable
,ChunkLightingView
,LightingView
- Enclosing interface:
ChunkLightingView
public static enum ChunkLightingView.Empty
extends Enum<ChunkLightingView.Empty>
implements ChunkLightingView
- Mappings:
Namespace Name named net/minecraft/world/chunk/light/ChunkLightingView$Empty
intermediary net/minecraft/class_3562$class_3563
official enk$a
-
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.chunk.light.ChunkLightingView
ChunkLightingView.Empty
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkBlock
(BlockPos pos) int
int
getLightLevel
(BlockPos pos) boolean
void
propagateLight
(ChunkPos chunkPos) void
setColumnEnabled
(ChunkPos pos, boolean retainData) void
setSectionStatus
(ChunkSectionPos pos, boolean notReady) static ChunkLightingView.Empty
Returns the enum constant of this class with the specified name.static ChunkLightingView.Empty[]
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.chunk.light.LightingView
setSectionStatus
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCE
Lnet/minecraft/world/chunk/light/ChunkLightingView$Empty;INSTANCE:Lnet/minecraft/world/chunk/light/ChunkLightingView$Empty;
intermediary field_15812
Lnet/minecraft/class_3562$class_3563;field_15812:Lnet/minecraft/class_3562$class_3563;
official a
Lenk$a;a:Lenk$a;
-
-
Constructor Details
-
Empty
private Empty()
-
-
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
-
getLightSection
- Specified by:
getLightSection
in interfaceChunkLightingView
- Mappings:
Namespace Name Mixin selector named getLightSection
Lnet/minecraft/world/chunk/light/ChunkLightingView;getLightSection(Lnet/minecraft/util/math/ChunkSectionPos;)Lnet/minecraft/world/chunk/ChunkNibbleArray;
intermediary method_15544
Lnet/minecraft/class_3562;method_15544(Lnet/minecraft/class_4076;)Lnet/minecraft/class_2804;
official a
Lenk;a(Lkb;)Lduf;
-
getLightLevel
- Specified by:
getLightLevel
in interfaceChunkLightingView
- Mappings:
Namespace Name Mixin selector named getLightLevel
Lnet/minecraft/world/chunk/light/ChunkLightingView;getLightLevel(Lnet/minecraft/util/math/BlockPos;)I
intermediary method_15543
Lnet/minecraft/class_3562;method_15543(Lnet/minecraft/class_2338;)I
official b
Lenk;b(Liz;)I
-
checkBlock
- Specified by:
checkBlock
in interfaceLightingView
- Mappings:
Namespace Name Mixin selector named checkBlock
Lnet/minecraft/world/chunk/light/LightingView;checkBlock(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_15513
Lnet/minecraft/class_3565;method_15513(Lnet/minecraft/class_2338;)V
official a
Lenp;a(Liz;)V
-
hasUpdates
public boolean hasUpdates()- Specified by:
hasUpdates
in interfaceLightingView
- Mappings:
Namespace Name Mixin selector named hasUpdates
Lnet/minecraft/world/chunk/light/LightingView;hasUpdates()Z
intermediary method_15518
Lnet/minecraft/class_3565;method_15518()Z
official K_
Lenp;K_()Z
-
doLightUpdates
public int doLightUpdates()- Specified by:
doLightUpdates
in interfaceLightingView
- Mappings:
Namespace Name Mixin selector named doLightUpdates
Lnet/minecraft/world/chunk/light/LightingView;doLightUpdates()I
intermediary method_15516
Lnet/minecraft/class_3565;method_15516()I
official a
Lenp;a()I
-
setSectionStatus
- Specified by:
setSectionStatus
in interfaceLightingView
- Mappings:
Namespace Name Mixin selector named setSectionStatus
Lnet/minecraft/world/chunk/light/LightingView;setSectionStatus(Lnet/minecraft/util/math/ChunkSectionPos;Z)V
intermediary method_15551
Lnet/minecraft/class_3565;method_15551(Lnet/minecraft/class_4076;Z)V
official a
Lenp;a(Lkb;Z)V
-
setColumnEnabled
- Specified by:
setColumnEnabled
in interfaceLightingView
- Mappings:
Namespace Name Mixin selector named setColumnEnabled
Lnet/minecraft/world/chunk/light/LightingView;setColumnEnabled(Lnet/minecraft/util/math/ChunkPos;Z)V
intermediary method_15512
Lnet/minecraft/class_3565;method_15512(Lnet/minecraft/class_1923;Z)V
official a
Lenp;a(Ldbh;Z)V
-
propagateLight
- Specified by:
propagateLight
in interfaceLightingView
- Mappings:
Namespace Name Mixin selector named propagateLight
Lnet/minecraft/world/chunk/light/LightingView;propagateLight(Lnet/minecraft/util/math/ChunkPos;)V
intermediary method_51471
Lnet/minecraft/class_3565;method_51471(Lnet/minecraft/class_1923;)V
official b
Lenp;b(Ldbh;)V
-