entityTag.setTag("widgets", stackTag.getTagList("widgets", 10).copy());
entityTag.setFloat("currentAir", stackTag.getFloat("currentAir"));
NBTTagCompound invTag = stackTag.getCompoundTag("Inventory");
if(invTag != null) entityTag.setTag("Inventory", invTag.copy());
}
drone.readEntityFromNBT(entityTag);
if(iStack.hasDisplayName()) drone.setCustomNameTag(iStack.getDisplayName());
drone.naturallySpawned = false;
drone.onSpawnWithEgg(null);
iStack.stackSize--;