Skip to content

feat(api): Add pages-only constructor to BookImpl#1372

Merged
kezz merged 2 commits intoPaperMC:main/5from
Privatech38:feat/book-author
Apr 28, 2026
Merged

feat(api): Add pages-only constructor to BookImpl#1372
kezz merged 2 commits intoPaperMC:main/5from
Privatech38:feat/book-author

Conversation

@Privatech38
Copy link
Copy Markdown
Contributor

Closes #1348

@Privatech38 Privatech38 changed the title feat: Add pages-only constructor to BookImpl feat(api): Add pages-only constructor to BookImpl Feb 18, 2026
@kezz
Copy link
Copy Markdown
Member

kezz commented Feb 18, 2026

This is useless without an associated change to the book interface

@Privatech38
Copy link
Copy Markdown
Contributor Author

@kezz implemeted the creation methods

@kezz kezz self-assigned this Feb 19, 2026
@kezz kezz modified the milestones: 5.0.0, 5.1.0 Feb 19, 2026
fix: BookImpl's pages constructor not being final

feat: Add pages-only creation methods to Books API

feat: Add pages-only constructor
Comment thread api/src/main/java/net/kyori/adventure/inventory/Book.java Outdated
@kezz kezz removed this from the 5.1.0 milestone Apr 28, 2026
@kezz
Copy link
Copy Markdown
Member

kezz commented Apr 28, 2026

Thanks for the PR! Just made a few changes to simplify a bit of the logic here.

@kezz kezz added this to the 5.1.0 milestone Apr 28, 2026
@kezz kezz added this pull request to the merge queue Apr 28, 2026
Merged via the queue into PaperMC:main/5 with commit 898722f Apr 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Book author and title should be optional

3 participants