String title = VanillaByteBufUtils.readString(buffer);
int x = buffer.readInt();
int y = buffer.readInt();
int z = buffer.readInt();
int direction = buffer.readInt();
return new EntityPaintingMessage(id, title, x, y, z, direction, NullRepositionManager.getInstance());
}