net.minecraft.block

public class DirtPathBlock

extends Block

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.PathBlock
net.minecraft.world.level.block.PathBlock
net.minecraft.class_2369
net.minecraft.block.DirtPathBlock

Field summary

Modifier and TypeField
private static final VoxelShape
SHAPE
SHAPE
field_11106
SHAPE
private final Block
baseBlock
baseBlock
field_1_7372
baseBlock

Constructor summary

ModifierConstructor
protected (Block baseBlock, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
protected boolean
useShapeForLightOcclusion(BlockState state)
useShapeForLightOcclusion(BlockState state)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
public BlockState
getStateForPlacement(BlockPlaceContext context)
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
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)
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)
public void
turnToBaseBlock(Entity sourceEntity, BlockState state, Level level, BlockPos pos)
turnToBaseBlock(Entity sourceEntity, BlockState state, Level level, BlockPos pos)
method_1_6583(class_1297 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3)
onChange(Entity sourceEntity, BlockState state, World world, BlockPos pos)
protected boolean
canSurvive(BlockState state, LevelReader level, BlockPos pos)
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
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
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 boolean
isPathfindable(BlockState state, PathComputationType type)
isPathfindable(BlockState state, PathComputationType type)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)