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

Update to 1.21 (pack format 48) #23

Merged
merged 14 commits into from
Jun 17, 2024
Merged

Update to 1.21 (pack format 48) #23

merged 14 commits into from
Jun 17, 2024

Conversation

clo4
Copy link
Owner

@clo4 clo4 commented Jun 16, 2024

  • Updates the structure of the directories for 1.21 support (pack format 48)
  • Introduces a new build system that allows for backwards compatibility, individually building each package, and additional dependencies
  • Adds CI

clo4 added 14 commits June 8, 2024 14:21
This is currently not gated but will be in a future version.
Any packs with singular 'function' or 'advancement' directories will
have them duplicated for compatibility with older versions, so the min
version doesn't have to be bumped and it isn't any more effort to
maintain.
These files are no longer necessary because the build system has the
versions defined in the package definitions.
The intention is to make delevoping on Windows easier - typically the
only way you would be able to on Windows is either using WSL (with very
bad IO speed) or by remoting into another dev machine that's running
macOS or Unix. Instead, this opens a third option: native development
with remote building.
The versions were getting out of sync with reality because I was
keeping track of it manually and version bumps were vibes-based.

I now have a standard way to consider version changes:
#22 (comment)
Previously the pack formats and game version I had listed were 1.13.x
which was incorrect - I never bothered to test it. While theoretically
it should have mostly worked (except that `/schedule` was introduced in
1.14), the breaking issue was that scoreboard names were limited to 16
characters until 1.18 (pack format 8).
@clo4
Copy link
Owner Author

clo4 commented Jun 17, 2024

I've tested these datapacks, mostly in 1.18, so there shouldn't be any issues. I don't think it's critical if there are though. And AFK Sleep works in 1.20 so it should also work in 1.18 too. Happy enough with this to release it. Closes #22

@clo4 clo4 merged commit 8153f8d into main Jun 17, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

1 participant