예제 #1
0
  public ItemStack k() {
    ItemStack itemstack = new ItemStack(this.d, this.b, this.f);

    if (this.e != null) {
      itemstack.e = (NBTTagCompound) this.e.b();
    }

    return itemstack;
  }
예제 #2
0
  public ItemStack a(int i0) {
    ItemStack itemstack = new ItemStack(this.d, i0, this.f);

    if (this.e != null) {
      itemstack.e = (NBTTagCompound) this.e.b();
    }

    this.b -= i0;
    return itemstack;
  }