public EntityVelocityMessage decode(ByteBuf buffer) throws IOException {
int id = buffer.readInt();
int vx = buffer.readUnsignedShort();
int vy = buffer.readUnsignedShort();
int vz = buffer.readUnsignedShort();
return new EntityVelocityMessage(id, vx, vy, vz);
}