枚举 ChunkLightingView.Empty

    • 枚举常量详细资料

      • INSTANCE

        public static final ChunkLightingView.Empty INSTANCE
        Mappings:
        Namespace Name Mixin selector
        official a Lddh$a;a:Lddh$a;
        intermediary field_15812 Lnet/minecraft/class_3562$class_3563;field_15812:Lnet/minecraft/class_3562$class_3563;
        named INSTANCE Lnet/minecraft/world/chunk/light/ChunkLightingView$Empty;INSTANCE:Lnet/minecraft/world/chunk/light/ChunkLightingView$Empty;
    • 构造器详细资料

      • Empty

        private Empty()
    • 方法详细资料

      • values

        public static ChunkLightingView.Empty[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (ChunkLightingView.Empty c : ChunkLightingView.Empty.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static ChunkLightingView.Empty valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值
      • getLightSection

        @Nullable
        public @Nullable ChunkNibbleArray getLightSection​(ChunkSectionPos pos)
        指定者:
        getLightSection 在接口中 ChunkLightingView
        Mappings:
        Namespace Name Mixin selector
        official a Lddh;a(Lgu;)Lclp;
        intermediary method_15544 Lnet/minecraft/class_3562;method_15544(Lnet/minecraft/class_4076;)Lnet/minecraft/class_2804;
        named getLightSection Lnet/minecraft/world/chunk/light/ChunkLightingView;getLightSection(Lnet/minecraft/util/math/ChunkSectionPos;)Lnet/minecraft/world/chunk/ChunkNibbleArray;
      • getLightLevel

        public int getLightLevel​(BlockPos pos)
        指定者:
        getLightLevel 在接口中 ChunkLightingView
        Mappings:
        Namespace Name Mixin selector
        official b Lddh;b(Lgb;)I
        intermediary method_15543 Lnet/minecraft/class_3562;method_15543(Lnet/minecraft/class_2338;)I
        named getLightLevel Lnet/minecraft/world/chunk/light/ChunkLightingView;getLightLevel(Lnet/minecraft/util/math/BlockPos;)I
      • checkBlock

        public void checkBlock​(BlockPos pos)
        指定者:
        checkBlock 在接口中 LightingView
        Mappings:
        Namespace Name Mixin selector
        official a Lddk;a(Lgb;)V
        intermediary method_15513 Lnet/minecraft/class_3565;method_15513(Lnet/minecraft/class_2338;)V
        named checkBlock Lnet/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 a Lddk;a(Lgb;I)V
        intermediary method_15514 Lnet/minecraft/class_3565;method_15514(Lnet/minecraft/class_2338;I)V
        named addLightSource Lnet/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 a Lddk;a()Z
        intermediary method_15518 Lnet/minecraft/class_3565;method_15518()Z
        named hasUpdates Lnet/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 a Lddk;a(IZZ)I
        intermediary method_15516 Lnet/minecraft/class_3565;method_15516(IZZ)I
        named doLightUpdates Lnet/minecraft/world/chunk/light/LightingView;doLightUpdates(IZZ)I
      • setSectionStatus

        public void setSectionStatus​(ChunkSectionPos pos,
                                     boolean notReady)
        指定者:
        setSectionStatus 在接口中 LightingView
        Mappings:
        Namespace Name Mixin selector
        official a Lddk;a(Lgu;Z)V
        intermediary method_15551 Lnet/minecraft/class_3565;method_15551(Lnet/minecraft/class_4076;Z)V
        named setSectionStatus Lnet/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 a Lddk;a(Lbuw;Z)V
        intermediary method_15512 Lnet/minecraft/class_3565;method_15512(Lnet/minecraft/class_1923;Z)V
        named setColumnEnabled Lnet/minecraft/world/chunk/light/LightingView;setColumnEnabled(Lnet/minecraft/util/math/ChunkPos;Z)V