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/LightingProviderintermediary net/minecraft/class_3568official epq
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable ChunkLightProvider<?, ?> static final LightingProviderstatic final intprivate final @Nullable ChunkLightProvider<?, ?> protected final HeightLimitView -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLightingProvider(ChunkProvider chunkProvider, boolean hasBlockLight, boolean hasSkyLight) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckBlock(BlockPos pos) displaySectionLevel(LightType lightType, ChunkSectionPos pos) intvoidenqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles) intintintgetStatus(LightType lightType, ChunkSectionPos pos) intgetTopY()booleanbooleanisLightingEnabled(ChunkSectionPos sectionPos) voidpropagateLight(ChunkPos chunkPos) voidsetColumnEnabled(ChunkPos pos, boolean retainData) voidsetRetainData(ChunkPos pos, boolean retainData) voidsetSectionStatus(ChunkSectionPos pos, boolean notReady) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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_31714Lnet/minecraft/world/chunk/light/LightingProvider;field_31714:Iintermediary field_31714Lnet/minecraft/class_3568;field_31714:Iofficial bLepq;b:I
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULTLnet/minecraft/world/chunk/light/LightingProvider;DEFAULT:Lnet/minecraft/world/chunk/light/LightingProvider;intermediary field_52658Lnet/minecraft/class_3568;field_52658:Lnet/minecraft/class_3568;official cLepq;c:Lepq;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/world/chunk/light/LightingProvider;world:Lnet/minecraft/world/HeightLimitView;intermediary field_27339Lnet/minecraft/class_3568;field_27339:Lnet/minecraft/class_5539;official dLepq;d:Lddu;
-
blockLightProvider
- Mappings:
Namespace Name Mixin selector named blockLightProviderLnet/minecraft/world/chunk/light/LightingProvider;blockLightProvider:Lnet/minecraft/world/chunk/light/ChunkLightProvider;intermediary field_15814Lnet/minecraft/class_3568;field_15814:Lnet/minecraft/class_3558;official aLepq;a:Leps;
-
skyLightProvider
- Mappings:
Namespace Name Mixin selector named skyLightProviderLnet/minecraft/world/chunk/light/LightingProvider;skyLightProvider:Lnet/minecraft/world/chunk/light/ChunkLightProvider;intermediary field_15813Lnet/minecraft/class_3568;field_15813:Lnet/minecraft/class_3558;official eLepq;e:Leps;
-
-
Constructor Details
-
LightingProvider
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/light/LightingProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;ZZ)Vintermediary <init>Lnet/minecraft/class_3568;<init>(Lnet/minecraft/class_2823;ZZ)Vofficial <init>Lepq;<init>(Ldwj;ZZ)V
-
LightingProvider
private LightingProvider()
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin interfaceLightingView- Mappings:
Namespace Name Mixin selector named checkBlockLnet/minecraft/world/chunk/light/LightingView;checkBlock(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_15513Lnet/minecraft/class_3565;method_15513(Lnet/minecraft/class_2338;)Vofficial aLept;a(Lje;)V
-
hasUpdates
public boolean hasUpdates()- Specified by:
hasUpdatesin interfaceLightingView- Mappings:
Namespace Name Mixin selector named hasUpdatesLnet/minecraft/world/chunk/light/LightingView;hasUpdates()Zintermediary method_15518Lnet/minecraft/class_3565;method_15518()Zofficial I_Lept;I_()Z
-
doLightUpdates
public int doLightUpdates()- Specified by:
doLightUpdatesin interfaceLightingView- Mappings:
Namespace Name Mixin selector named doLightUpdatesLnet/minecraft/world/chunk/light/LightingView;doLightUpdates()Iintermediary method_15516Lnet/minecraft/class_3565;method_15516()Iofficial aLept;a()I
-
setSectionStatus
- Specified by:
setSectionStatusin interfaceLightingView- Mappings:
Namespace Name Mixin selector named setSectionStatusLnet/minecraft/world/chunk/light/LightingView;setSectionStatus(Lnet/minecraft/util/math/ChunkSectionPos;Z)Vintermediary method_15551Lnet/minecraft/class_3565;method_15551(Lnet/minecraft/class_4076;Z)Vofficial aLept;a(Lkg;Z)V
-
setColumnEnabled
- Specified by:
setColumnEnabledin interfaceLightingView- Mappings:
Namespace Name Mixin selector named setColumnEnabledLnet/minecraft/world/chunk/light/LightingView;setColumnEnabled(Lnet/minecraft/util/math/ChunkPos;Z)Vintermediary method_15512Lnet/minecraft/class_3565;method_15512(Lnet/minecraft/class_1923;Z)Vofficial aLept;a(Ldcy;Z)V
-
propagateLight
- Specified by:
propagateLightin interfaceLightingView- Mappings:
Namespace Name Mixin selector named propagateLightLnet/minecraft/world/chunk/light/LightingView;propagateLight(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_51471Lnet/minecraft/class_3565;method_51471(Lnet/minecraft/class_1923;)Vofficial bLept;b(Ldcy;)V
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/world/chunk/light/LightingProvider;get(Lnet/minecraft/world/LightType;)Lnet/minecraft/world/chunk/light/ChunkLightingView;intermediary method_15562Lnet/minecraft/class_3568;method_15562(Lnet/minecraft/class_1944;)Lnet/minecraft/class_3562;official aLepq;a(Ldeb;)Lepo;
-
displaySectionLevel
- Mappings:
Namespace Name Mixin selector named displaySectionLevelLnet/minecraft/world/chunk/light/LightingProvider;displaySectionLevel(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Ljava/lang/String;intermediary method_22876Lnet/minecraft/class_3568;method_22876(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Ljava/lang/String;official aLepq;a(Ldeb;Lkg;)Ljava/lang/String;
-
getStatus
- Mappings:
Namespace Name Mixin selector named getStatusLnet/minecraft/world/chunk/light/LightingProvider;getStatus(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Lnet/minecraft/world/chunk/light/LightStorage$Status;intermediary method_51560Lnet/minecraft/class_3568;method_51560(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Lnet/minecraft/class_3560$class_8530;official bLepq;b(Ldeb;Lkg;)Lepp$b;
-
enqueueSectionData
public void enqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable @Nullable ChunkNibbleArray nibbles) - Mappings:
Namespace Name Mixin selector named enqueueSectionDataLnet/minecraft/world/chunk/light/LightingProvider;enqueueSectionData(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/chunk/ChunkNibbleArray;)Vintermediary method_15558Lnet/minecraft/class_3568;method_15558(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;Lnet/minecraft/class_2804;)Vofficial aLepq;a(Ldeb;Lkg;Ldwb;)V
-
setRetainData
- Mappings:
Namespace Name Mixin selector named setRetainDataLnet/minecraft/world/chunk/light/LightingProvider;setRetainData(Lnet/minecraft/util/math/ChunkPos;Z)Vintermediary method_20601Lnet/minecraft/class_3568;method_20601(Lnet/minecraft/class_1923;Z)Vofficial bLepq;b(Ldcy;Z)V
-
getLight
- Mappings:
Namespace Name Mixin selector named getLightLnet/minecraft/world/chunk/light/LightingProvider;getLight(Lnet/minecraft/util/math/BlockPos;I)Iintermediary method_22363Lnet/minecraft/class_3568;method_22363(Lnet/minecraft/class_2338;I)Iofficial aLepq;a(Lje;I)I
-
isLightingEnabled
- Mappings:
Namespace Name Mixin selector named isLightingEnabledLnet/minecraft/world/chunk/light/LightingProvider;isLightingEnabled(Lnet/minecraft/util/math/ChunkSectionPos;)Zintermediary method_51559Lnet/minecraft/class_3568;method_51559(Lnet/minecraft/class_4076;)Zofficial aLepq;a(Lkg;)Z
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/world/chunk/light/LightingProvider;getHeight()Iintermediary method_31928Lnet/minecraft/class_3568;method_31928()Iofficial cLepq;c()I
-
getBottomY
public int getBottomY()- Mappings:
Namespace Name Mixin selector named getBottomYLnet/minecraft/world/chunk/light/LightingProvider;getBottomY()Iintermediary method_31929Lnet/minecraft/class_3568;method_31929()Iofficial dLepq;d()I
-
getTopY
public int getTopY()- Mappings:
Namespace Name Mixin selector named getTopYLnet/minecraft/world/chunk/light/LightingProvider;getTopY()Iintermediary method_31930Lnet/minecraft/class_3568;method_31930()Iofficial eLepq;e()I
-