类 LightingProvider

  • 所有已实现的接口:
    LightingView
    直接已知子类:
    ServerLightingProvider

    public class LightingProvider
    extends Object
    implements LightingView
    Mappings:
    Namespace Name
    official ddj
    intermediary net/minecraft/class_3568
    named net/minecraft/world/chunk/light/LightingProvider
    • 字段详细资料

      • field_31713

        public static final int field_31713
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lddj;a:I
        intermediary field_31713 Lnet/minecraft/class_3568;field_31713:I
        named field_31713 Lnet/minecraft/world/chunk/light/LightingProvider;field_31713:I
      • field_31714

        public static final int field_31714
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lddj;b:I
        intermediary field_31714 Lnet/minecraft/class_3568;field_31714:I
        named field_31714 Lnet/minecraft/world/chunk/light/LightingProvider;field_31714:I
      • world

        protected final HeightLimitView world
        Mappings:
        Namespace Name Mixin selector
        official c Lddj;c:Lbvt;
        intermediary field_27339 Lnet/minecraft/class_3568;field_27339:Lnet/minecraft/class_5539;
        named world Lnet/minecraft/world/chunk/light/LightingProvider;world:Lnet/minecraft/world/HeightLimitView;
      • blockLightProvider

        @Nullable
        private final @Nullable ChunkLightProvider<?,​?> blockLightProvider
        Mappings:
        Namespace Name Mixin selector
        official d Lddj;d:Lddg;
        intermediary field_15814 Lnet/minecraft/class_3568;field_15814:Lnet/minecraft/class_3558;
        named blockLightProvider Lnet/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 e Lddj;e:Lddg;
        intermediary field_15813 Lnet/minecraft/class_3568;field_15813:Lnet/minecraft/class_3558;
        named skyLightProvider Lnet/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)V
        intermediary <init> Lnet/minecraft/class_3568;<init>(Lnet/minecraft/class_2823;ZZ)V
        named <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 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
      • get

        public ChunkLightingView get​(LightType lightType)
        Mappings:
        Namespace Name Mixin selector
        official a Lddj;a(Lbwa;)Lddh;
        intermediary method_15562 Lnet/minecraft/class_3568;method_15562(Lnet/minecraft/class_1944;)Lnet/minecraft/class_3562;
        named get Lnet/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 a Lddj;a(Lbwa;Lgu;)Ljava/lang/String;
        intermediary method_22876 Lnet/minecraft/class_3568;method_22876(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;)Ljava/lang/String;
        named displaySectionLevel Lnet/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 a Lddj;a(Lbwa;Lgu;Lclp;Z)V
        intermediary method_15558 Lnet/minecraft/class_3568;method_15558(Lnet/minecraft/class_1944;Lnet/minecraft/class_4076;Lnet/minecraft/class_2804;Z)V
        named enqueueSectionData Lnet/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 b Lddj;b(Lbuw;Z)V
        intermediary method_20601 Lnet/minecraft/class_3568;method_20601(Lnet/minecraft/class_1923;Z)V
        named setRetainData Lnet/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 b Lddj;b(Lgb;I)I
        intermediary method_22363 Lnet/minecraft/class_3568;method_22363(Lnet/minecraft/class_2338;I)I
        named getLight Lnet/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 b Lddj;b()I
        intermediary method_31928 Lnet/minecraft/class_3568;method_31928()I
        named method_31928 Lnet/minecraft/world/chunk/light/LightingProvider;method_31928()I
      • method_31929

        public int method_31929()
        Mappings:
        Namespace Name Mixin selector
        official c Lddj;c()I
        intermediary method_31929 Lnet/minecraft/class_3568;method_31929()I
        named method_31929 Lnet/minecraft/world/chunk/light/LightingProvider;method_31929()I
      • method_31930

        public int method_31930()
        Mappings:
        Namespace Name Mixin selector
        official d Lddj;d()I
        intermediary method_31930 Lnet/minecraft/class_3568;method_31930()I
        named method_31930 Lnet/minecraft/world/chunk/light/LightingProvider;method_31930()I