registerChatIcon
registerChatIcon: (ChatIconManager, BufferedImage) -> numberAdd image as a chat icon (ImageUtil.getImageIndexedSprite: at most 255 opaque colours, every other pixel transparent); its id. It gets its slot at the next client tick, so chatIconIndex(id) is -1 until then. An AsyncBufferedImage is refused ("invalid image").