@Override
 public void readData(DataInputStream in) throws IOException {
   string1 = readString(in, 16);
   string2 = readString(in, 32);
   byte1 = in.readByte();
 }
 public void readData(DataInputStream in) throws IOException {
   entityId = in.readInt();
   effectId = in.readByte();
   effectAmp = in.readByte();
   duration = in.readShort();
 }