类 LightingProvider
- java.lang.Object
-
- net.minecraft.world.chunk.light.LightingProvider
-
- 所有已实现的接口:
LightingView
- 直接已知子类:
ServerLightingProvider
public class LightingProvider extends Object implements LightingView
- Mappings:
Namespace Name official ddjintermediary net/minecraft/class_3568named net/minecraft/world/chunk/light/LightingProvider
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable ChunkLightProvider<?,?>blockLightProviderstatic intfield_31713static intfield_31714private @Nullable ChunkLightProvider<?,?>skyLightProviderprotected HeightLimitViewworld
-
构造器概要
构造器 构造器 说明 LightingProvider(ChunkProvider chunkProvider, boolean hasBlockLight, boolean hasSkyLight)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddLightSource(BlockPos pos, int int2)voidcheckBlock(BlockPos pos)StringdisplaySectionLevel(LightType lightType, ChunkSectionPos chunkSectionPos)intdoLightUpdates(int int2, boolean bool, boolean bool2)voidenqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles, boolean bool)ChunkLightingViewget(LightType lightType)intgetLight(BlockPos pos, int ambientDarkness)booleanhasUpdates()intmethod_31928()intmethod_31929()intmethod_31930()voidsetColumnEnabled(ChunkPos chunkPos, boolean bool)voidsetRetainData(ChunkPos pos, boolean retainData)voidsetSectionStatus(ChunkSectionPos pos, boolean notReady)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.chunk.light.LightingView
setSectionStatus
-
-
-
-
字段详细资料
-
field_31713
public static final int field_31713
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLddj;a:Iintermediary field_31713Lnet/minecraft/class_3568;field_31713:Inamed field_31713Lnet/minecraft/world/chunk/light/LightingProvider;field_31713:I
-
field_31714
public static final int field_31714
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLddj;b:Iintermediary field_31714Lnet/minecraft/class_3568;field_31714:Inamed field_31714Lnet/minecraft/world/chunk/light/LightingProvider;field_31714:I
-
world
protected final HeightLimitView world
- Mappings:
Namespace Name Mixin selector official cLddj;c:Lbvt;intermediary field_27339Lnet/minecraft/class_3568;field_27339:Lnet/minecraft/class_5539;named worldLnet/minecraft/world/chunk/light/LightingProvider;world:Lnet/minecraft/world/HeightLimitView;
-
blockLightProvider
@Nullable private final @Nullable ChunkLightProvider<?,?> blockLightProvider
- Mappings:
Namespace Name Mixin selector official dLddj;d:Lddg;intermediary field_15814Lnet/minecraft/class_3568;field_15814:Lnet/minecraft/class_3558;named blockLightProviderLnet/minecraft/world/chunk/light/LightingProvider;blockLightProvider:Lnet/minecraft/world/chunk/light/ChunkLightProvider;
-
skyLightProvider
@Nullable private final @Nullable ChunkLightProvider<?,?> skyLightProvider
- Mappings:
Namespace Name Mixin selector official eLddj;e:Lddg;intermediary field_15813Lnet/minecraft/class_3568;field_15813:Lnet/minecraft/class_3558;named skyLightProviderLnet/minecraft/world/chunk/light/LightingProvider;skyLightProvider:Lnet/minecraft/world/chunk/light/ChunkLightProvider;
-
-
构造器详细资料
-
LightingProvider
public LightingProvider(ChunkProvider chunkProvider, boolean hasBlockLight, boolean hasSkyLight)
- Mappings:
Namespace Name Mixin selector official <init>Lddj;<init>(Lclx;ZZ)Vintermediary <init>Lnet/minecraft/class_3568;<init>(Lnet/minecraft/class_2823;ZZ)Vnamed <init>Lnet/minecraft/world/chunk/light/LightingProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;ZZ)V
-
-
方法详细资料
-
checkBlock
public void checkBlock(BlockPos pos)
- 指定者:
checkBlock在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(Lgb;)Vintermediary method_15513Lnet/minecraft/class_3565;method_15513(Lnet/minecraft/class_2338;)Vnamed checkBlockLnet/minecraft/world/chunk/light/LightingView;checkBlock(Lnet/minecraft/util/math/BlockPos;)V
-
addLightSource
public void addLightSource(BlockPos pos, int int2)
- 指定者:
addLightSource在接口中LightingView- 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
-
hasUpdates
public boolean hasUpdates()
- 指定者:
hasUpdates在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a()Zintermediary method_15518Lnet/minecraft/class_3565;method_15518()Znamed hasUpdatesLnet/minecraft/world/chunk/light/LightingView;hasUpdates()Z
-
doLightUpdates
public int doLightUpdates(int int2, boolean bool, boolean bool2)- 指定者:
doLightUpdates在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(IZZ)Iintermediary method_15516Lnet/minecraft/class_3565;method_15516(IZZ)Inamed doLightUpdatesLnet/minecraft/world/chunk/light/LightingView;doLightUpdates(IZZ)I
-
setSectionStatus
public void setSectionStatus(ChunkSectionPos pos, boolean notReady)
- 指定者:
setSectionStatus在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(Lgu;Z)Vintermediary method_15551Lnet/minecraft/class_3565;method_15551(Lnet/minecraft/class_4076;Z)Vnamed setSectionStatusLnet/minecraft/world/chunk/light/LightingView;setSectionStatus(Lnet/minecraft/util/math/ChunkSectionPos;Z)V
-
setColumnEnabled
public void setColumnEnabled(ChunkPos chunkPos, boolean bool)
- 指定者:
setColumnEnabled在接口中LightingView- Mappings:
Namespace Name Mixin selector official aLddk;a(Lbuw;Z)Vintermediary method_15512Lnet/minecraft/class_3565;method_15512(Lnet/minecraft/class_1923;Z)Vnamed setColumnEnabledLnet/minecraft/world/chunk/light/LightingView;setColumnEnabled(Lnet/minecraft/util/math/ChunkPos;Z)V
-
get
public ChunkLightingView get(LightType lightType)
- Mappings:
Namespace Name Mixin selector official aLddj;a(Lbwa;)Lddh;intermediary method_15562Lnet/minecraft/class_3568;method_15562(Lnet/minecraft/class_1944;)Lnet/minecraft/class_3562;named getLnet/minecraft/world/chunk/light/LightingProvider;get(Lnet/minecraft/world/LightType;)Lnet/minecraft/world/chunk/light/ChunkLightingView;
-
displaySectionLevel
public String displaySectionLevel(LightType lightType, ChunkSectionPos chunkSectionPos)
- Mappings:
Namespace Name Mixin selector official aLddj;a(Lbwa;Lgu;)Ljava/lang/String;intermediary method_22876Lnet/minecraft/class_3568;method_22876(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Ljava/lang/String;named displaySectionLevelLnet/minecraft/world/chunk/light/LightingProvider;displaySectionLevel(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;)Ljava/lang/String;
-
enqueueSectionData
public void enqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable @Nullable ChunkNibbleArray nibbles, boolean bool)
- Mappings:
Namespace Name Mixin selector official aLddj;a(Lbwa;Lgu;Lclp;Z)Vintermediary method_15558Lnet/minecraft/class_3568;method_15558(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;Lnet/minecraft/class_2804;Z)Vnamed enqueueSectionDataLnet/minecraft/world/chunk/light/LightingProvider;enqueueSectionData(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/chunk/ChunkNibbleArray;Z)V
-
setRetainData
public void setRetainData(ChunkPos pos, boolean retainData)
- Mappings:
Namespace Name Mixin selector official bLddj;b(Lbuw;Z)Vintermediary method_20601Lnet/minecraft/class_3568;method_20601(Lnet/minecraft/class_1923;Z)Vnamed setRetainDataLnet/minecraft/world/chunk/light/LightingProvider;setRetainData(Lnet/minecraft/util/math/ChunkPos;Z)V
-
getLight
public int getLight(BlockPos pos, int ambientDarkness)
- Mappings:
Namespace Name Mixin selector official bLddj;b(Lgb;I)Iintermediary method_22363Lnet/minecraft/class_3568;method_22363(Lnet/minecraft/class_2338;I)Inamed getLightLnet/minecraft/world/chunk/light/LightingProvider;getLight(Lnet/minecraft/util/math/BlockPos;I)I
-
method_31928
public int method_31928()
- Mappings:
Namespace Name Mixin selector official bLddj;b()Iintermediary method_31928Lnet/minecraft/class_3568;method_31928()Inamed method_31928Lnet/minecraft/world/chunk/light/LightingProvider;method_31928()I
-
method_31929
public int method_31929()
- Mappings:
Namespace Name Mixin selector official cLddj;c()Iintermediary method_31929Lnet/minecraft/class_3568;method_31929()Inamed method_31929Lnet/minecraft/world/chunk/light/LightingProvider;method_31929()I
-
method_31930
public int method_31930()
- Mappings:
Namespace Name Mixin selector official dLddj;d()Iintermediary method_31930Lnet/minecraft/class_3568;method_31930()Inamed method_31930Lnet/minecraft/world/chunk/light/LightingProvider;method_31930()I
-
-