net.minecraft.block

public abstract class AbstractPlantPartBlock

extends Block

All mapped superinterfaces:

ItemConvertible

bxc
net.minecraft.world.level.block.GrowingPlantBlock
net.minecraft.class_4863
net.minecraft.block.AbstractPlantPartBlock
net.minecraft.unmapped.C_nplyatkk
net.minecraft.block.AbstractPlantBlock
net.minecraft.block.AbstractPlantBlock

Field summary

Modifier and TypeField
protected final Direction
a
growthDirection
field_22507
growthDirection
f_apoyndpe
field_235498_a_
growthDirection
protected final boolean
b
scheduleFluidTicks
field_22508
tickWater
f_tihjwtms
field_235499_b_
breaksInWater
protected final VoxelShape
c
shape
field_23080
outlineShape
f_ofvlmmit
field_235500_c_
shape

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater)

Method summary

Modifier and TypeMethod
public BlockState
a(bnv arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_iwedynhy(C_aiootljq arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext arg0)
public BlockState
a(brv arg0)
getStateForPlacement(LevelAccessor arg0)
method_24948(class_1936 arg0)
getRandomGrowthState(WorldAccess arg0)
m_pwnowzwf(C_vdvbsyle arg0)
func_235504_a_(IWorld arg0)
grow(IWorld world)
public boolean
a(cee arg0, brw arg1, fx 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_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
isValidPosition(BlockState arg0, IWorldReader arg1, BlockPos arg2)
public void
a(cee arg0, aag arg1, fx arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected boolean
c(bul arg0)
canAttachToBlock(Block arg0)
method_24947(class_2248 arg0)
canAttachTo(Block block)
m_ehrvjrtt(C_mmxmpdoq arg0)
func_230333_c_(Block arg0)
canGrowOn(Block block)
public VoxelShape
b(cee arg0, bqz arg1, fx arg2, dcp 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_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
protected abstract AbstractPlantStemBlock
c()
getHeadBlock()
method_24945()
getStem()
m_inibvmov()
func_230331_c_()
getTopPlantBlock()
protected abstract Block
d()
getBodyBlock()
method_24946()
getPlant()
m_oydhwfwm()
func_230330_d_()
getBodyPlantBlock()