コード例 #1
0
 /**
  * Obtain seeds dropped when the plant is picked. Multiple drops of the returned ItemStack can
  * occur. Default action is generating a seed from this crop.
  *
  * @param crop reference to ICropTile
  * @return Seeds
  */
 public ItemStack getSeeds(ICropTile crop) {
   return crop.generateSeeds(
       crop.getID(), crop.getGrowth(), crop.getGain(), crop.getResistance(), crop.getScanLevel());
 }