-
-
Notifications
You must be signed in to change notification settings - Fork 225
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.18+ Book editing feature #876
Conversation
data/pc/common/features.json
Outdated
"name": "hasEditBookPacket", | ||
"description": "book editing is handled through a packet", | ||
"description": "book editing is handled through a packet with the updated book item", | ||
"versions": [ | ||
"1.13", | ||
"1.17.1" | ||
] | ||
}, | ||
{ | ||
"name": "hasNonNbtEditBookPacket", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feature naming is confusing here. Can you elaborate what exactly the difference in packet is before vs after?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding a new editBookPacketUsesNbt
feature then (to match old versions)? This seems clearer than the current naming between hasEditBookPacket
and hasNonNbtEditBookPacket
, as there is actaully an edit book packet on both version ranges.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
In 1.18 a new book editing packet was added
PrismarineJS/mineflayer#3204