net.minecraft.world.level.block

public abstract class CrossCollisionBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

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

Field summary

Modifier and TypeField
public static final BooleanProperty
a
NORTH
field_10905
NORTH
public static final BooleanProperty
b
EAST
field_10907
EAST
public static final BooleanProperty
c
SOUTH
field_10904
SOUTH
public static final BooleanProperty
d
WEST
field_10903
WEST
public static final BooleanProperty
e
WATERLOGGED
field_10900
WATERLOGGED
protected static final Map<Direction, BooleanProperty>
f
PROPERTY_BY_DIRECTION
field_10902
FACING_PROPERTIES
protected final VoxelShape[]
g
collisionShapeByIndex
field_10901
collisionShapes
protected final VoxelShape[]
h
shapeByIndex
field_10906
boundingShapes
private final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
i
stateToIndex
field_19313
SHAPE_INDEX_CACHE

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()
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)
protected boolean
e_(dxv arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd 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)
protected VoxelShape
b(dxv arg0, dgn arg1, jh arg2, fcd 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)
private static int
a(jm arg0)
indexFor(Direction arg0)
method_9985(class_2350 arg0)
getDirectionMask(Direction dir)
protected int
h(dxv arg0)
getAABBIndex(BlockState arg0)
method_9987(class_2680 arg0)
getShapeIndex(BlockState state)
protected FluidState
b_(dxv arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)