NBTTagList resourceList = nbt.getTagList("resourceList", Constants.NBT.TAG_COMPOUND);
for (int i = 0; i < resourceList.tagCount(); ++i) {
NBTTagCompound cpt = resourceList.getCompoundTagAt(i);
ResourceId resourceId = ResourceId.load(cpt.getCompoundTag("resourceId"));
long robotId = cpt.getLong("robotId");
take(resourceId, robotId);
}