Esempio n. 1
0
  protected void dropDeathLoot(boolean flag, int i) {
    EntityItem entityitem = this.a(Items.NETHER_STAR, 1);

    if (entityitem != null) {
      entityitem.u();
    }

    if (!this.world.isStatic) {
      Iterator iterator =
          this.world
              .a(EntityHuman.class, this.getBoundingBox().grow(50.0D, 100.0D, 50.0D))
              .iterator();

      while (iterator.hasNext()) {
        EntityHuman entityhuman = (EntityHuman) iterator.next();

        entityhuman.b((Statistic) AchievementList.J);
      }
    }
  }