类 AbstractRedstoneGateBlock

    • 字段详细资料

      • SHAPE

        protected static final VoxelShape SHAPE
        Mappings:
        Namespace Name Mixin selector
        official b Lcai;b:Ldmt;
        intermediary field_10912 Lnet/minecraft/class_2312;field_10912:Lnet/minecraft/class_265;
        named SHAPE Lnet/minecraft/block/AbstractRedstoneGateBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      • POWERED

        public static final BooleanProperty POWERED
        Mappings:
        Namespace Name Mixin selector
        official c Lcai;c:Lcki;
        intermediary field_10911 Lnet/minecraft/class_2312;field_10911:Lnet/minecraft/class_2746;
        named POWERED Lnet/minecraft/block/AbstractRedstoneGateBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
    • 构造器详细资料

      • AbstractRedstoneGateBlock

        protected AbstractRedstoneGateBlock​(AbstractBlock.Settings settings)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcjq;<init>(Lcjq$c;)V
        intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
        named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
    • 方法详细资料

      • getOutlineShape

        public VoxelShape getOutlineShape​(BlockState state,
                                          BlockView world,
                                          BlockPos pos,
                                          ShapeContext context)
        覆盖:
        getOutlineShape 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;
        intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
        named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
      • canPlaceAt

        public boolean canPlaceAt​(BlockState state,
                                  WorldView world,
                                  BlockPos pos)
        覆盖:
        canPlaceAt 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbvu;Lgb;)Z
        intermediary method_9558 Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
        named canPlaceAt Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
      • scheduledTick

        public void scheduledTick​(BlockState state,
                                  ServerWorld world,
                                  BlockPos pos,
                                  Random random)
        覆盖:
        scheduledTick 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a_ Lcjq;a_(Lcjr;Labj;Lgb;Ljava/util/Random;)V
        intermediary method_9588 Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
        named scheduledTick Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
      • getStrongRedstonePower

        public int getStrongRedstonePower​(BlockState state,
                                          BlockView world,
                                          BlockPos pos,
                                          Direction direction)
        覆盖:
        getStrongRedstonePower 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official b Lcjq;b(Lcjr;Lbuv;Lgb;Lgg;)I
        intermediary method_9603 Lnet/minecraft/class_4970;method_9603(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
        named getStrongRedstonePower Lnet/minecraft/block/AbstractBlock;getStrongRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
      • getWeakRedstonePower

        public int getWeakRedstonePower​(BlockState state,
                                        BlockView world,
                                        BlockPos pos,
                                        Direction direction)
        覆盖:
        getWeakRedstonePower 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbuv;Lgb;Lgg;)I
        intermediary method_9524 Lnet/minecraft/class_4970;method_9524(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
        named getWeakRedstonePower Lnet/minecraft/block/AbstractBlock;getWeakRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
      • neighborUpdate

        public void neighborUpdate​(BlockState state,
                                   World world,
                                   BlockPos pos,
                                   Block block,
                                   BlockPos fromPos,
                                   boolean notify)
        覆盖:
        neighborUpdate 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbvr;Lgb;Lbyq;Lgb;Z)V
        intermediary method_9612 Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
        named neighborUpdate Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
      • updatePowered

        protected void updatePowered​(World world,
                                     BlockPos pos,
                                     BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official c Lcai;c(Lbvr;Lgb;Lcjr;)V
        intermediary method_9998 Lnet/minecraft/class_2312;method_9998(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
        named updatePowered Lnet/minecraft/block/AbstractRedstoneGateBlock;updatePowered(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      • isLocked

        public boolean isLocked​(WorldView world,
                                BlockPos pos,
                                BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official a Lcai;a(Lbvu;Lgb;Lcjr;)Z
        intermediary method_9996 Lnet/minecraft/class_2312;method_9996(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
        named isLocked Lnet/minecraft/block/AbstractRedstoneGateBlock;isLocked(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
      • hasPower

        protected boolean hasPower​(World world,
                                   BlockPos pos,
                                   BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official a Lcai;a(Lbvr;Lgb;Lcjr;)Z
        intermediary method_9990 Lnet/minecraft/class_2312;method_9990(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
        named hasPower Lnet/minecraft/block/AbstractRedstoneGateBlock;hasPower(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
      • getPower

        protected int getPower​(World world,
                               BlockPos pos,
                               BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official b Lcai;b(Lbvr;Lgb;Lcjr;)I
        intermediary method_9991 Lnet/minecraft/class_2312;method_9991(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)I
        named getPower Lnet/minecraft/block/AbstractRedstoneGateBlock;getPower(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
      • getMaxInputLevelSides

        protected int getMaxInputLevelSides​(WorldView world,
                                            BlockPos pos,
                                            BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official b Lcai;b(Lbvu;Lgb;Lcjr;)I
        intermediary method_10000 Lnet/minecraft/class_2312;method_10000(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)I
        named getMaxInputLevelSides Lnet/minecraft/block/AbstractRedstoneGateBlock;getMaxInputLevelSides(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
      • getInputLevel

        protected int getInputLevel​(WorldView world,
                                    BlockPos pos,
                                    Direction dir)
        Mappings:
        Namespace Name Mixin selector
        official b Lcai;b(Lbvu;Lgb;Lgg;)I
        intermediary method_9995 Lnet/minecraft/class_2312;method_9995(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
        named getInputLevel Lnet/minecraft/block/AbstractRedstoneGateBlock;getInputLevel(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
      • emitsRedstonePower

        public boolean emitsRedstonePower​(BlockState state)
        覆盖:
        emitsRedstonePower 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official e_ Lcjq;e_(Lcjr;)Z
        intermediary method_9506 Lnet/minecraft/class_4970;method_9506(Lnet/minecraft/class_2680;)Z
        named emitsRedstonePower Lnet/minecraft/block/AbstractBlock;emitsRedstonePower(Lnet/minecraft/block/BlockState;)Z
      • getPlacementState

        public BlockState getPlacementState​(ItemPlacementContext ctx)
        覆盖:
        getPlacementState 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lbrr;)Lcjr;
        intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
        named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
      • onPlaced

        public void onPlaced​(World world,
                             BlockPos pos,
                             BlockState state,
                             LivingEntity placer,
                             ItemStack itemStack)
        覆盖:
        onPlaced 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lbvr;Lgb;Lcjr;Lasy;Lbpr;)V
        intermediary method_9567 Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)V
        named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
      • onBlockAdded

        public void onBlockAdded​(BlockState state,
                                 World world,
                                 BlockPos pos,
                                 BlockState oldState,
                                 boolean notify)
        覆盖:
        onBlockAdded 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official b Lcjq;b(Lcjr;Lbvr;Lgb;Lcjr;Z)V
        intermediary method_9615 Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
        named onBlockAdded Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
      • onStateReplaced

        public void onStateReplaced​(BlockState state,
                                    World world,
                                    BlockPos pos,
                                    BlockState newState,
                                    boolean moved)
        Called in WorldChunk.setBlockState(BlockPos, BlockState, boolean) if newState is different from state. Vanilla blocks perform removal cleanups here.
        覆盖:
        onStateReplaced 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbvr;Lgb;Lcjr;Z)V
        intermediary method_9536 Lnet/minecraft/class_4970;method_9536(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
        named onStateReplaced Lnet/minecraft/block/AbstractBlock;onStateReplaced(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
      • updateTarget

        protected void updateTarget​(World world,
                                    BlockPos pos,
                                    BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official d Lcai;d(Lbvr;Lgb;Lcjr;)V
        intermediary method_9997 Lnet/minecraft/class_2312;method_9997(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
        named updateTarget Lnet/minecraft/block/AbstractRedstoneGateBlock;updateTarget(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      • isValidInput

        protected boolean isValidInput​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official h Lcai;h(Lcjr;)Z
        intermediary method_9989 Lnet/minecraft/class_2312;method_9989(Lnet/minecraft/class_2680;)Z
        named isValidInput Lnet/minecraft/block/AbstractRedstoneGateBlock;isValidInput(Lnet/minecraft/block/BlockState;)Z
      • getOutputLevel

        protected int getOutputLevel​(BlockView world,
                                     BlockPos pos,
                                     BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official b Lcai;b(Lbuv;Lgb;Lcjr;)I
        intermediary method_9993 Lnet/minecraft/class_2312;method_9993(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)I
        named getOutputLevel Lnet/minecraft/block/AbstractRedstoneGateBlock;getOutputLevel(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
      • isRedstoneGate

        public static boolean isRedstoneGate​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official n Lcai;n(Lcjr;)Z
        intermediary method_9999 Lnet/minecraft/class_2312;method_9999(Lnet/minecraft/class_2680;)Z
        named isRedstoneGate Lnet/minecraft/block/AbstractRedstoneGateBlock;isRedstoneGate(Lnet/minecraft/block/BlockState;)Z
      • isTargetNotAligned

        public boolean isTargetNotAligned​(BlockView world,
                                          BlockPos pos,
                                          BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official c Lcai;c(Lbuv;Lgb;Lcjr;)Z
        intermediary method_9988 Lnet/minecraft/class_2312;method_9988(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
        named isTargetNotAligned Lnet/minecraft/block/AbstractRedstoneGateBlock;isTargetNotAligned(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
      • getUpdateDelayInternal

        protected abstract int getUpdateDelayInternal​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official g Lcai;g(Lcjr;)I
        intermediary method_9992 Lnet/minecraft/class_2312;method_9992(Lnet/minecraft/class_2680;)I
        named getUpdateDelayInternal Lnet/minecraft/block/AbstractRedstoneGateBlock;getUpdateDelayInternal(Lnet/minecraft/block/BlockState;)I