net.minecraft.block

public abstract class HorizontalConnectingBlock

extends Block implements Waterloggable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Waterloggable, FluidDrainable, FluidFillable

net.minecraft.world.level.block.CrossCollisionBlock
net.minecraft.class_2310
net.minecraft.block.HorizontalConnectingBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
NORTH
field_10905
NORTH
public static final BooleanProperty
EAST
field_10907
EAST
public static final BooleanProperty
SOUTH
field_10904
SOUTH
public static final BooleanProperty
WEST
field_10903
WEST
public static final BooleanProperty
WATERLOGGED
field_10900
WATERLOGGED
public static final Map<Direction, BooleanProperty>
PROPERTY_BY_DIRECTION
field_10902
FACING_PROPERTIES
private final Function<BlockState, VoxelShape>
collisionShapes
field_55751
collisionShapeFunction
private final Function<BlockState, VoxelShape>
shapes
field_55752
outlineShapeFunction

Constructor summary

ModifierConstructor
protected (float radius1, float radius2, float boundingHeight1, float boundingHeight2, float collisionHeight, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
protected Function<BlockState, VoxelShape>
makeShapes(float postWidth, float postHeight, float wallWidth, float wallBottom, float wallTop)
method_9984(float arg0, float arg1, float arg2, float arg3, float arg4)
createShapeFunction(float radius1, float radius2, float height1, float offset2, float height2)
protected boolean
propagatesSkylightDown(BlockState state)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected VoxelShape
getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected FluidState
getFluidState(BlockState state)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected boolean
isPathfindable(BlockState state, PathComputationType type)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
protected BlockState
rotate(BlockState state, Rotation rotation)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
mirror(BlockState state, Mirror mirror)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
private static VoxelShape
lambda$makeShapes$0(VoxelShape arg0, Map arg1, BlockState arg2)
method_66428(class_265 arg0, Map arg1, class_2680 arg2)
method_66428(VoxelShape arg0, Map arg1, BlockState state)
private static boolean
lambda$static$0(Map$Entry arg0)
method_9986(Map$Entry arg0)
method_9986(Map$Entry entry)