接口 SegmentableBlock
- 所有已知实现类:
FlowerBedBlock
,LeafLitterBlock
public interface SegmentableBlock
-
字段概要
字段 -
方法概要
修饰符和类型方法说明default boolean
canBeReplaced
(BlockState p_394221_, BlockPlaceContext p_394124_, IntegerProperty p_394071_) default IntegerProperty
default Function
<BlockState, VoxelShape> getShapeCalculator
(EnumProperty<Direction> p_394273_, IntegerProperty p_394415_) default double
default BlockState
getStateForPlacement
(BlockPlaceContext p_394035_, Block p_393593_, IntegerProperty p_394488_, EnumProperty<Direction> p_393563_)
-
字段详细资料
-
MIN_SEGMENT
static final int MIN_SEGMENT- 另请参阅:
-
MAX_SEGMENT
static final int MAX_SEGMENT- 另请参阅:
-
AMOUNT
-
-
方法详细资料
-
getShapeCalculator
default Function<BlockState,VoxelShape> getShapeCalculator(EnumProperty<Direction> p_394273_, IntegerProperty p_394415_) -
getSegmentAmountProperty
-
getShapeHeight
default double getShapeHeight() -
canBeReplaced
default boolean canBeReplaced(BlockState p_394221_, BlockPlaceContext p_394124_, IntegerProperty p_394071_) -
getStateForPlacement
default BlockState getStateForPlacement(BlockPlaceContext p_394035_, Block p_393593_, IntegerProperty p_394488_, EnumProperty<Direction> p_393563_)
-