Пример #1
0
  /** Drop 0-2 items of this living's type */
  @Override
  protected void dropFewItems(boolean par1, int par2) {
    float ageMod = TFC_Core.getPercentGrown(this);
    this.dropItem(Items.feather, (int) (ageMod * this.size_mod * (5 + this.rand.nextInt(10))));

    if (isAdult()) {
      float foodWeight =
          ageMod
              * (this.size_mod
                  * 40); // 528 oz (33lbs) is the average yield of lamb after slaughter and
                         // processing
      TFC_Core.animalDropMeat(this, TFCItems.chickenRaw, foodWeight);
      this.dropItem(Items.bone, rand.nextInt(2) + 1);
    }
  }