net.minecraft.world.level.block

public class CaveVinesBlock

extends GrowingPlantHeadBlock implements BonemealableBlock, CaveVines

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, CaveVines

cxn
net.minecraft.world.level.block.CaveVinesBlock
net.minecraft.class_5805
net.minecraft.block.CaveVinesHeadBlock
net.minecraft.src.C_141199_
net.minecraft.world.level.block.CaveVinesBlock

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CaveVinesBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected int
a(auv arg0)
getBlocksToGrowWhenBonemealed(RandomSource arg0)
method_26376(class_5819 arg0)
getGrowthLength(Random arg0)
m_213627_(C_212974_ arg0)
protected boolean
g(djh arg0)
canGrowInto(BlockState arg0)
method_24949(class_2680 arg0)
chooseStemState(BlockState arg0)
m_5971_(C_2064_ arg0)
protected Block
b()
getBodyBlock()
method_24946()
getPlant()
m_7777_()
protected BlockState
a(djh arg0, djh arg1)
updateBodyAfterConvertedFromHead(BlockState arg0, BlockState arg1)
method_33625(class_2680 arg0, class_2680 arg1)
copyState(BlockState arg0, BlockState arg1)
m_142643_(C_2064_ p_152988_, C_2064_ arg1)
protected BlockState
a(djh arg0, auv arg1)
getGrowIntoState(BlockState arg0, RandomSource arg1)
method_33626(class_2680 arg0, class_5819 arg1)
age(BlockState arg0, Random arg1)
m_214070_(C_2064_ p_220936_, C_212974_ arg1)
public ItemStack
a(cts arg0, hx arg1, djh arg2)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1599_ p_152967_, C_4675_ p_152968_, C_2064_ arg2)
public InteractionResult
a(djh arg0, ctp arg1, hx arg2, cfi arg3, bka arg4, elp arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_152981_, C_1596_ p_152982_, C_4675_ p_152983_, C_1141_ p_152984_, C_470_ p_152985_, C_3041_ arg5)
protected void
a(dji$a<cwq, djh> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public boolean
b(cts arg0, hx arg1, djh 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)
m_7370_(C_1599_ p_152971_, C_4675_ p_152972_, C_2064_ arg2)
public boolean
a(ctp arg0, auv arg1, hx arg2, djh 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)
m_214167_(C_1596_ p_220931_, C_212974_ p_220932_, C_4675_ p_220933_, C_2064_ arg3)
public void
a(and arg0, auv arg1, hx arg2, djh 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)
m_214148_(C_12_ p_220924_, C_212974_ p_220925_, C_4675_ p_220926_, C_2064_ arg3)