类 ChunkBlockLightProvider
- java.lang.Object
-
- net.minecraft.world.chunk.light.LevelPropagator
-
- net.minecraft.world.chunk.light.ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
-
- net.minecraft.world.chunk.light.ChunkBlockLightProvider
-
- 所有已实现的接口:
ChunkLightingView,LightingView
public final class ChunkBlockLightProvider extends ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
- Mappings:
Namespace Name official ddbintermediary net/minecraft/class_3552named net/minecraft/world/chunk/light/ChunkBlockLightProvider
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.world.chunk.light.ChunkLightingView
ChunkLightingView.Empty
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Direction[]DIRECTIONSprivate BlockPos.MutablemutablePos-
从类继承的字段 net.minecraft.world.chunk.light.ChunkLightProvider
chunkProvider, field_31708, lightStorage, reusableBlockPos, type
-
-
构造器概要
构造器 构造器 说明 ChunkBlockLightProvider(ChunkProvider chunkProvider)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddLightSource(BlockPos pos, int int2)private intgetLightSourceLuminance(long blockPos)protected intgetPropagatedLevel(long sourceId, long targetId, int level)protected voidpropagateLevel(long id, int level, boolean decrease)protected intrecalculateLevel(long id, long excludedId, int maxLevel)-
从类继承的方法 net.minecraft.world.chunk.light.ChunkLightProvider
checkBlock, displaySectionLevel, doLightUpdates, enqueueSectionData, getCurrentLevelFromSection, getLevel, getLightLevel, getLightSection, getOpaqueShape, getRealisticOpacity, getStateForLighting, hasUpdates, isMarker, resetLevel, setColumnEnabled, setLevel, setRetainColumn, setSectionStatus
-
从类继承的方法 net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, updateLevel
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.chunk.light.LightingView
setSectionStatus
-
-
-
-
字段详细资料
-
DIRECTIONS
private static final Direction[] DIRECTIONS
- Mappings:
Namespace Name Mixin selector official fLddb;f:[Lgg;intermediary field_15778Lnet/minecraft/class_3552;field_15778:[Lnet/minecraft/class_2350;named DIRECTIONSLnet/minecraft/world/chunk/light/ChunkBlockLightProvider;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
mutablePos
private final BlockPos.Mutable mutablePos
- Mappings:
Namespace Name Mixin selector official gLddb;g:Lgb$a;intermediary field_16511Lnet/minecraft/class_3552;field_16511:Lnet/minecraft/class_2338$class_2339;named mutablePosLnet/minecraft/world/chunk/light/ChunkBlockLightProvider;mutablePos:Lnet/minecraft/util/math/BlockPos$Mutable;
-
-
构造器详细资料
-
ChunkBlockLightProvider
public ChunkBlockLightProvider(ChunkProvider chunkProvider)
- Mappings:
Namespace Name Mixin selector official <init>Lddb;<init>(Lclx;)Vintermediary <init>Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;)Vnamed <init>Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
-
-
方法详细资料
-
getLightSourceLuminance
private int getLightSourceLuminance(long blockPos)
- Mappings:
Namespace Name Mixin selector official dLddb;d(J)Iintermediary method_15474Lnet/minecraft/class_3552;method_15474(J)Inamed getLightSourceLuminanceLnet/minecraft/world/chunk/light/ChunkBlockLightProvider;getLightSourceLuminance(J)I
-
getPropagatedLevel
protected int getPropagatedLevel(long sourceId, long targetId, int level)- 覆盖:
getPropagatedLevel在类中ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>- Mappings:
Namespace Name Mixin selector official bLdde;b(JJI)Iintermediary method_15488Lnet/minecraft/class_3554;method_15488(JJI)Inamed getPropagatedLevelLnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)I
-
propagateLevel
protected void propagateLevel(long id, int level, boolean decrease)- 指定者:
propagateLevel在类中LevelPropagator- Mappings:
Namespace Name Mixin selector official aLdde;a(JIZ)Vintermediary method_15487Lnet/minecraft/class_3554;method_15487(JIZ)Vnamed propagateLevelLnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)V
-
recalculateLevel
protected int recalculateLevel(long id, long excludedId, int maxLevel)- 覆盖:
recalculateLevel在类中ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>- Mappings:
Namespace Name Mixin selector official aLdde;a(JJI)Iintermediary method_15486Lnet/minecraft/class_3554;method_15486(JJI)Inamed recalculateLevelLnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)I
-
addLightSource
public void addLightSource(BlockPos pos, int int2)
- 指定者:
addLightSource在接口中LightingView- 覆盖:
addLightSource在类中ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>- 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
-
-