private double PlantHealth() { BlockPos posBelow = Blockentity.Pos.DownCopy(); if (Blockentity.Api.World.BlockAccessor.GetBlockEntity(posBelow) is BlockEntityFarmland bef) { return bef.GetGrowthRate(); } return 1.0; }