float xOffset = buffer.readFloat();
float yOffset = buffer.readFloat();
float zOffset = buffer.readFloat();
float velocity = buffer.readFloat();
int amount = buffer.readInt();
return new ParticleEffectMessage(name, x, y, z, xOffset, yOffset, zOffset, velocity, amount, NullRepositionManager.getInstance());
}