net.minecraft.world.level.block

public class CrossCollisionBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cel
net.minecraft.world.level.block.CrossCollisionBlock
net.minecraft.class_2310
net.minecraft.block.HorizontalConnectingBlock
net.minecraft.src.C_1752_
net.minecraft.world.level.block.BlockTall

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_
protected static final Map<Direction, BooleanProperty>
f
PROPERTY_BY_DIRECTION
field_10902
FACING_PROPERTIES
f_52314_
protected final VoxelShape[]
g
collisionShapeByIndex
field_10901
collisionShapes
f_52315_
protected final VoxelShape[]
h
shapeByIndex
field_10906
boundingShapes
f_52316_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
i
stateToIndex
field_19313
SHAPE_INDEX_CACHE
f_52317_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected 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)
createShapes(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)
public boolean
c(coc arg0, bzj arg1, gh arg2)
propagatesSkylightDown(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9579(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isTranslucent(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7420_(C_2064_ p_52349_, C_1559_ p_52350_, C_4675_ arg2)
public VoxelShape
a(coc arg0, bzj arg1, gh arg2, dor 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)
public VoxelShape
c(coc arg0, bzj arg1, gh arg2, dor 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)
private static int
a(gm arg0)
indexFor(Direction arg0)
method_9985(class_2350 arg0)
getDirectionMask(Direction dir)
m_52343_(C_4687_ p_52344_)
protected int
g(coc arg0)
getAABBIndex(BlockState arg0)
method_9987(class_2680 arg0)
getShapeIndex(BlockState state)
m_52363_(C_2064_ arg0)
public FluidState
c_(coc arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a(coc arg0, bzj arg1, gh arg2, dim arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_52334_, C_1559_ p_52335_, C_4675_ p_52336_, C_2754_ arg3)
public BlockState
a(coc arg0, ciu 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)
public BlockState
a(coc arg0, chh 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)