类 ChunkLightProvider<M extends ChunkToNibbleArrayMap<M>,​S extends LightStorage<M>>

    • 字段详细资料

      • field_31708

        public static final long field_31708
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lddg;a:J
        intermediary field_31708 Lnet/minecraft/class_3558;field_31708:J
        named field_31708 Lnet/minecraft/world/chunk/light/ChunkLightProvider;field_31708:J
      • DIRECTIONS

        private static final Direction[] DIRECTIONS
        Mappings:
        Namespace Name Mixin selector
        official f Lddg;f:[Lgg;
        intermediary field_16513 Lnet/minecraft/class_3558;field_16513:[Lnet/minecraft/class_2350;
        named DIRECTIONS Lnet/minecraft/world/chunk/light/ChunkLightProvider;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
      • field_31709

        private static final int field_31709
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official h Lddg;h:I
        intermediary field_31709 Lnet/minecraft/class_3558;field_31709:I
        named field_31709 Lnet/minecraft/world/chunk/light/ChunkLightProvider;field_31709:I
      • chunkProvider

        protected final ChunkProvider chunkProvider
        Mappings:
        Namespace Name Mixin selector
        official b Lddg;b:Lclx;
        intermediary field_15795 Lnet/minecraft/class_3558;field_15795:Lnet/minecraft/class_2823;
        named chunkProvider Lnet/minecraft/world/chunk/light/ChunkLightProvider;chunkProvider:Lnet/minecraft/world/chunk/ChunkProvider;
      • type

        protected final LightType type
        Mappings:
        Namespace Name Mixin selector
        official c Lddg;c:Lbwa;
        intermediary field_15792 Lnet/minecraft/class_3558;field_15792:Lnet/minecraft/class_1944;
        named type Lnet/minecraft/world/chunk/light/ChunkLightProvider;type:Lnet/minecraft/world/LightType;
      • lightStorage

        protected final S extends LightStorage<M> lightStorage
        Mappings:
        Namespace Name Mixin selector
        official d Lddg;d:Lddi;
        intermediary field_15793 Lnet/minecraft/class_3558;field_15793:Lnet/minecraft/class_3560;
        named lightStorage Lnet/minecraft/world/chunk/light/ChunkLightProvider;lightStorage:Lnet/minecraft/world/chunk/light/LightStorage;
      • field_15794

        private boolean field_15794
        Mappings:
        Namespace Name Mixin selector
        official g Lddg;g:Z
        intermediary field_15794 Lnet/minecraft/class_3558;field_15794:Z
        named field_15794 Lnet/minecraft/world/chunk/light/ChunkLightProvider;field_15794:Z
      • reusableBlockPos

        protected final BlockPos.Mutable reusableBlockPos
        Mappings:
        Namespace Name Mixin selector
        official e Lddg;e:Lgb$a;
        intermediary field_19284 Lnet/minecraft/class_3558;field_19284:Lnet/minecraft/class_2338$class_2339;
        named reusableBlockPos Lnet/minecraft/world/chunk/light/ChunkLightProvider;reusableBlockPos:Lnet/minecraft/util/math/BlockPos$Mutable;
      • cachedChunkPositions

        private final long[] cachedChunkPositions
        Mappings:
        Namespace Name Mixin selector
        official i Lddg;i:[J
        intermediary field_17397 Lnet/minecraft/class_3558;field_17397:[J
        named cachedChunkPositions Lnet/minecraft/world/chunk/light/ChunkLightProvider;cachedChunkPositions:[J
      • cachedChunks

        private final BlockView[] cachedChunks
        Mappings:
        Namespace Name Mixin selector
        official j Lddg;j:[Lbuv;
        intermediary field_17398 Lnet/minecraft/class_3558;field_17398:[Lnet/minecraft/class_1922;
        named cachedChunks Lnet/minecraft/world/chunk/light/ChunkLightProvider;cachedChunks:[Lnet/minecraft/world/BlockView;
    • 构造器详细资料

      • ChunkLightProvider

        public ChunkLightProvider​(ChunkProvider chunkProvider,
                                  LightType type,
                                  S lightStorage)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lddg;<init>(Lclx;Lbwa;Lddi;)V
        intermediary <init> Lnet/minecraft/class_3558;<init>(Lnet/minecraft/class_2823;Lnet/minecraft/class_1944;Lnet/minecraft/class_3560;)V
        named <init> Lnet/minecraft/world/chunk/light/ChunkLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/LightType;Lnet/minecraft/world/chunk/light/LightStorage;)V
    • 方法详细资料

      • resetLevel

        protected void resetLevel​(long id)
        覆盖:
        resetLevel 在类中 LevelPropagator
        Mappings:
        Namespace Name Mixin selector
        official f Ldde;f(J)V
        intermediary method_15491 Lnet/minecraft/class_3554;method_15491(J)V
        named resetLevel Lnet/minecraft/world/chunk/light/LevelPropagator;resetLevel(J)V
      • getChunk

        @Nullable
        private @Nullable BlockView getChunk​(int chunkX,
                                             int chunkZ)
        Mappings:
        Namespace Name Mixin selector
        official a Lddg;a(II)Lbuv;
        intermediary method_17529 Lnet/minecraft/class_3558;method_17529(II)Lnet/minecraft/class_1922;
        named getChunk Lnet/minecraft/world/chunk/light/ChunkLightProvider;getChunk(II)Lnet/minecraft/world/BlockView;
      • clearChunkCache

        private void clearChunkCache()
        Mappings:
        Namespace Name Mixin selector
        official d Lddg;d()V
        intermediary method_17530 Lnet/minecraft/class_3558;method_17530()V
        named clearChunkCache Lnet/minecraft/world/chunk/light/ChunkLightProvider;clearChunkCache()V
      • getStateForLighting

        protected BlockState getStateForLighting​(long pos,
                                                 @Nullable
                                                 @Nullable MutableInt mutableInt)
        Mappings:
        Namespace Name Mixin selector
        official a Lddg;a(JLorg/apache/commons/lang3/mutable/MutableInt;)Lcjr;
        intermediary method_20479 Lnet/minecraft/class_3558;method_20479(JLorg/apache/commons/lang3/mutable/MutableInt;)Lnet/minecraft/class_2680;
        named getStateForLighting Lnet/minecraft/world/chunk/light/ChunkLightProvider;getStateForLighting(JLorg/apache/commons/lang3/mutable/MutableInt;)Lnet/minecraft/block/BlockState;
      • getOpaqueShape

        protected VoxelShape getOpaqueShape​(BlockState world,
                                            long pos,
                                            Direction facing)
        Mappings:
        Namespace Name Mixin selector
        official a Lddg;a(Lcjr;JLgg;)Ldmt;
        intermediary method_20710 Lnet/minecraft/class_3558;method_20710(Lnet/minecraft/class_2680;JLnet/minecraft/class_2350;)Lnet/minecraft/class_265;
        named getOpaqueShape Lnet/minecraft/world/chunk/light/ChunkLightProvider;getOpaqueShape(Lnet/minecraft/block/BlockState;JLnet/minecraft/util/math/Direction;)Lnet/minecraft/util/shape/VoxelShape;
      • getRealisticOpacity

        public static int getRealisticOpacity​(BlockView world,
                                              BlockState state1,
                                              BlockPos pos1,
                                              BlockState state2,
                                              BlockPos pos2,
                                              Direction direction,
                                              int opacity2)
        Mappings:
        Namespace Name Mixin selector
        official a Lddg;a(Lbuv;Lcjr;Lgb;Lcjr;Lgb;Lgg;I)I
        intermediary method_20049 Lnet/minecraft/class_3558;method_20049(Lnet/minecraft/class_1922;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;I)I
        named getRealisticOpacity Lnet/minecraft/world/chunk/light/ChunkLightProvider;getRealisticOpacity(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;I)I
      • isMarker

        protected boolean isMarker​(long id)
        指定者:
        isMarker 在类中 LevelPropagator
        Mappings:
        Namespace Name Mixin selector
        official a Ldde;a(J)Z
        intermediary method_15494 Lnet/minecraft/class_3554;method_15494(J)Z
        named isMarker Lnet/minecraft/world/chunk/light/LevelPropagator;isMarker(J)Z
      • recalculateLevel

        protected int recalculateLevel​(long id,
                                       long excludedId,
                                       int maxLevel)
        指定者:
        recalculateLevel 在类中 LevelPropagator
        Mappings:
        Namespace Name Mixin selector
        official a Ldde;a(JJI)I
        intermediary method_15486 Lnet/minecraft/class_3554;method_15486(JJI)I
        named recalculateLevel Lnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)I
      • getLevel

        protected int getLevel​(long id)
        指定者:
        getLevel 在类中 LevelPropagator
        Mappings:
        Namespace Name Mixin selector
        official c Ldde;c(J)I
        intermediary method_15480 Lnet/minecraft/class_3554;method_15480(J)I
        named getLevel Lnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)I
      • getCurrentLevelFromSection

        protected int getCurrentLevelFromSection​(ChunkNibbleArray section,
                                                 long blockPos)
        Mappings:
        Namespace Name Mixin selector
        official a Lddg;a(Lclp;J)I
        intermediary method_15517 Lnet/minecraft/class_3558;method_15517(Lnet/minecraft/class_2804;J)I
        named getCurrentLevelFromSection Lnet/minecraft/world/chunk/light/ChunkLightProvider;getCurrentLevelFromSection(Lnet/minecraft/world/chunk/ChunkNibbleArray;J)I
      • setLevel

        protected void setLevel​(long id,
                                int level)
        指定者:
        setLevel 在类中 LevelPropagator
        Mappings:
        Namespace Name Mixin selector
        official a Ldde;a(JI)V
        intermediary method_15485 Lnet/minecraft/class_3554;method_15485(JI)V
        named setLevel Lnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)V
      • getPropagatedLevel

        protected int getPropagatedLevel​(long sourceId,
                                         long targetId,
                                         int level)
        指定者:
        getPropagatedLevel 在类中 LevelPropagator
        Mappings:
        Namespace Name Mixin selector
        official b Ldde;b(JJI)I
        intermediary method_15488 Lnet/minecraft/class_3554;method_15488(JJI)I
        named getPropagatedLevel Lnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)I
      • 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
      • enqueueSectionData

        protected void enqueueSectionData​(long sectionPos,
                                          @Nullable
                                          @Nullable ChunkNibbleArray lightArray,
                                          boolean bool)
        Mappings:
        Namespace Name Mixin selector
        official a Lddg;a(JLclp;Z)V
        intermediary method_15515 Lnet/minecraft/class_3558;method_15515(JLnet/minecraft/class_2804;Z)V
        named enqueueSectionData Lnet/minecraft/world/chunk/light/ChunkLightProvider;enqueueSectionData(JLnet/minecraft/world/chunk/ChunkNibbleArray;Z)V
      • 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
      • displaySectionLevel

        public String displaySectionLevel​(long sectionPos)
        Mappings:
        Namespace Name Mixin selector
        official b Lddg;b(J)Ljava/lang/String;
        intermediary method_22875 Lnet/minecraft/class_3558;method_22875(J)Ljava/lang/String;
        named displaySectionLevel Lnet/minecraft/world/chunk/light/ChunkLightProvider;displaySectionLevel(J)Ljava/lang/String;
      • 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
      • 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
      • setRetainColumn

        public void setRetainColumn​(ChunkPos pos,
                                    boolean retainData)
        Mappings:
        Namespace Name Mixin selector
        official b Lddg;b(Lbuw;Z)V
        intermediary method_20599 Lnet/minecraft/class_3558;method_20599(Lnet/minecraft/class_1923;Z)V
        named setRetainColumn Lnet/minecraft/world/chunk/light/ChunkLightProvider;setRetainColumn(Lnet/minecraft/util/math/ChunkPos;Z)V