net.minecraft.block

public class ScaffoldingBlock

extends Block implements Waterloggable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Waterloggable, FluidDrainable, FluidFillable

net.minecraft.world.level.block.ScaffoldingBlock
net.minecraft.class_3736
net.minecraft.block.ScaffoldingBlock

Field summary

Modifier and TypeField
private static final int
TICK_DELAY
field_31238
field_31238
private static final VoxelShape
SHAPE_STABLE
field_16494
NORMAL_OUTLINE_SHAPE
private static final VoxelShape
SHAPE_UNSTABLE_BOTTOM
field_17577
COLLISION_SHAPE
private static final VoxelShape
SHAPE_UNSTABLE
field_16497
BOTTOM_OUTLINE_SHAPE
private static final VoxelShape
SHAPE_BELOW_BLOCK
field_17578
OUTLINE_SHAPE
public static final int
STABILITY_MAX_DISTANCE
field_31237
MAX_DISTANCE
public static final IntProperty
DISTANCE
field_16495
DISTANCE
public static final BooleanProperty
WATERLOGGED
field_16496
WATERLOGGED
public static final BooleanProperty
BOTTOM
field_16547
BOTTOM

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
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
getInteractionShape(BlockState state, BlockGetter level, BlockPos pos)
method_9584(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getRaycastShape(BlockState arg0, BlockView arg1, BlockPos arg2)
protected boolean
canBeReplaced(BlockState state, BlockPlaceContext context)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected void
tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected boolean
canSurvive(BlockState state, LevelReader level, BlockPos pos)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected VoxelShape
getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
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
getFluidState(BlockState state)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
private boolean
isBottom(BlockGetter level, BlockPos pos, int distance)
method_16373(class_1922 arg0, class_2338 arg1, int arg2)
shouldBeBottom(BlockView world, BlockPos pos, int distance)
public static int
getDistance(BlockGetter level, BlockPos pos)
method_16372(class_1922 arg0, class_2338 arg1)
calculateDistance(BlockView world, BlockPos pos)