net.minecraft.block

public class WheatBlock

extends PlantBlock implements Fertilizable

All mapped superinterfaces:

ItemLike, Fertilizable

bdv
net.minecraft.class_122
net.minecraft.block.WheatBlock
net.minecraft.block.BlockCrops
net.minecraft.block.BlockCrops

Field summary

Modifier and TypeField
public static final IntegerProperty
b
field_18264
AGE
field_176488_a
AGE
private static final VoxelShape[]
a
field_18263
SHAPES
field_196393_a
SHAPE_BY_AGE

Constructor summary

ModifierConstructor
protected (Block$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(blc arg0, axk arg1, el arg2)
method_11554(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2)
func_196244_b(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
getShape(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
protected boolean
b(blc arg0, axk arg1, el arg2)
method_16634(class_2232 arg0, class_1158 arg1, class_2552 arg2)
canBePlacedOn(BlockState arg0, BlockView arg1, BlockPos arg2)
func_200014_a_(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
isValidGround(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
public IntegerProperty
d()
method_11594()
getAgeProperty()
func_185524_e()
getAgeProperty()
public int
e()
method_11596()
getMaxAge()
func_185526_g()
getMaxAge()
protected int
k(blc arg0)
method_11598(class_2232 arg0)
getAge(BlockState state)
func_185527_x(IBlockState arg0)
getAge(IBlockState state)
public BlockState
b(int arg0)
method_11595(int arg0)
setAge(int age)
func_185528_e(int arg0)
withAge(int age)
public boolean
w(blc arg0)
method_11599(class_2232 arg0)
isMaxAge(BlockState state)
func_185525_y(IBlockState arg0)
isMaxAge(IBlockState state)
public void
a(blc arg0, axy arg1, el arg2, Random arg3)
method_8661(class_2232 arg0, class_1150 arg1, class_2552 arg2, Random arg3)
tick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
public void
a(axy arg0, el arg1, blc arg2)
method_11597(class_1150 arg0, class_2552 arg1, class_2232 arg2)
growFully(World world, BlockPos pos, BlockState state)
func_176487_g(World arg0, BlockPos arg1, IBlockState arg2)
grow(World worldIn, BlockPos pos, IBlockState state)
protected int
a(axy arg0)
method_11593(class_1150 arg0)
getRandomAgeIncrease(World world)
func_185529_b(World arg0)
getBonemealAgeIncrease(World worldIn)
protected static float
a(bcs arg0, axk arg1, el arg2)
method_8714(class_197 arg0, class_1158 arg1, class_2552 arg2)
getGrowthSpeed(Block arg0, BlockView arg1, BlockPos arg2)
func_180672_a(Block arg0, IBlockReader arg1, BlockPos arg2)
getGrowthChance(Block blockIn, IBlockReader worldIn, BlockPos pos)
public boolean
a(blc arg0, ayc arg1, el arg2)
method_16570(class_2232 arg0, class_3599 arg1, class_2552 arg2)
canBePlaced(BlockState arg0, WorldView arg1, BlockPos arg2)
func_196260_a(IBlockState arg0, IWorldReaderBase arg1, BlockPos arg2)
isValidPosition(IBlockState arg0, IWorldReaderBase arg1, BlockPos arg2)
protected ItemLike
f()
method_6469()
getSeedItem()
func_199772_f()
getSeedsItem()
protected ItemLike
g()
method_6468()
getPlantItem()
func_199773_g()
getCropsItem()
public void
a(blc arg0, axy arg1, el arg2, float arg3, int arg4)
method_410(class_2232 arg0, class_1150 arg1, class_2552 arg2, float arg3, int arg4)
dropItems(BlockState arg0, World arg1, BlockPos arg2, float arg3, int arg4)
func_196255_a(IBlockState arg0, World arg1, BlockPos arg2, float arg3, int arg4)
dropBlockAsItemWithChance(IBlockState arg0, World arg1, BlockPos arg2, float arg3, int arg4)
public ItemLike
a(blc arg0, axy arg1, el arg2, int arg3)
method_16568(class_2232 arg0, class_1150 arg1, class_2552 arg2, int arg3)
getDropItem(BlockState arg0, World arg1, BlockPos arg2, int arg3)
func_199769_a(IBlockState arg0, World arg1, BlockPos arg2, int arg3)
getItemDropped(IBlockState arg0, World arg1, BlockPos arg2, int arg3)
public ItemStack
a(axk arg0, el arg1, blc arg2)
method_8640(class_1158 arg0, class_2552 arg1, class_2232 arg2)
getPickItem(BlockView arg0, BlockPos arg1, BlockState arg2)
func_185473_a(IBlockReader arg0, BlockPos arg1, IBlockState arg2)
getCollisionShape(IBlockReader arg0, BlockPos arg1, IBlockState arg2)
public boolean
a(axk arg0, el arg1, blc arg2, boolean arg3)
method_6460(class_1158 arg0, class_2552 arg1, class_2232 arg2, boolean arg3)
canGrow(BlockView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
func_176473_a(IBlockReader arg0, BlockPos arg1, IBlockState arg2, boolean arg3)
canGrow(IBlockReader arg0, BlockPos arg1, IBlockState arg2, boolean arg3)
public boolean
a(axy arg0, Random arg1, el arg2, blc arg3)
method_6461(class_1150 arg0, Random arg1, class_2552 arg2, class_2232 arg3)
canBeFertilized(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
func_180670_a(World arg0, Random arg1, BlockPos arg2, IBlockState arg3)
canUseBonemeal(World arg0, Random arg1, BlockPos arg2, IBlockState arg3)
public void
b(axy arg0, Random arg1, el arg2, blc arg3)
method_6462(class_1150 arg0, Random arg1, class_2552 arg2, class_2232 arg3)
grow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
func_176474_b(World arg0, Random arg1, BlockPos arg2, IBlockState arg3)
grow(World arg0, Random arg1, BlockPos arg2, IBlockState arg3)
protected void
a(ble$a<bcs, blc> arg0)
method_16576(class_2233$class_3757<class_197, class_2232> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, IBlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, IBlockState> arg0)