类 BambooBlock

  • 所有已实现的接口:
    Fertilizable, ItemConvertible

    public class BambooBlock
    extends Block
    implements Fertilizable
    Mappings:
    Namespace Name
    official bxu
    intermediary net/minecraft/class_2211
    named net/minecraft/block/BambooBlock
    • 字段详细资料

      • field_30997

        protected static final float field_30997
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lbxu;a:F
        intermediary field_30997 Lnet/minecraft/class_2211;field_30997:F
        named field_30997 Lnet/minecraft/block/BambooBlock;field_30997:F
      • field_30998

        protected static final float field_30998
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lbxu;b:F
        intermediary field_30998 Lnet/minecraft/class_2211;field_30998:F
        named field_30998 Lnet/minecraft/block/BambooBlock;field_30998:F
      • field_30999

        protected static final float field_30999
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Lbxu;c:F
        intermediary field_30999 Lnet/minecraft/class_2211;field_30999:F
        named field_30999 Lnet/minecraft/block/BambooBlock;field_30999:F
      • SMALL_LEAVES_SHAPE

        protected static final VoxelShape SMALL_LEAVES_SHAPE
        Mappings:
        Namespace Name Mixin selector
        official d Lbxu;d:Ldmt;
        intermediary field_9912 Lnet/minecraft/class_2211;field_9912:Lnet/minecraft/class_265;
        named SMALL_LEAVES_SHAPE Lnet/minecraft/block/BambooBlock;SMALL_LEAVES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      • LARGE_LEAVES_SHAPE

        protected static final VoxelShape LARGE_LEAVES_SHAPE
        Mappings:
        Namespace Name Mixin selector
        official e Lbxu;e:Ldmt;
        intermediary field_9915 Lnet/minecraft/class_2211;field_9915:Lnet/minecraft/class_265;
        named LARGE_LEAVES_SHAPE Lnet/minecraft/block/BambooBlock;LARGE_LEAVES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      • NO_LEAVES_SHAPE

        protected static final VoxelShape NO_LEAVES_SHAPE
        Mappings:
        Namespace Name Mixin selector
        official f Lbxu;f:Ldmt;
        intermediary field_9913 Lnet/minecraft/class_2211;field_9913:Lnet/minecraft/class_265;
        named NO_LEAVES_SHAPE Lnet/minecraft/block/BambooBlock;NO_LEAVES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      • AGE

        public static final IntProperty AGE
        Mappings:
        Namespace Name Mixin selector
        official g Lbxu;g:Lckr;
        intermediary field_9914 Lnet/minecraft/class_2211;field_9914:Lnet/minecraft/class_2758;
        named AGE Lnet/minecraft/block/BambooBlock;AGE:Lnet/minecraft/state/property/IntProperty;
      • LEAVES

        public static final EnumProperty<BambooLeaves> LEAVES
        Mappings:
        Namespace Name Mixin selector
        official h Lbxu;h:Lckp;
        intermediary field_9917 Lnet/minecraft/class_2211;field_9917:Lnet/minecraft/class_2754;
        named LEAVES Lnet/minecraft/block/BambooBlock;LEAVES:Lnet/minecraft/state/property/EnumProperty;
      • STAGE

        public static final IntProperty STAGE
        Mappings:
        Namespace Name Mixin selector
        official i Lbxu;i:Lckr;
        intermediary field_9916 Lnet/minecraft/class_2211;field_9916:Lnet/minecraft/class_2758;
        named STAGE Lnet/minecraft/block/BambooBlock;STAGE:Lnet/minecraft/state/property/IntProperty;
      • field_31000

        public static final int field_31000
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official j Lbxu;j:I
        intermediary field_31000 Lnet/minecraft/class_2211;field_31000:I
        named field_31000 Lnet/minecraft/block/BambooBlock;field_31000:I
      • field_31001

        public static final int field_31001
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official k Lbxu;k:I
        intermediary field_31001 Lnet/minecraft/class_2211;field_31001:I
        named field_31001 Lnet/minecraft/block/BambooBlock;field_31001:I
      • field_31002

        public static final int field_31002
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official l Lbxu;l:I
        intermediary field_31002 Lnet/minecraft/class_2211;field_31002:I
        named field_31002 Lnet/minecraft/block/BambooBlock;field_31002:I
      • field_31003

        public static final int field_31003
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official m Lbxu;m:I
        intermediary field_31003 Lnet/minecraft/class_2211;field_31003:I
        named field_31003 Lnet/minecraft/block/BambooBlock;field_31003:I
      • field_31004

        public static final int field_31004
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official n Lbxu;n:I
        intermediary field_31004 Lnet/minecraft/class_2211;field_31004:I
        named field_31004 Lnet/minecraft/block/BambooBlock;field_31004:I
    • 构造器详细资料

      • BambooBlock

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

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

        public AbstractBlock.OffsetType getOffsetType()
        覆盖:
        getOffsetType 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official ak_ Lcjq;ak_()Lcjq$b;
        intermediary method_16841 Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;
        named getOffsetType Lnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;
      • isTranslucent

        public boolean isTranslucent​(BlockState state,
                                     BlockView world,
                                     BlockPos pos)
        覆盖:
        isTranslucent 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official c Lbyq;c(Lcjr;Lbuv;Lgb;)Z
        intermediary method_9579 Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
        named isTranslucent Lnet/minecraft/block/Block;isTranslucent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
      • 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;
      • canPathfindThrough

        public boolean canPathfindThrough​(BlockState state,
                                          BlockView world,
                                          BlockPos pos,
                                          NavigationType type)
        覆盖:
        canPathfindThrough 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbuv;Lgb;Ldgb;)Z
        intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
        named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
      • getCollisionShape

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

        @Nullable
        public @Nullable 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;
      • 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
      • 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
      • 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
      • getStateForNeighborUpdate

        public BlockState getStateForNeighborUpdate​(BlockState state,
                                                    Direction direction,
                                                    BlockState neighborState,
                                                    WorldAccess world,
                                                    BlockPos pos,
                                                    BlockPos neighborPos)
        Gets the possibly updated block state of this block when a neighboring block is updated.
        覆盖:
        getStateForNeighborUpdate 在类中 AbstractBlock
        参数:
        state - the state of this block
        direction - the direction from this block to the neighbor
        neighborState - the state of the updated neighbor block
        world - the world
        pos - the position of this block
        neighborPos - the position of the neighbor block
        返回:
        the new state of this block
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lgg;Lcjr;Lbvs;Lgb;Lgb;)Lcjr;
        intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
        named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      • isFertilizable

        public boolean isFertilizable​(BlockView world,
                                      BlockPos pos,
                                      BlockState state,
                                      boolean isClient)
        指定者:
        isFertilizable 在接口中 Fertilizable
        Mappings:
        Namespace Name Mixin selector
        official a Lbys;a(Lbuv;Lgb;Lcjr;Z)Z
        intermediary method_9651 Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Z
        named isFertilizable Lnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
      • canGrow

        public boolean canGrow​(World world,
                               Random random,
                               BlockPos pos,
                               BlockState state)
        指定者:
        canGrow 在接口中 Fertilizable
        Mappings:
        Namespace Name Mixin selector
        official a Lbys;a(Lbvr;Ljava/util/Random;Lgb;Lcjr;)Z
        intermediary method_9650 Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
        named canGrow Lnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
      • grow

        public void grow​(ServerWorld world,
                         Random random,
                         BlockPos pos,
                         BlockState state)
        指定者:
        grow 在接口中 Fertilizable
        Mappings:
        Namespace Name Mixin selector
        official a Lbys;a(Labj;Ljava/util/Random;Lgb;Lcjr;)V
        intermediary method_9652 Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
        named grow Lnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      • calcBlockBreakingDelta

        public float calcBlockBreakingDelta​(BlockState state,
                                            PlayerEntity player,
                                            BlockView world,
                                            BlockPos pos)
        覆盖:
        calcBlockBreakingDelta 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbjf;Lbuv;Lgb;)F
        intermediary method_9594 Lnet/minecraft/class_4970;method_9594(Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
        named calcBlockBreakingDelta Lnet/minecraft/block/AbstractBlock;calcBlockBreakingDelta(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
      • updateLeaves

        protected void updateLeaves​(BlockState state,
                                    World world,
                                    BlockPos pos,
                                    Random random,
                                    int height)
        Mappings:
        Namespace Name Mixin selector
        official a Lbxu;a(Lcjr;Lbvr;Lgb;Ljava/util/Random;I)V
        intermediary method_9385 Lnet/minecraft/class_2211;method_9385(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;I)V
        named updateLeaves Lnet/minecraft/block/BambooBlock;updateLeaves(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;I)V
      • countBambooAbove

        protected int countBambooAbove​(BlockView world,
                                       BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbxu;a(Lbuv;Lgb;)I
        intermediary method_9387 Lnet/minecraft/class_2211;method_9387(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
        named countBambooAbove Lnet/minecraft/block/BambooBlock;countBambooAbove(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
      • countBambooBelow

        protected int countBambooBelow​(BlockView world,
                                       BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official b Lbxu;b(Lbuv;Lgb;)I
        intermediary method_9386 Lnet/minecraft/class_2211;method_9386(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
        named countBambooBelow Lnet/minecraft/block/BambooBlock;countBambooBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I