if (ForgeHooks.onCropsGrowPre(worldIn, pos, state, canGrow))
if (ForgeHooks.onCropsGrowPre(worldIn, pos, state, canGrow))
if (ForgeHooks.onCropsGrowPre(worldIn, pos, state, canGrow))
if (ForgeHooks.onCropsGrowPre(worldIn, pos, state, canGrow))
if (ForgeHooks.onCropsGrowPre(worldIn, pos, state, rand.nextInt((int) (25.0F / f) + 1) == 0))
float f = getGrowthChance(this, worldIn, pos) + ConfigHandler.cropGrowthSpeed; if(net.minecraftforge.common.ForgeHooks.onCropsGrowPre(worldIn, pos, state, rand.nextInt((int)(50.0F / f) + 1) == 0)) { worldIn.setBlockState(pos, this.getStateFromMeta(currentGrowthLevel + 1), 2); net.minecraftforge.common.ForgeHooks.onCropsGrowPost(worldIn, pos, state, worldIn.getBlockState(pos));