net.minecraft.world.level.block

public class CaveVinesBlock

extends GrowingPlantHeadBlock implements BonemealableBlock, CaveVines

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, CaveVines

dgv
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(ayw arg0)
getBlocksToGrowWhenBonemealed(RandomSource arg0)
method_26376(class_5819 arg0)
getGrowthLength(Random arg0)
m_213627_(C_212974_ arg0)
protected boolean
g(dtc 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(dtc arg0, dtc 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(dtc arg0, ayw 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(dcz arg0, jd arg1, dtc 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)
protected InteractionResult
a(dtc arg0, dcw arg1, jd arg2, cmx arg3, ewy 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)
m_6227_(C_2064_ p_152981_, C_1596_ p_152982_, C_4675_ p_152983_, C_1141_ p_152985_, C_3041_ arg4)
protected void
a(dtd$a<dfy, dtc> 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(dcz arg0, jd arg1, dtc 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(dcw arg0, ayw arg1, jd arg2, dtc 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(aqu arg0, ayw arg1, jd arg2, dtc 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)