public void a(NBTTagCompound nbttagcompound) {
    NBTTagCompound nbttagcompound1 = nbttagcompound.getCompound("Item");

    if (nbttagcompound1 != null && !nbttagcompound1.isEmpty()) {
      this.setItem(ItemStack.createStack(nbttagcompound1));
      this.setRotation(nbttagcompound.getByte("ItemRotation"));
      if (nbttagcompound.hasKeyOfType("ItemDropChance", 99)) {
        this.e = nbttagcompound.getFloat("ItemDropChance");
      }
    }

    super.a(nbttagcompound);
  }