net.minecraft.world.level.block

public interface SegmentableBlock

dry
net.minecraft.world.level.block.SegmentableBlock
net.minecraft.class_10596
net.minecraft.block.Segmented

Field summary

Modifier and TypeField
int
d
MIN_SEGMENT
field_55789
SEGMENTS_PER_PLACEMENT
int
e
MAX_SEGMENT
field_55790
MAX_SEGMENTS
IntegerProperty
f
AMOUNT
field_55791
SEGMENT_AMOUNT

Method summary

Modifier and TypeMethod
default Function<BlockState, VoxelShape>
a(dzk<jo> arg0, dzm arg1)
getShapeCalculator(EnumProperty<Direction> arg0, IntegerProperty arg1)
method_66465(class_2754<class_2350> arg0, class_2758 arg1)
createShapeFunction(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty)
default IntegerProperty
c()
getSegmentAmountProperty()
method_66434()
getAmountProperty()
default double
b()
getShapeHeight()
method_66433()
getHeight()
default boolean
a(dym arg0, dbn arg1, dzm arg2)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1, IntegerProperty arg2)
method_66464(class_2680 arg0, class_1750 arg1, class_2758 arg2)
shouldAddSegment(BlockState state, ItemPlacementContext context, IntProperty property)
default BlockState
a(dbn arg0, dku arg1, dzm arg2, dzk<jo> arg3)
getStateForPlacement(BlockPlaceContext arg0, Block arg1, IntegerProperty arg2, EnumProperty<Direction> arg3)
method_66463(class_1750 arg0, class_2248 arg1, class_2758 arg2, class_2754<class_2350> arg3)
getPlacementState(ItemPlacementContext context, Block block, IntProperty amountProperty, EnumProperty<Direction> directionProperty)