net.minecraft.world.level.block

public class BambooSaplingBlock

extends Block implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

dfb
net.minecraft.world.level.block.BambooSaplingBlock
net.minecraft.class_2202
net.minecraft.block.BambooShootBlock
net.minecraft.src.C_1682_
net.minecraft.world.level.block.BlockBambooSapling

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BambooSaplingBlock>
a
CODEC
field_46262
CODEC
f_302774_
protected static final float
b
SAPLING_AABB_OFFSET
field_31005
field_31005
f_152100_
protected static final VoxelShape
c
SAPLING_SHAPE
field_9897
SHAPE
f_48954_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BambooSaplingBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
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)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_49004_, C_1559_ p_49005_, C_4675_ p_49006_, C_3051_ arg3)
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)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_213898_(C_2064_ p_220754_, C_12_ p_220755_, C_4675_ p_220756_, C_212974_ arg3)
protected boolean
a(dtc arg0, dcz arg1, jd arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_48987_, C_1599_ p_48988_, C_4675_ arg2)
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_48991_, C_4687_ p_48992_, C_2064_ p_48993_, C_1598_ p_48994_, C_4675_ p_48995_, C_4675_ arg5)
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_48965_, C_4675_ p_48966_, C_2064_ arg2)
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_256527_, C_4675_ p_255620_, 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_220749_, C_212974_ p_220750_, C_4675_ p_220751_, 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_220744_, C_212974_ p_220745_, C_4675_ p_220746_, C_2064_ arg3)
protected float
a(dtc arg0, cmx arg1, dcc arg2, jd arg3)
getDestroyProgress(BlockState arg0, Player arg1, BlockGetter arg2, BlockPos arg3)
method_9594(class_2680 arg0, class_1657 arg1, class_1922 arg2, class_2338 arg3)
calcBlockBreakingDelta(BlockState arg0, PlayerEntity arg1, BlockView arg2, BlockPos arg3)
m_5880_(C_2064_ p_48982_, C_1141_ p_48983_, C_1559_ p_48984_, C_4675_ arg3)
protected void
a(dcw arg0, jd arg1)
growBamboo(Level arg0, BlockPos arg1)
method_9351(class_1937 arg0, class_2338 arg1)
grow(World world, BlockPos pos)
m_48972_(C_1596_ p_48974_, C_4675_ arg1)