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

1.20.5 Support #6617

Merged
merged 23 commits into from
May 1, 2024
Merged

1.20.5 Support #6617

merged 23 commits into from
May 1, 2024

Conversation

APickledWalrus
Copy link
Member

@APickledWalrus APickledWalrus commented Apr 27, 2024

Description

This PR aims to provide basic support for 1.20.5. That is, Skript will load and unload without errors.

Due to the data component changes in 1.20.5, any NBT based alias broke. This PR includes changes to the alias loading process to support data components in aliases. Item components for aliases are written as follows: minecraft:potion {minecraft:potion_contents={"potion":"minecraft:night_vision"}}. Internally, {<>} is treated as [<>] and the string within is assumed to be a valid data component format. For more details, see:

NOTE: The skript-aliases PR is required and must be merged first. Once it is merged, I will update this PR to revert the changes to the submodule settings.


Target Minecraft Versions: any
Requirements: none
Related Issues: fixes #6629

It now targets to the 1.20.5 support branch
This is useful for items that have NBT that is not represented by an ItemMeta implementation (e.g. block entity data)
@APickledWalrus APickledWalrus added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. 2.8 Targeting a 2.8.X version release labels Apr 27, 2024
Copy link
Contributor

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAY! :pepe_clap: (use your imagination)

@Moderocky Moderocky added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Apr 27, 2024
@APickledWalrus APickledWalrus changed the title Basic 1.20.5 Support 1.20.5 Support Apr 30, 2024
We cannot use EasyMock on Java 21 as we must stay on an older version (see #6204 (comment))
Java 21 will be supported for regular testing. A 1.20.4 environment remains for Java 17
.github/workflows/java-17-builds.yml Outdated Show resolved Hide resolved
.github/workflows/java-21-builds.yml Outdated Show resolved Hide resolved
@Fusezion Fusezion mentioned this pull request May 1, 2024
1 task
@Moderocky Moderocky merged commit b3b8981 into dev/patch May 1, 2024
5 checks passed
@Moderocky Moderocky deleted the patch/1.20.5-support branch May 1, 2024 14:56
@APickledWalrus APickledWalrus restored the patch/1.20.5-support branch May 1, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.8 Targeting a 2.8.X version release bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants