net.minecraft.world.level.block

public class SlabBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cqn
net.minecraft.world.level.block.SlabBlock
net.minecraft.class_2482
net.minecraft.block.SlabBlock
net.minecraft.src.C_1900_
net.minecraft.world.level.block.BlockStepAbstract

Field summary

Modifier and TypeField
public static final EnumProperty<SlabType>
a
TYPE
field_11501
TYPE
f_56353_
public static final BooleanProperty
b
WATERLOGGED
field_11502
WATERLOGGED
f_56354_
protected static final VoxelShape
c
BOTTOM_AABB
field_11500
BOTTOM_SHAPE
f_56355_
protected static final VoxelShape
d
TOP_AABB
field_11499
TOP_SHAPE
f_56356_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public boolean
g_(cvo arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
protected void
a(cvp$a<cjt, cvo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public VoxelShape
a(cvo arg0, cgd arg1, gt arg2, dwv 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_56391_, C_1559_ p_56392_, C_4675_ p_56393_, C_3051_ arg3)
public BlockState
a(ccx arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public boolean
a(cvo arg0, ccx arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
m_6864_(C_2064_ p_56374_, C_1445_ arg1)
public FluidState
c_(cvo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a(cgy arg0, gt arg1, cvo arg2, dpv arg3)
placeLiquid(LevelAccessor arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_10311(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
m_7361_(C_1598_ p_56369_, C_4675_ p_56370_, C_2064_ p_56371_, C_2691_ arg3)
public boolean
a(cgd arg0, gt arg1, cvo arg2, dpu arg3)
canPlaceLiquid(BlockGetter arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
method_10310(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_3611 arg3)
canFillWithFluid(BlockView arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
m_6044_(C_1559_ p_56364_, C_4675_ p_56365_, C_2064_ p_56366_, C_2690_ arg3)
public BlockState
a(cvo arg0, gy arg1, cvo arg2, cgy arg3, gt arg4, gt arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_56382_, C_4687_ p_56383_, C_2064_ p_56384_, C_1598_ p_56385_, C_4675_ p_56386_, C_4675_ arg5)
public boolean
a(cvo arg0, cgd arg1, gt arg2, dqm 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_56377_, C_1559_ p_56378_, C_4675_ p_56379_, C_2754_ arg3)