net.minecraft.world.level.block

public abstract class CrossCollisionBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

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

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
public static final Map<Direction, BooleanProperty>
f
PROPERTY_BY_DIRECTION
field_10902
FACING_PROPERTIES
private final Function<BlockState, VoxelShape>
g
collisionShapes
field_55751
collisionShapeFunction
private final Function<BlockState, VoxelShape>
h
shapes
field_55752
outlineShapeFunction

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 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)
protected boolean
e_(dzo arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected VoxelShape
a(dzo arg0, dhv arg1, iu arg2, feb 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(dzo arg0, dhv arg1, iu arg2, feb 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)
protected FluidState
b_(dzo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected boolean
a(dzo arg0, ewk arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
protected BlockState
a(dzo arg0, dsm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dzo arg0, dqv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)