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

Packtest and Minecraft 1.21.5 #10

Closed
theogiraudet opened this issue Mar 22, 2025 · 4 comments
Closed

Packtest and Minecraft 1.21.5 #10

theogiraudet opened this issue Mar 22, 2025 · 4 comments

Comments

@theogiraudet
Copy link

Hi Misode!

First, thank you very much for this mod, we use it a lot for Bookshelf and we've saved a lot of time detecting regressions in the code, so it's really appreciated!
The release of Minecraft 1.21.5 is imminent, and with that, the Gametest API you are using will be opened.
I believe there is also a lot of breaking change concerning this API (usage of registry now, "gametest" split into "test" and "instance", new test blocks, etc.).
As a result, we are wondering about future updates to packtest.
Do the changes have a strong impact on the mode itself?
Will you change the commands you propose to reify them with Minecraft's or will you continue with your own commands?
The main idea for us is to have a vision of at what point we will have to rewrite our tests and when.
Thanks again for the mod, and for your answer :)

@misode
Copy link
Owner

misode commented Mar 22, 2025

Hi! Sorry for not having updated the mod to 1.21.5 yet! I'm very much planning to do so, hopefully soon, since we also use this for Gamemode 4.

I'm aware that there are some significant breaking changes, but haven't looked at them in detail. It seems very doable to support 1.21.5 with minimal to no breaking changes of the current packtest format.

@theogiraudet
Copy link
Author

No problem, thank you very much for your feedback :)

@misode
Copy link
Owner

misode commented Mar 25, 2025

@theogiraudet I've published a first beta version for the 1.21.5 release candidates: https://modrinth.com/mod/packtest/version/yJiy4jNB

The only breaking change I'm aware of is the removal of the @batch, @beforebatch, and @afterbatch directives. And a known issue: /reload is completely broken. Feel free to test this and report any other issues!

@misode misode closed this as completed Mar 25, 2025
@theogiraudet
Copy link
Author

Thank you very much for this really fast update! We will try that ASAP :)

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

No branches or pull requests

2 participants