net.minecraft.world.level.block

public class SlabBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dme
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 com.mojang.serialization.MapCodec<SlabBlock>
a
CODEC
field_46445
CODEC
f_302360_
public static final EnumProperty<SlabType>
b
TYPE
field_11501
TYPE
f_56353_
public static final BooleanProperty
c
WATERLOGGED
field_11502
WATERLOGGED
f_56354_
protected static final VoxelShape
d
BOTTOM_AABB
field_11500
BOTTOM_SHAPE
f_56355_
protected static final VoxelShape
e
TOP_AABB
field_11499
TOP_SHAPE
f_56356_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends SlabBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected boolean
f_(dse arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
protected void
a(dsf$a<dfb, dse> 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)
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy 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(cyc arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected boolean
a(dse arg0, cyc 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)
protected FluidState
b_(dse arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a(dcb arg0, iz arg1, dse arg2, enx 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(cmz arg0, dbg arg1, iz arg2, dse arg3, enw arg4)
canPlaceLiquid(Player arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
method_10310(class_1657 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3611 arg4)
canFillWithFluid(PlayerEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
m_6044_(C_1141_ p_56363_, C_1559_ p_56364_, C_4675_ p_56365_, C_2064_ p_56366_, C_2690_ arg4)
protected BlockState
a(dse arg0, je arg1, dse arg2, dcb arg3, iz arg4, iz 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)
protected boolean
a(dse arg0, eom arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_56379_, C_2754_ arg1)