net.minecraft.world.level.block

public class VineBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<VineBlock>
a
CODEC
field_46485
CODEC
public static final BooleanProperty
b
UP
field_11703
UP
public static final BooleanProperty
c
NORTH
field_11706
NORTH
public static final BooleanProperty
d
EAST
field_11702
EAST
public static final BooleanProperty
e
SOUTH
field_11699
SOUTH
public static final BooleanProperty
f
WEST
field_11696
WEST
public static final Map<Direction, BooleanProperty>
g
PROPERTY_BY_DIRECTION
field_11697
FACING_PROPERTIES
protected static final float
h
AABB_OFFSET
field_31275
field_31275
private static final VoxelShape
i
UP_AABB
field_11698
UP_SHAPE
private static final VoxelShape
j
WEST_AABB
field_11704
EAST_SHAPE
private static final VoxelShape
k
EAST_AABB
field_11705
WEST_SHAPE
private static final VoxelShape
l
NORTH_AABB
field_11701
SOUTH_SHAPE
private static final VoxelShape
m
SOUTH_AABB
field_11700
NORTH_SHAPE
private final Map<BlockState, VoxelShape>
n
shapesCache
field_26659
shapesByState

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<VineBlock>
a()
codec()
method_53969()
getCodec()
private static VoxelShape
o(dwy arg0)
calculateShape(BlockState arg0)
method_31018(class_2680 arg0)
getShapeForState(BlockState state)
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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)
protected boolean
e_(dwy arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected boolean
a(dwy arg0, dgm arg1, ji arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
private boolean
q(dwy arg0)
hasFaces(BlockState arg0)
method_10823(class_2680 arg0)
hasAdjacentBlocks(BlockState state)
private int
r(dwy arg0)
countFaces(BlockState arg0)
method_10822(class_2680 arg0)
getAdjacentBlockCount(BlockState state)
private boolean
b(dfo arg0, ji arg1, jn arg2)
canSupportAtFace(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_10829(class_1922 arg0, class_2338 arg1, class_2350 arg2)
shouldHaveSide(BlockView world, BlockPos pos, Direction side)
public static boolean
a(dfo arg0, ji arg1, jn arg2)
isAcceptableNeighbour(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_10821(class_1922 arg0, class_2338 arg1, class_2350 arg2)
shouldConnectTo(BlockView world, BlockPos pos, Direction direction)
private BlockState
e(dwy arg0, dfo arg1, ji arg2)
getUpdatedState(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_10827(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getPlacementShape(BlockState state, BlockView world, BlockPos pos)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
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
b(dwy arg0, ard arg1, ji arg2, azh arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
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
a(dwy arg0, dwy arg1, azh arg2)
copyRandomFaces(BlockState arg0, BlockState arg1, RandomSource arg2)
method_10820(class_2680 arg0, class_2680 arg1, class_5819 arg2)
getGrownState(BlockState above, BlockState state, Random random)
private boolean
s(dwy arg0)
hasHorizontalConnection(BlockState arg0)
method_10830(class_2680 arg0)
hasHorizontalSide(BlockState state)
private boolean
a(dfo arg0, ji arg1)
canSpread(BlockGetter arg0, BlockPos arg1)
method_10824(class_1922 arg0, class_2338 arg1)
canGrowAt(BlockView world, BlockPos pos)
protected boolean
a(dwy arg0, dah arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected BlockState
a(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dwy arg0, dom arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public static BooleanProperty
a(jn arg0)
getPropertyForFace(Direction arg0)
method_10828(class_2350 arg0)
getFacingProperty(Direction direction)