Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gui move enhancement - GUI minimize #5021

Open
TheOne-Player opened this issue Nov 23, 2024 · 1 comment
Open

Gui move enhancement - GUI minimize #5021

TheOne-Player opened this issue Nov 23, 2024 · 1 comment
Labels
enhancement New feature or request.

Comments

@TheOne-Player
Copy link

Describe the feature

Current Behaviour of GUI Move

The current behaviour of GUI move allows using arrow keys and WASD to move. However, the following actions are not possible:

  • Mining
  • Placing blocks
  • Activating/deactivating keybinds
  • Hitting entities
  • Using projectiles
  • Using buttons
  • Doors
  • Firework rockets
  • etc.

With a GUI minimize feature, it will be possible to play Minecraft as normal, with the active GUI minimized (not visible).

How This Can Be Implemented (Pseudocode)

There can be a keybind that, when pressed, will first check the following conditions:

if (GUI is active) {
    if (GUI is not minimized) {
        GUI.minimize(true);
        HUD.updateGUIMinimizationStatus("Minimized");
    } else {
        GUI.minimize(false);
        HUD.updateGUIMinimizationStatus("Maximized");
    }
} else {
    chat.display("There is currently no active GUI to minimize.");
}


### Before submitting a suggestion

- [X] This feature doesn't already exist in the client. (I have checked every module and their settings on the **latest dev build**)

- [X] This wasn't already suggested. (I have searched suggestions on GitHub and read the FAQ)
@TheOne-Player TheOne-Player added the enhancement New feature or request. label Nov 23, 2024
@Jatc252
Copy link

Jatc252 commented Dec 3, 2024

What purpose would it serve to be in a GUI but with it not visible? Are you not just essentially playing then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants