int x = buffer.readInt();
int y = buffer.readUnsignedByte();
int z = buffer.readInt();
int data = buffer.readInt();
boolean volumeDecrease = buffer.readByte() != 0;
return new EffectMessage(id, x, y, z, data, volumeDecrease, NullRepositionManager.getInstance());
}