接口 BlockRenderView

    • 方法详细资料

      • getBrightness

        float getBrightness​(Direction direction,
                            boolean shaded)
        Mappings:
        Namespace Name Mixin selector
        official a Lbut;a(Lgg;Z)F
        intermediary method_24852 Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
        named getBrightness Lnet/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_22336 Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
        named getLightingProvider Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
      • getColor

        int getColor​(BlockPos pos,
                     ColorResolver colorResolver)
        Mappings:
        Namespace Name Mixin selector
        official a Lbut;a(Lgb;Lnet/minecraft/world/level/ColorResolver;)I
        intermediary method_23752 Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/world/level/ColorResolver;)I
        named getColor Lnet/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 a Lbut;a(Lbwa;Lgb;)I
        intermediary method_8314 Lnet/minecraft/class_1920;method_8314(Lnet/minecraft/class_1944;Lnet/minecraft/class_2338;)I
        named getLightLevel Lnet/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 b Lbut;b(Lgb;I)I
        intermediary method_22335 Lnet/minecraft/class_1920;method_22335(Lnet/minecraft/class_2338;I)I
        named getBaseLightLevel Lnet/minecraft/world/BlockRenderView;getBaseLightLevel(Lnet/minecraft/util/math/BlockPos;I)I
      • isSkyVisible

        default boolean isSkyVisible​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official e Lbut;e(Lgb;)Z
        intermediary method_8311 Lnet/minecraft/class_1920;method_8311(Lnet/minecraft/class_2338;)Z
        named isSkyVisible Lnet/minecraft/world/BlockRenderView;isSkyVisible(Lnet/minecraft/util/math/BlockPos;)Z