接口 BlockRenderView
-
- 所有超级接口:
BlockView,HeightLimitView
- 所有已知子接口:
LunarWorldView,RegistryWorldView,ServerWorldAccess,StructureWorldAccess,WorldAccess,WorldView
- 所有已知实现类:
ChunkRegion,ChunkRendererRegion,ClientWorld,ServerWorld,World
public interface BlockRenderView extends BlockView
- Mappings:
Namespace Name official butintermediary net/minecraft/class_1920named net/minecraft/world/BlockRenderView
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default intgetBaseLightLevel(BlockPos pos, int ambientDarkness)floatgetBrightness(Direction direction, boolean shaded)intgetColor(BlockPos pos, ColorResolver colorResolver)LightingProvidergetLightingProvider()default intgetLightLevel(LightType type, BlockPos pos)default booleanisSkyVisible(BlockPos pos)-
从接口继承的方法 net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getBottomY, getHeight, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
-
-
-
方法详细资料
-
getBrightness
float getBrightness(Direction direction, boolean shaded)
- Mappings:
Namespace Name Mixin selector official aLbut;a(Lgg;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fnamed getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
-
getLightingProvider
LightingProvider getLightingProvider()
- Mappings:
Namespace Name Mixin selector official t_Lbut;t_()Lddj;intermediary method_22336Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;named getLightingProviderLnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
-
getColor
int getColor(BlockPos pos, ColorResolver colorResolver)
- Mappings:
Namespace Name Mixin selector official aLbut;a(Lgb;Lnet/minecraft/world/level/ColorResolver;)Iintermediary method_23752Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/world/level/ColorResolver;)Inamed getColorLnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I
-
getLightLevel
default int getLightLevel(LightType type, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbut;a(Lbwa;Lgb;)Iintermediary method_8314Lnet/minecraft/class_1920;method_8314(Lnet/minecraft/class_1944;Lnet/minecraft/class_2338;)Inamed getLightLevelLnet/minecraft/world/BlockRenderView;getLightLevel(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
-
getBaseLightLevel
default int getBaseLightLevel(BlockPos pos, int ambientDarkness)
- Mappings:
Namespace Name Mixin selector official bLbut;b(Lgb;I)Iintermediary method_22335Lnet/minecraft/class_1920;method_22335(Lnet/minecraft/class_2338;I)Inamed getBaseLightLevelLnet/minecraft/world/BlockRenderView;getBaseLightLevel(Lnet/minecraft/util/math/BlockPos;I)I
-
isSkyVisible
default boolean isSkyVisible(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official eLbut;e(Lgb;)Zintermediary method_8311Lnet/minecraft/class_1920;method_8311(Lnet/minecraft/class_2338;)Znamed isSkyVisibleLnet/minecraft/world/BlockRenderView;isSkyVisible(Lnet/minecraft/util/math/BlockPos;)Z
-
-