类 RedstoneOreBlock

  • 所有已实现的接口:
    ItemConvertible

    public class RedstoneOreBlock
    extends Block
    Mappings:
    Namespace Name
    official cdy
    intermediary net/minecraft/class_2449
    named net/minecraft/block/RedstoneOreBlock
    • 字段详细资料

      • LIT

        public static final BooleanProperty LIT
        Mappings:
        Namespace Name Mixin selector
        official a Lcdy;a:Lcki;
        intermediary field_11392 Lnet/minecraft/class_2449;field_11392:Lnet/minecraft/class_2746;
        named LIT Lnet/minecraft/block/RedstoneOreBlock;LIT:Lnet/minecraft/state/property/BooleanProperty;
    • 构造器详细资料

      • RedstoneOreBlock

        public RedstoneOreBlock​(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
    • 方法详细资料

      • onBlockBreakStart

        public void onBlockBreakStart​(BlockState state,
                                      World world,
                                      BlockPos pos,
                                      PlayerEntity player)
        覆盖:
        onBlockBreakStart 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbvr;Lgb;Lbjf;)V
        intermediary method_9606 Lnet/minecraft/class_4970;method_9606(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)V
        named onBlockBreakStart Lnet/minecraft/block/AbstractBlock;onBlockBreakStart(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
      • onSteppedOn

        public void onSteppedOn​(World world,
                                BlockPos pos,
                                Entity entity)
        Called when an entity steps on this block.
        覆盖:
        onSteppedOn 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lbvr;Lgb;Lasl;)V
        intermediary method_9591 Lnet/minecraft/class_2248;method_9591(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V
        named onSteppedOn Lnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
      • onUse

        public ActionResult onUse​(BlockState state,
                                  World world,
                                  BlockPos pos,
                                  PlayerEntity player,
                                  Hand hand,
                                  BlockHitResult hit)
        Called when this block is used by a player. This, by default, is bound to using the right mouse button.

        This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using world.isClient().

        If the action result is successful on a logical client, then the action will be sent to the logical server for processing.

        覆盖:
        onUse 在类中 AbstractBlock
        返回:
        an action result that specifies if using the block was successful.
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbvr;Lgb;Lbjf;Larf;Ldlw;)Larg;
        intermediary method_9534 Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
        named onUse Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
      • light

        private static void light​(BlockState state,
                                  World world,
                                  BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official d Lcdy;d(Lcjr;Lbvr;Lgb;)V
        intermediary method_10441 Lnet/minecraft/class_2449;method_10441(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
        named light Lnet/minecraft/block/RedstoneOreBlock;light(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      • hasRandomTicks

        public boolean hasRandomTicks​(BlockState state)
        覆盖:
        hasRandomTicks 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official d_ Lbyq;d_(Lcjr;)Z
        intermediary method_9542 Lnet/minecraft/class_2248;method_9542(Lnet/minecraft/class_2680;)Z
        named hasRandomTicks Lnet/minecraft/block/Block;hasRandomTicks(Lnet/minecraft/block/BlockState;)Z
      • randomTick

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

        public void onStacksDropped​(BlockState state,
                                    ServerWorld world,
                                    BlockPos pos,
                                    ItemStack stack)
        覆盖:
        onStacksDropped 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Labj;Lgb;Lbpr;)V
        intermediary method_9565 Lnet/minecraft/class_4970;method_9565(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)V
        named onStacksDropped Lnet/minecraft/block/AbstractBlock;onStacksDropped(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
      • randomDisplayTick

        public void randomDisplayTick​(BlockState state,
                                      World world,
                                      BlockPos pos,
                                      Random random)
        覆盖:
        randomDisplayTick 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lcjr;Lbvr;Lgb;Ljava/util/Random;)V
        intermediary method_9496 Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)V
        named randomDisplayTick Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
      • spawnParticles

        private static void spawnParticles​(World world,
                                           BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lcdy;a(Lbvr;Lgb;)V
        intermediary method_10440 Lnet/minecraft/class_2449;method_10440(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
        named spawnParticles Lnet/minecraft/block/RedstoneOreBlock;spawnParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      • appendProperties

        protected void appendProperties​(StateManager.Builder<Block,​BlockState> builder)
        覆盖:
        appendProperties 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lcjs$a;)V
        intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
        named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V