state¶ Returns the current state of the Minecraft instance as a string. This is figured out from the game's window title and internal state tracking. Arguments¶ None Return values¶ state: string This function can be called at any time.