Exemplo n.º 1
0
  @Override
  protected void dropFewItems(boolean hitByPlayerRecently, int lootingLevel) {
    super.dropFewItems(hitByPlayerRecently, lootingLevel);

    if (hitByPlayerRecently && (rand.nextInt(3) == 0 || rand.nextInt(1 + lootingLevel) > 0)) {
      dropItem(Items.spider_eye, 1);
    }
  }