类 HangingRootsBlock

  • 所有已实现的接口:
    ItemConvertible

    public class HangingRootsBlock
    extends Block
    Mappings:
    Namespace Name
    official cbw
    intermediary net/minecraft/class_5806
    named net/minecraft/block/HangingRootsBlock
    • 字段详细资料

      • SHAPE

        protected static final VoxelShape SHAPE
        Mappings:
        Namespace Name Mixin selector
        official a Lcbw;a:Ldmt;
        intermediary field_28689 Lnet/minecraft/class_5806;field_28689:Lnet/minecraft/class_265;
        named SHAPE Lnet/minecraft/block/HangingRootsBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • 构造器详细资料

      • HangingRootsBlock

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

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