net.minecraft.block

public class TorchflowerBlock

extends CropBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Fertilizable

net.minecraft.world.level.block.TorchflowerCropBlock
net.minecraft.class_8171
net.minecraft.block.TorchflowerBlock

Field summary

Modifier and TypeField
public static final int
MAX_AGE
field_42775
field_42775
public static final IntProperty
AGE
field_42776
AGE
private static final VoxelShape[]
SHAPES
field_55804
SHAPES_BY_AGE
private static final int
BONEMEAL_INCREASE
field_44479
field_44479

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected IntProperty
getAgeProperty()
method_9824()
getAgeProperty()
public int
getMaxAge()
method_9827()
getMaxAge()
protected ItemConvertible
getBaseSeedId()
method_9832()
getSeedsItem()
public BlockState
getStateForAge(int age)
method_9828(int arg0)
withAge(int arg0)
public void
randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected int
getBonemealAgeIncrease(Level level)
method_9831(class_1937 arg0)
getGrowthAmount(World arg0)
private static VoxelShape
lambda$static$0(int arg0)
method_66469(int arg0)
method_66469(int age)