net.minecraft.block

public class VineBlock

extends Block

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.VineBlock
net.minecraft.class_2541
net.minecraft.block.VineBlock

Field summary

Modifier and TypeField
private static final int
SEARCH_RADIUS
field_1_8329
field_1_8329
private static final int
MAX_NEIGHBORS_TO_GROW
field_1_8328
field_1_8328
public static final BooleanProperty
UP
field_11703
UP
public static final BooleanProperty
NORTH
field_11706
NORTH
public static final BooleanProperty
EAST
field_11702
EAST
public static final BooleanProperty
SOUTH
field_11699
SOUTH
public static final BooleanProperty
WEST
field_11696
WEST
public static final Map<Direction, BooleanProperty>
PROPERTY_BY_DIRECTION
field_11697
FACING_PROPERTIES
private final Function<BlockState, VoxelShape>
shapes
field_55811
shapeFunction

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
private Function<BlockState, VoxelShape>
makeShapes()
method_66471()
createShapeFunction()
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 boolean
propagatesSkylightDown(BlockState state)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
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)
private boolean
hasFaces(BlockState blockState)
method_10823(class_2680 arg0)
hasAdjacentBlocks(BlockState state)
private int
countFaces(BlockState blockState)
method_10822(class_2680 arg0)
getAdjacentBlockCount(BlockState state)
private boolean
canSupportAtFace(BlockGetter level, BlockPos pos, Direction direction)
method_10829(class_1922 arg0, class_2338 arg1, class_2350 arg2)
shouldHaveSide(BlockView world, BlockPos pos, Direction side)
public static boolean
isAcceptableNeighbour(BlockGetter level, BlockPos neighbourPos, Direction directionToNeighbour)
method_10821(class_1922 arg0, class_2338 arg1, class_2350 arg2)
shouldConnectTo(BlockView world, BlockPos pos, Direction direction)
private BlockState
getUpdatedState(BlockState state, BlockGetter level, BlockPos pos)
method_10827(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getPlacementShape(BlockState state, BlockView world, BlockPos pos)
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
randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
private BlockState
copyRandomFaces(BlockState from, BlockState to, RandomSource random)
method_10820(class_2680 arg0, class_2680 arg1, class_5819 arg2)
getGrownState(BlockState above, BlockState state, Random random)
private boolean
hasHorizontalConnection(BlockState state)
method_10830(class_2680 arg0)
hasHorizontalSide(BlockState state)
private boolean
canSpread(LevelReader level, BlockPos pos)
method_10824(class_4538 arg0, class_2338 arg1)
canGrowAt(WorldView arg0, BlockPos pos)
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
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected BlockState
rotate(BlockState state, Rotation rotation)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
mirror(BlockState state, Mirror mirror)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public static BooleanProperty
getPropertyForFace(Direction direction)
method_10828(class_2350 arg0)
getFacingProperty(Direction direction)
private boolean
lambda$canSpread$0(BlockState arg0)
method_1_7687(class_2680 arg0)
method_1_7687(BlockState arg0)
private static VoxelShape
lambda$makeShapes$0(Map arg0, BlockState arg1)
method_66470(Map arg0, class_2680 arg1)
method_66470(Map arg0, BlockState state)
private static boolean
lambda$static$0(Map$Entry arg0)
method_10826(Map$Entry arg0)
method_10826(Map$Entry entry)