Esempio n. 1
0
  public EntityItem a(int i1, int j1, float f1) {
    EntityItem entityitem = new EntityItem(l, p, q + (double) f1, r, new ItemStack(i1, j1));

    entityitem.c = 10;
    l.a(entityitem);
    return entityitem;
  }
Esempio n. 2
0
  public void g(World world, int i, int j, int k, int l) {
    int i1 = Item.aB.ba;
    float f = 0.7F;
    double d1 = (double) (world.l.nextFloat() * f) + (double) (1.0F - f) * 0.5D;
    double d2 = (double) (world.l.nextFloat() * f) + (double) (1.0F - f) * 0.5D;
    double d3 = (double) (world.l.nextFloat() * f) + (double) (1.0F - f) * 0.5D;
    EntityItem entityitem =
        new EntityItem(
            world, (double) i + d1, (double) j + d2, (double) k + d3, new ItemStack(i1, 1, 0));

    entityitem.c = 10;
    world.a(((Entity) (entityitem)));
    world.e(i, j, k, 0);
  }