This could be due to this version creating over 1000 threads⚠️ , while 1.13.1 only needed around 50 threads, so your mac is busy scheduling all the tasks which causes much lag
Can no longer reproduce in 18w32a
Some code analysis based on MCPConfig for 1.13:
The last method in the stacktrace (called GuiInventory#onGuiClosed in MCP) is checking if the player is in creative mode to clean up the recipe book state. But the PlayedControllerMP is already null because we lost the connection to the remote server, and because GuiInventory doesn't handle a null PlayerControllerMP, the game crashes with an NPE
This can be fixed by increasing the count of "normal" channels in the Paulscode's Sound Libary. The default count is 28, so 28 normal (non-streaming) sounds can be played at the same time. If you call "SoundSystemConfig.setNumberNormalChannels(int)" with a value like 128, 128 normal sounds can be played in parallel. Choosing a high enough number fixes this issue.
This does not affect 1.13pre1, it seems to be fixed after testing a bit
Could be related to MC-137300 as it produces the same issue