net.minecraft.world.level.block

public class CaveVinesBlock

extends GrowingPlantHeadBlock implements CaveVines

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, CaveVines

dms
net.minecraft.world.level.block.CaveVinesBlock
net.minecraft.class_5805
net.minecraft.block.CaveVinesHeadBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CaveVinesBlock>
c
CODEC
field_46306
CODEC
private static final float
g
CHANCE_OF_BERRIES_ON_GROWTH
field_31053
GROW_CHANCE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CaveVinesBlock>
a()
codec()
method_53969()
getCodec()
protected int
a(azt arg0)
getBlocksToGrowWhenBonemealed(RandomSource arg0)
method_26376(class_5819 arg0)
getGrowthLength(Random arg0)
protected boolean
h(dzo arg0)
canGrowInto(BlockState arg0)
method_24949(class_2680 arg0)
chooseStemState(BlockState arg0)
protected Block
b()
getBodyBlock()
method_24946()
getPlant()
protected BlockState
a(dzo arg0, dzo arg1)
updateBodyAfterConvertedFromHead(BlockState arg0, BlockState arg1)
method_33625(class_2680 arg0, class_2680 arg1)
copyState(BlockState arg0, BlockState arg1)
protected BlockState
a(dzo arg0, azt arg1)
getGrowIntoState(BlockState arg0, RandomSource arg1)
method_33626(class_2680 arg0, class_5819 arg1)
age(BlockState arg0, Random arg1)
protected ItemStack
a(dis arg0, iu arg1, dzo arg2, boolean arg3)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
protected InteractionResult
a(dzo arg0, dip arg1, iu arg2, cqs arg3, fds arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
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
a(dzp$a<dlu, dzo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public boolean
a(dis arg0, iu arg1, dzo arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
public boolean
a(dip arg0, azt arg1, iu arg2, dzo arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
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
a(aro arg0, azt arg1, iu arg2, dzo arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)