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

ItemData/BlockCompat - strip out BlockState middleman #6473

Merged
merged 8 commits into from
Mar 30, 2024

Conversation

ShaneBeee
Copy link
Contributor

@ShaneBeee ShaneBeee commented Mar 3, 2024

Description

This PR was originally meant to fix an issue with FallingBlocks loading chunk(0,0).
It turned into stripping out all references of BlockState in ItemType/ItemData/BlockCompat.
It turned into deprecating all references of BlockState in ItemType/ItemData/BlockCompat and using BlockData instead.
These classes never cached nor actually ever used BlockState, it was merely a middle man to get to BlockData.
My guess is this was a pre-1.13 thing that just never properly got stripped out.


Target Minecraft Versions: any
Requirements: none
Related Issues: #6471

@AyhamAl-Ali AyhamAl-Ali added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Mar 3, 2024
@ShaneBeee ShaneBeee changed the base branch from master to dev/patch March 3, 2024 19:09
Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

double approval!

@sovdeeth sovdeeth added the 2.8 Targeting a 2.8.X version release label Mar 3, 2024
@AyhamAl-Ali AyhamAl-Ali added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Mar 5, 2024
@Moderocky Moderocky merged commit e3d357b into SkriptLang:dev/patch Mar 30, 2024
4 checks passed
@ShaneBeee ShaneBeee deleted the fix/itemData-blockstate branch March 30, 2024 17:52
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