类 SpongeBlock

  • 所有已实现的接口:
    ItemConvertible

    public class SpongeBlock
    extends Block
    Mappings:
    Namespace Name
    official cfg
    intermediary net/minecraft/class_2502
    named net/minecraft/block/SpongeBlock
    • 字段详细资料

      • field_31250

        public static final int field_31250
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lcfg;a:I
        intermediary field_31250 Lnet/minecraft/class_2502;field_31250:I
        named field_31250 Lnet/minecraft/block/SpongeBlock;field_31250:I
      • field_31251

        public static final int field_31251
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lcfg;b:I
        intermediary field_31251 Lnet/minecraft/class_2502;field_31251:I
        named field_31251 Lnet/minecraft/block/SpongeBlock;field_31251:I
    • 构造器详细资料

      • SpongeBlock

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

      • 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
      • 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
      • update

        protected void update​(World world,
                              BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lcfg;a(Lbvr;Lgb;)V
        intermediary method_10620 Lnet/minecraft/class_2502;method_10620(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
        named update Lnet/minecraft/block/SpongeBlock;update(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      • absorbWater

        private boolean absorbWater​(World world,
                                    BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official b Lcfg;b(Lbvr;Lgb;)Z
        intermediary method_10619 Lnet/minecraft/class_2502;method_10619(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
        named absorbWater Lnet/minecraft/block/SpongeBlock;absorbWater(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z