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

fix: correctly save block orientations in structure schematics #3033

Merged
merged 2 commits into from
Dec 26, 2024

Conversation

PierreSchwang
Copy link
Member

Overview

Fixes #3028

Description

  • Fixes the linked issue
  • Migrate to lin-bus from jnbt
  • use datafixer if applicable

Submitter Checklist

Preview Give feedback

@PierreSchwang PierreSchwang requested a review from a team as a code owner December 17, 2024 23:43
@github-actions github-actions bot added the Bugfix This PR fixes a bug label Dec 17, 2024
write(clipboard, "FAWE");
}

public void write(Clipboard clipboard, String owner) throws IOException {
Copy link
Member

Choose a reason for hiding this comment

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

Is there a particular reason for removing owner? We should also have it as a deprecated method still to ensure API compatibility

Copy link
Member Author

Choose a reason for hiding this comment

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

author: Name of the player who created this structure. Only exists for structures saved before 1.13.

https://minecraft.wiki/w/Structure_file

Will add method again and delegate to write(Clipboard)

@dordsor21 dordsor21 merged commit a07fe26 into main Dec 26, 2024
11 checks passed
@dordsor21 dordsor21 deleted the fix/3028 branch December 26, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix This PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vanilla Schematic doesn't save blockstates correctly
4 participants