类 ChunkBlockLightProvider

    • 字段详细资料

      • DIRECTIONS

        private static final Direction[] DIRECTIONS
        Mappings:
        Namespace Name Mixin selector
        official f Lddb;f:[Lgg;
        intermediary field_15778 Lnet/minecraft/class_3552;field_15778:[Lnet/minecraft/class_2350;
        named DIRECTIONS Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
      • mutablePos

        private final BlockPos.Mutable mutablePos
        Mappings:
        Namespace Name Mixin selector
        official g Lddb;g:Lgb$a;
        intermediary field_16511 Lnet/minecraft/class_3552;field_16511:Lnet/minecraft/class_2338$class_2339;
        named mutablePos Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;mutablePos:Lnet/minecraft/util/math/BlockPos$Mutable;
    • 构造器详细资料

      • ChunkBlockLightProvider

        public ChunkBlockLightProvider​(ChunkProvider chunkProvider)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lddb;<init>(Lclx;)V
        intermediary <init> Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;)V
        named <init> Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
    • 方法详细资料

      • getLightSourceLuminance

        private int getLightSourceLuminance​(long blockPos)
        Mappings:
        Namespace Name Mixin selector
        official d Lddb;d(J)I
        intermediary method_15474 Lnet/minecraft/class_3552;method_15474(J)I
        named getLightSourceLuminance Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;getLightSourceLuminance(J)I
      • getPropagatedLevel

        protected int getPropagatedLevel​(long sourceId,
                                         long targetId,
                                         int level)
        覆盖:
        getPropagatedLevel 在类中 ChunkLightProvider<BlockLightStorage.Data,​BlockLightStorage>
        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
      • propagateLevel

        protected void propagateLevel​(long id,
                                      int level,
                                      boolean decrease)
        指定者:
        propagateLevel 在类中 LevelPropagator
        Mappings:
        Namespace Name Mixin selector
        official a Ldde;a(JIZ)V
        intermediary method_15487 Lnet/minecraft/class_3554;method_15487(JIZ)V
        named propagateLevel Lnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)V
      • recalculateLevel

        protected int recalculateLevel​(long id,
                                       long excludedId,
                                       int maxLevel)
        覆盖:
        recalculateLevel 在类中 ChunkLightProvider<BlockLightStorage.Data,​BlockLightStorage>
        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