net.minecraft.world.level.block

public abstract class CrossCollisionBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dpm
net.minecraft.world.level.block.CrossCollisionBlock
net.minecraft.class_2310
net.minecraft.block.HorizontalConnectingBlock
net.minecraft.src.C_1752_

Field summary

Modifier and TypeField
public static final BooleanProperty
a
NORTH
field_10905
NORTH
f_52309_
public static final BooleanProperty
b
EAST
field_10907
EAST
f_52310_
public static final BooleanProperty
c
SOUTH
field_10904
SOUTH
f_52311_
public static final BooleanProperty
d
WEST
field_10903
WEST
f_52312_
public static final BooleanProperty
e
WATERLOGGED
field_10900
WATERLOGGED
f_52313_
public static final Map<Direction, BooleanProperty>
f
PROPERTY_BY_DIRECTION
field_10902
FACING_PROPERTIES
f_52314_
private final Function<BlockState, VoxelShape>
g
collisionShapes
field_55751
collisionShapeFunction
f_381754_
private final Function<BlockState, VoxelShape>
h
shapes
field_55752
outlineShapeFunction
f_382100_

Constructor summary

ModifierConstructor
protected (float radius1, float radius2, float boundingHeight1, float boundingHeight2, float collisionHeight, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends CrossCollisionBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected Function<BlockState, VoxelShape>
a(float arg0, float arg1, float arg2, float arg3, float arg4)
makeShapes(float arg0, float arg1, float arg2, float arg3, float arg4)
method_9984(float arg0, float arg1, float arg2, float arg3, float arg4)
createShapeFunction(float radius1, float radius2, float height1, float offset2, float height2)
m_52326_(float p_52328_, float p_52329_, float p_52330_, float p_52331_, float arg4)
protected boolean
e_(ebq arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
m_49099_(C_2064_ arg0)
protected VoxelShape
a(ebq arg0, djn arg1, iw arg2, fgh arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_52353_, C_1559_ p_52354_, C_4675_ p_52355_, C_3051_ arg3)
protected VoxelShape
b(ebq arg0, djn arg1, iw arg2, fgh arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5939_(C_2064_ p_52358_, C_1559_ p_52359_, C_4675_ p_52360_, C_3051_ arg3)
protected FluidState
b_(ebq arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected boolean
a(ebq arg0, eyp arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_52336_, C_2754_ arg1)
protected BlockState
a(ebq arg0, dui arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_52342_, C_1886_ arg1)
protected BlockState
a(ebq arg0, dsr arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_52339_, C_1838_ arg1)