Skip to content

Conversation

@ScribbleTAS
Copy link
Member

Sometimes, you just want to tab out of the game, while a TAS is running. But this proved to be difficult, as the mouse is reset to the game window, whenever a gui is opened.

This change eliminates cursor setting when the following 3 conditions are met:

  1. The game is currently playing back a TAS
  2. The option "pauseOnLostFocus" is off (F3+P)
  3. The game is tabbed out

There will be some visual glitches with items floating around, when the TAS picks them up in containers, but other than that, it will work...

@ScribbleTAS ScribbleTAS added Core Issue relates to core concepts Gui Issue relates to guis labels Mar 30, 2025
@ScribbleTAS ScribbleTAS requested a review from PancakeTAS March 30, 2025 19:58
@ScribbleTAS ScribbleTAS self-assigned this Mar 30, 2025
@github-project-automation github-project-automation bot moved this to Todo in TASmod Mar 30, 2025
@ScribbleTAS ScribbleTAS merged commit a840663 into MinecraftTAS:develop Mar 30, 2025
2 checks passed
@ScribbleTAS ScribbleTAS deleted the feature/lost-focus branch March 30, 2025 20:06
@github-project-automation github-project-automation bot moved this from Todo to Done in TASmod Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Issue relates to core concepts Gui Issue relates to guis

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Playback without having Minecraft focused

2 participants