@Override
 public void writeToNBT(NBTTagCompound NBT) {
   super.writeToNBT(NBT);
   if (brainPos != null) writePos(NBT, brainPos, "brainP");
   NBT.setBoolean("brainPath", canPathFindTheBrain);
 }
 @Override
 public void readFromNBT(NBTTagCompound NBT) {
   super.readFromNBT(NBT);
   brainPos = readPos(NBT, "brainP");
   canPathFindTheBrain = NBT.getBoolean("brainPath");
 }