net.minecraft.block

public class CaveVinesBodyBlock

extends AbstractPlantBlock implements CaveVines

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Fertilizable, CaveVines

net.minecraft.world.level.block.CaveVinesPlantBlock
net.minecraft.world.level.block.CaveVinesPlantBlock
net.minecraft.class_5804
net.minecraft.block.CaveVinesBodyBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CaveVinesBodyBlock>
CODEC
CODEC
field_46307
CODEC

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CaveVinesBodyBlock>
codec()
codec()
method_53969()
getCodec()
protected AbstractPlantStemBlock
getHeadBlock()
getHeadBlock()
method_24945()
getStem()
protected BlockState
updateHeadAfterConvertedFromBody(BlockState bodyState, BlockState headState)
updateHeadAfterConvertedFromBody(BlockState bodyState, BlockState headState)
method_33624(class_2680 arg0, class_2680 arg1)
copyState(BlockState arg0, BlockState arg1)
protected ItemStack
getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData)
getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
protected ActionResult
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public boolean
isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state)
isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
public boolean
isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state)
isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
public void
performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state)
performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)