类 SkyLightStorage
- java.lang.Object
-
- net.minecraft.world.chunk.light.LevelPropagator
-
- net.minecraft.world.SectionDistanceLevelPropagator
-
- net.minecraft.world.chunk.light.LightStorage<SkyLightStorage.Data>
-
- net.minecraft.world.chunk.light.SkyLightStorage
-
public class SkyLightStorage extends LightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name official ddmintermediary net/minecraft/class_3569named net/minecraft/world/chunk/light/SkyLightStorage
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSkyLightStorage.Data
-
字段概要
字段 修饰符和类型 字段 说明 private LongSetenabledColumnsprivate LongSetfield_15820private booleanhasUpdatesprivate static Direction[]LIGHT_REDUCTION_DIRECTIONSprivate LongSetsectionsToRemoveprivate LongSetsectionsToUpdate-
从类继承的字段 net.minecraft.world.chunk.light.LightStorage
dirtySections, EMPTY, field_31710, field_31711, field_31712, hasLightUpdates, markedNotReadySections, markedReadySections, notifySections, queuedSections, readySections, storage, uncachedStorage
-
-
构造器概要
构造器 限定符 构造器 说明 protectedSkyLightStorage(ChunkProvider chunkProvider)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidcheckForUpdates()protected ChunkNibbleArraycreateSection(long sectionPos)private voidenqueueAddSection(long sectionPos)private voidenqueueRemoveSection(long sectionPos)protected intgetLight(long blockPos)protected booleanhasLightUpdates()protected booleanisAboveMinHeight(int sectionY)protected booleanisAtOrAboveTopmostSection(long sectionPos)protected booleanisSectionEnabled(long sectionPos)protected intmethod_31931(long long2, boolean bool)protected voidonLoadSection(long sectionPos)protected voidonUnloadSection(long sectionPos)protected voidsetColumnEnabled(long columnPos, boolean enabled)protected voidupdateLight(ChunkLightProvider<SkyLightStorage.Data,?> lightProvider, boolean doSkylight, boolean skipEdgeLightPropagation)-
从类继承的方法 net.minecraft.world.chunk.light.LightStorage
enqueueSectionData, get, getInitialLevel, getLevel, getLightSection, getLightSection, getLightSection, hasSection, notifyChanges, removeSection, set, setLevel, setRetainColumn, setSectionStatus, updateAll
-
从类继承的方法 net.minecraft.world.SectionDistanceLevelPropagator
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, update
-
从类继承的方法 net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
-
-
-
-
字段详细资料
-
LIGHT_REDUCTION_DIRECTIONS
private static final Direction[] LIGHT_REDUCTION_DIRECTIONS
- Mappings:
Namespace Name Mixin selector official nLddm;n:[Lgg;intermediary field_15818Lnet/minecraft/class_3569;field_15818:[Lnet/minecraft/class_2350;named LIGHT_REDUCTION_DIRECTIONSLnet/minecraft/world/chunk/light/SkyLightStorage;LIGHT_REDUCTION_DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
field_15820
private final LongSet field_15820
- Mappings:
Namespace Name Mixin selector official oLddm;o:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_15820Lnet/minecraft/class_3569;field_15820:Lit/unimi/dsi/fastutil/longs/LongSet;named field_15820Lnet/minecraft/world/chunk/light/SkyLightStorage;field_15820:Lit/unimi/dsi/fastutil/longs/LongSet;
-
sectionsToUpdate
private final LongSet sectionsToUpdate
- Mappings:
Namespace Name Mixin selector official pLddm;p:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_15815Lnet/minecraft/class_3569;field_15815:Lit/unimi/dsi/fastutil/longs/LongSet;named sectionsToUpdateLnet/minecraft/world/chunk/light/SkyLightStorage;sectionsToUpdate:Lit/unimi/dsi/fastutil/longs/LongSet;
-
sectionsToRemove
private final LongSet sectionsToRemove
- Mappings:
Namespace Name Mixin selector official qLddm;q:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_15816Lnet/minecraft/class_3569;field_15816:Lit/unimi/dsi/fastutil/longs/LongSet;named sectionsToRemoveLnet/minecraft/world/chunk/light/SkyLightStorage;sectionsToRemove:Lit/unimi/dsi/fastutil/longs/LongSet;
-
enabledColumns
private final LongSet enabledColumns
- Mappings:
Namespace Name Mixin selector official rLddm;r:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_15817Lnet/minecraft/class_3569;field_15817:Lit/unimi/dsi/fastutil/longs/LongSet;named enabledColumnsLnet/minecraft/world/chunk/light/SkyLightStorage;enabledColumns:Lit/unimi/dsi/fastutil/longs/LongSet;
-
hasUpdates
private volatile boolean hasUpdates
- Mappings:
Namespace Name Mixin selector official sLddm;s:Zintermediary field_15819Lnet/minecraft/class_3569;field_15819:Znamed hasUpdatesLnet/minecraft/world/chunk/light/SkyLightStorage;hasUpdates:Z
-
-
构造器详细资料
-
SkyLightStorage
protected SkyLightStorage(ChunkProvider chunkProvider)
- Mappings:
Namespace Name Mixin selector official <init>Lddm;<init>(Lclx;)Vintermediary <init>Lnet/minecraft/class_3569;<init>(Lnet/minecraft/class_2823;)Vnamed <init>Lnet/minecraft/world/chunk/light/SkyLightStorage;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
-
-
方法详细资料
-
getLight
protected int getLight(long blockPos)
- 指定者:
getLight在类中LightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official dLddi;d(J)Iintermediary method_15538Lnet/minecraft/class_3560;method_15538(J)Inamed getLightLnet/minecraft/world/chunk/light/LightStorage;getLight(J)I
-
method_31931
protected int method_31931(long long2, boolean bool)- Mappings:
Namespace Name Mixin selector official eLddm;e(JZ)Iintermediary method_31931Lnet/minecraft/class_3569;method_31931(JZ)Inamed method_31931Lnet/minecraft/world/chunk/light/SkyLightStorage;method_31931(JZ)I
-
onLoadSection
protected void onLoadSection(long sectionPos)
- 覆盖:
onLoadSection在类中LightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official kLddi;k(J)Vintermediary method_15523Lnet/minecraft/class_3560;method_15523(J)Vnamed onLoadSectionLnet/minecraft/world/chunk/light/LightStorage;onLoadSection(J)V
-
enqueueRemoveSection
private void enqueueRemoveSection(long sectionPos)
- Mappings:
Namespace Name Mixin selector official oLddm;o(J)Vintermediary method_20809Lnet/minecraft/class_3569;method_20809(J)Vnamed enqueueRemoveSectionLnet/minecraft/world/chunk/light/SkyLightStorage;enqueueRemoveSection(J)V
-
enqueueAddSection
private void enqueueAddSection(long sectionPos)
- Mappings:
Namespace Name Mixin selector official pLddm;p(J)Vintermediary method_20810Lnet/minecraft/class_3569;method_20810(J)Vnamed enqueueAddSectionLnet/minecraft/world/chunk/light/SkyLightStorage;enqueueAddSection(J)V
-
checkForUpdates
private void checkForUpdates()
- Mappings:
Namespace Name Mixin selector official fLddm;f()Vintermediary method_15569Lnet/minecraft/class_3569;method_15569()Vnamed checkForUpdatesLnet/minecraft/world/chunk/light/SkyLightStorage;checkForUpdates()V
-
onUnloadSection
protected void onUnloadSection(long sectionPos)
- 覆盖:
onUnloadSection在类中LightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official lLddi;l(J)Vintermediary method_15534Lnet/minecraft/class_3560;method_15534(J)Vnamed onUnloadSectionLnet/minecraft/world/chunk/light/LightStorage;onUnloadSection(J)V
-
setColumnEnabled
protected void setColumnEnabled(long columnPos, boolean enabled)- 覆盖:
setColumnEnabled在类中LightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official bLddi;b(JZ)Vintermediary method_15535Lnet/minecraft/class_3560;method_15535(JZ)Vnamed setColumnEnabledLnet/minecraft/world/chunk/light/LightStorage;setColumnEnabled(JZ)V
-
hasLightUpdates
protected boolean hasLightUpdates()
- 覆盖:
hasLightUpdates在类中LightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official aLddi;a()Zintermediary method_15528Lnet/minecraft/class_3560;method_15528()Znamed hasLightUpdatesLnet/minecraft/world/chunk/light/LightStorage;hasLightUpdates()Z
-
createSection
protected ChunkNibbleArray createSection(long sectionPos)
- 覆盖:
createSection在类中LightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official jLddi;j(J)Lclp;intermediary method_15529Lnet/minecraft/class_3560;method_15529(J)Lnet/minecraft/class_2804;named createSectionLnet/minecraft/world/chunk/light/LightStorage;createSection(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
updateLight
protected void updateLight(ChunkLightProvider<SkyLightStorage.Data,?> lightProvider, boolean doSkylight, boolean skipEdgeLightPropagation)
- 覆盖:
updateLight在类中LightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official aLddi;a(Lddg;ZZ)Vintermediary method_15527Lnet/minecraft/class_3560;method_15527(Lnet/minecraft/class_3558;ZZ)Vnamed updateLightLnet/minecraft/world/chunk/light/LightStorage;updateLight(Lnet/minecraft/world/chunk/light/ChunkLightProvider;ZZ)V
-
isAboveMinHeight
protected boolean isAboveMinHeight(int sectionY)
- Mappings:
Namespace Name Mixin selector official aLddm;a(I)Zintermediary method_15567Lnet/minecraft/class_3569;method_15567(I)Znamed isAboveMinHeightLnet/minecraft/world/chunk/light/SkyLightStorage;isAboveMinHeight(I)Z
-
isAtOrAboveTopmostSection
protected boolean isAtOrAboveTopmostSection(long sectionPos)
- Mappings:
Namespace Name Mixin selector official mLddm;m(J)Zintermediary method_15568Lnet/minecraft/class_3569;method_15568(J)Znamed isAtOrAboveTopmostSectionLnet/minecraft/world/chunk/light/SkyLightStorage;isAtOrAboveTopmostSection(J)Z
-
isSectionEnabled
protected boolean isSectionEnabled(long sectionPos)
- Mappings:
Namespace Name Mixin selector official nLddm;n(J)Zintermediary method_15566Lnet/minecraft/class_3569;method_15566(J)Znamed isSectionEnabledLnet/minecraft/world/chunk/light/SkyLightStorage;isSectionEnabled(J)Z
-
-