## Highlights
- New savestate system ported from [LoTAS-Light](https://github.com/MinecraftTAS/LoTAS-Light)
- Added temporary savestates for `/record` and `/play`
## New
### Savestate Indexing
- `/savestate` now displays the savestates better, adding clickable elements into chat
- Savestates can now be renamed
- This can be done via `/savestate rename <index> <newName>`
- When savestating via hotkey, a gui screen will be displayed for renaming the savestate you just created
- Savestates now store the time and date, when they were created
- Can be seen when hovering over the savestate name
### Temporary savestates
Using `/record` and `/play` would be a bit limiting, since any change to the world, like breaking blocks may desync the TAS.
Now, a temporary savestate is created when starting a new recording with `/record` (i.e. when the input count is set to 0). Using `/play` will load that savestate at the beginning.
> [!NOTE]
> This will not impact the savestate 0 used for /fullrecord and /fullplay
Use `/record nosave` and `/play nosave` to get the old behaviour
### Savestate folder structure
Savestates are now grouped in a subfolder by worldname
Whereas before, the `.minecraft/saves/savestates` folder would look like this:
```
savestates/
βββ New-World-Savestate1
βββ New-World-Savestate2
βββ New-World--Savestate1
βββ New-World--Savestate2
βββ Worldname-Savestate1
βββ Worldname-Savestate2
βββ Worldname-Savestate3
βββ New-World-info.txt
βββ New-World--info.txt
βββ Worldname-info.txt
```
which made the savestate folder kind of a mess when using multiple worlds.
Now it looks like this
```
savestates/
βββ New-World-Savestates
β Β βββ New-World-Savestate1
β Β βββ New-World-Savestate2
β Β βββ New-World-info.txt
βββ New-World--Savestates
β Β βββ New-World--Savestate1
β Β βββ New-World--Savestate2
β Β βββ New-World--info.txt
βββ Worldname-Savestates
Β Β βββ Worldname-Savestate1
Β Β βββ Worldname-Savestate2
Β Β βββ Worldname-Savestate3
Β Β βββ Worldname-info.txt
```
where all savestates are grouped by world.
### Savestate data
Before, the savestate data was located in `worldname/tasmod/savestateData.txt`.
This made savestates incompatible with i.e. LoTAS which would store it in `worldname/lotas/savestateData.txt`.
To bring everything together, savestate data is now stored in `worldname/tas/savestate.json`
### Tickrate 0 Warn
Added a chat message that will notify you, when the game was automatically set to 0 and what hotkey to press to unpause.
## Fixes
- Fixed `/restartandplay` straight up not working
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }