net.minecraft.world.level.block

public class SweetBerryBushBlock

extends BushBlock implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

doc
net.minecraft.world.level.block.SweetBerryBushBlock
net.minecraft.class_3830
net.minecraft.unmapped.C_poezjjlg
net.minecraft.block.SweetBerryBushBlock
net.minecraft.block.SweetBerryBushBlock
net.minecraft.src.C_1935_
net.minecraft.world.level.block.BlockSweetBerryBush

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SweetBerryBushBlock>
a
CODEC
field_46468
f_oldqstau
CODEC
CODEC
f_302302_
private static final float
d
HURT_SPEED_THRESHOLD
field_31260
f_xrieoxmk
MIN_MOVEMENT_FOR_DAMAGE
HURT_SPEED_THRESHOLD
f_154738_
public static final int
b
MAX_AGE
field_31259
f_hkjkzvus
MAX_AGE
MAX_AGE
f_154737_
public static final IntegerProperty
c
AGE
field_17000
f_jprytqio
AGE
AGE
f_57244_
private static final VoxelShape
e
SAPLING_SHAPE
field_17001
f_bsvcgytp
SMALL_SHAPE
SMALL_SHAPE
f_57245_
private static final VoxelShape
f
MID_GROWTH_SHAPE
field_17002
f_kbxlwxau
LARGE_SHAPE
LARGE_SHAPE
f_57246_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SweetBerryBushBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
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)
m_jsiqlbgd(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1599_ p_57257_, C_4675_ p_57258_, C_2064_ arg2)
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_57292_, C_1559_ p_57293_, C_4675_ p_57294_, C_3051_ arg3)
protected boolean
d_(dtc arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_rmjjhoiz(C_txtbiemp arg0)
hasRandomTicks(BlockState arg0)
getRandomTicks(BlockState arg0)
m_51695_(C_2064_ arg0)
protected void
b(dtc arg0, aqu arg1, jd arg2, ayw arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213898_(C_2064_ p_222564_, C_12_ p_222565_, C_4675_ p_222566_, C_212974_ arg3)
protected void
a(dtc arg0, dcw arg1, jd arg2, bsr arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
m_lmjnycyw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_astfners arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
m_7892_(C_2064_ p_57271_, C_1596_ p_57272_, C_4675_ p_57273_, C_507_ arg3)
protected ItemInteractionResult
a(cuq arg0, dtc arg1, dcw arg2, jd arg3, cmx arg4, bqq arg5, ewy arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
m_jzhgkbwu(C_sddaxwyk arg0, C_txtbiemp arg1, C_cdctfzbn arg2, C_hynzadkk arg3, C_jzrpycqo arg4, C_laxmzoqs arg5, C_jdakttms arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
onInteract(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_333435_, C_2064_ p_336209_, C_1596_ p_329457_, C_4675_ p_336064_, C_1141_ p_336388_, C_470_ p_334205_, C_3041_ arg6)
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)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_334365_, C_1596_ p_328580_, C_4675_ p_332233_, C_1141_ p_329481_, 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)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> 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)
m_lqjmmujl(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7370_(C_1599_ p_57261_, C_4675_ p_57262_, 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)
m_mxdrxjjx(C_cdctfzbn arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
canFertilize(World arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214167_(C_1596_ p_222559_, C_212974_ p_222560_, C_4675_ p_222561_, 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)
m_tbosypih(C_bdwnwhiu arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
fertilize(ServerWorld arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214148_(C_12_ p_222554_, C_212974_ p_222555_, C_4675_ p_222556_, C_2064_ arg3)