Does the GUI pause the game?

Published by Goldorion on
Issue description

Hi,

There are some Vanilla GUIs that pause the game like the Esc menu, and there is a method to decide if, when the GUI is opened, the GUI will pause the game or not (in single-player only evidently).

I found this method before Minecraft 1.13, but it should be the same.

    @Override
    public boolean doesGuiPauseGame()
    {
        return true;
    }

 

Issue comments