Package net.minecraft.world.chunk.light
Class LightingProvider
java.lang.Object
net.minecraft.world.chunk.light.LightingProvider
- All Implemented Interfaces:
LightingView
- Direct Known Subclasses:
ServerLightingProvider
- Mappings:
Namespace Name named net/minecraft/world/chunk/light/LightingProvider
intermediary net/minecraft/class_3568
official etl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable ChunkLightProvider
<?, ?> static final LightingProvider
static final int
private final @Nullable ChunkLightProvider
<?, ?> protected final HeightLimitView
-
Constructor Summary
ModifierConstructorDescriptionprivate
LightingProvider
(ChunkProvider chunkProvider, boolean hasBlockLight, boolean hasSkyLight) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkBlock
(BlockPos pos) displaySectionLevel
(LightType lightType, ChunkSectionPos pos) int
void
enqueueSectionData
(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles) int
int
int
getStatus
(LightType lightType, ChunkSectionPos pos) int
getTopY()
boolean
boolean
isLightingEnabled
(long sectionPos) void
propagateLight
(ChunkPos chunkPos) void
setColumnEnabled
(ChunkPos pos, boolean retainData) void
setRetainData
(ChunkPos pos, boolean retainData) void
setSectionStatus
(ChunkSectionPos pos, boolean notReady) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.chunk.light.LightingView
setSectionStatus
-
Field Details
-
field_31714
public static final int field_31714- See Also:
- Mappings:
Namespace Name Mixin selector named field_31714
Lnet/minecraft/world/chunk/light/LightingProvider;field_31714:I
intermediary field_31714
Lnet/minecraft/class_3568;field_31714:I
official b
Letl;b:I
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULT
Lnet/minecraft/world/chunk/light/LightingProvider;DEFAULT:Lnet/minecraft/world/chunk/light/LightingProvider;
intermediary field_52658
Lnet/minecraft/class_3568;field_52658:Lnet/minecraft/class_3568;
official c
Letl;c:Letl;
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/world/chunk/light/LightingProvider;world:Lnet/minecraft/world/HeightLimitView;
intermediary field_27339
Lnet/minecraft/class_3568;field_27339:Lnet/minecraft/class_5539;
official d
Letl;d:Ldhj;
-
blockLightProvider
- Mappings:
Namespace Name Mixin selector named blockLightProvider
Lnet/minecraft/world/chunk/light/LightingProvider;blockLightProvider:Lnet/minecraft/world/chunk/light/ChunkLightProvider;
intermediary field_15814
Lnet/minecraft/class_3568;field_15814:Lnet/minecraft/class_3558;
official a
Letl;a:Letn;
-
skyLightProvider
- Mappings:
Namespace Name Mixin selector named skyLightProvider
Lnet/minecraft/world/chunk/light/LightingProvider;skyLightProvider:Lnet/minecraft/world/chunk/light/ChunkLightProvider;
intermediary field_15813
Lnet/minecraft/class_3568;field_15813:Lnet/minecraft/class_3558;
official e
Letl;e:Letn;
-
-
Constructor Details
-
LightingProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/chunk/light/LightingProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;ZZ)V
intermediary <init>
Lnet/minecraft/class_3568;<init>(Lnet/minecraft/class_2823;ZZ)V
official <init>
Letl;<init>(Leac;ZZ)V
-
LightingProvider
private LightingProvider()
-
-
Method Details
-
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
Leto;a(Ljh;)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 N_
Leto;N_()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
Leto;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
Leto;a(Lkj;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
Leto;a(Ldgn;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
Leto;b(Ldgn;)V
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/world/chunk/light/LightingProvider;get(Lnet/minecraft/world/LightType;)Lnet/minecraft/world/chunk/light/ChunkLightingView;
intermediary method_15562
Lnet/minecraft/class_3568;method_15562(Lnet/minecraft/class_1944;)Lnet/minecraft/class_3562;
official a
Letl;a(Ldhq;)Letj;
-
displaySectionLevel
- Mappings:
Namespace Name Mixin selector named displaySectionLevel
Lnet/minecraft/world/chunk/light/LightingProvider;displaySectionLevel(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Ljava/lang/String;
intermediary method_22876
Lnet/minecraft/class_3568;method_22876(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Ljava/lang/String;
official a
Letl;a(Ldhq;Lkj;)Ljava/lang/String;
-
getStatus
- Mappings:
Namespace Name Mixin selector named getStatus
Lnet/minecraft/world/chunk/light/LightingProvider;getStatus(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Lnet/minecraft/world/chunk/light/LightStorage$Status;
intermediary method_51560
Lnet/minecraft/class_3568;method_51560(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Lnet/minecraft/class_3560$class_8530;
official b
Letl;b(Ldhq;Lkj;)Letk$b;
-
enqueueSectionData
public void enqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable @Nullable ChunkNibbleArray nibbles) - Mappings:
Namespace Name Mixin selector named enqueueSectionData
Lnet/minecraft/world/chunk/light/LightingProvider;enqueueSectionData(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/chunk/ChunkNibbleArray;)V
intermediary method_15558
Lnet/minecraft/class_3568;method_15558(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;Lnet/minecraft/class_2804;)V
official a
Letl;a(Ldhq;Lkj;Ldzu;)V
-
setRetainData
- Mappings:
Namespace Name Mixin selector named setRetainData
Lnet/minecraft/world/chunk/light/LightingProvider;setRetainData(Lnet/minecraft/util/math/ChunkPos;Z)V
intermediary method_20601
Lnet/minecraft/class_3568;method_20601(Lnet/minecraft/class_1923;Z)V
official b
Letl;b(Ldgn;Z)V
-
getLight
- Mappings:
Namespace Name Mixin selector named getLight
Lnet/minecraft/world/chunk/light/LightingProvider;getLight(Lnet/minecraft/util/math/BlockPos;I)I
intermediary method_22363
Lnet/minecraft/class_3568;method_22363(Lnet/minecraft/class_2338;I)I
official a
Letl;a(Ljh;I)I
-
isLightingEnabled
public boolean isLightingEnabled(long sectionPos) - Mappings:
Namespace Name Mixin selector named isLightingEnabled
Lnet/minecraft/world/chunk/light/LightingProvider;isLightingEnabled(J)Z
intermediary method_62874
Lnet/minecraft/class_3568;method_62874(J)Z
official a
Letl;a(J)Z
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/world/chunk/light/LightingProvider;getHeight()I
intermediary method_31928
Lnet/minecraft/class_3568;method_31928()I
official c
Letl;c()I
-
getBottomY
public int getBottomY()- Mappings:
Namespace Name Mixin selector named getBottomY
Lnet/minecraft/world/chunk/light/LightingProvider;getBottomY()I
intermediary method_31929
Lnet/minecraft/class_3568;method_31929()I
official d
Letl;d()I
-
getTopY
public int getTopY()- Mappings:
Namespace Name Mixin selector named getTopY
Lnet/minecraft/world/chunk/light/LightingProvider;getTopY()I
intermediary method_31930
Lnet/minecraft/class_3568;method_31930()I
official e
Letl;e()I
-