-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Add pc 1.21.1 data #925
Add pc 1.21.1 data #925
Conversation
data/dataPaths.json
Outdated
@@ -1436,9 +1436,36 @@ | |||
"materials": "pc/1.20.5", | |||
"language": "pc/1.20.5", | |||
"entities": "pc/1.20.5", | |||
"protocol": "pc/1.20.5", | |||
"protocol": "pc/1.21", |
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.
this seems wrong
data/dataPaths.json
Outdated
"sounds": "pc/1.20.4", | ||
"proto": "pc/latest" | ||
}, | ||
"1.21": { |
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.
should we go straight to 1.21.1 ?
@extremeheat are you still working on this? I did some testing by connecting a nmp client using your protocol.json to a 1.21 server and some clientbound packets aren't processed successfully.
And player_chat and profileless_chat related errors that I fixed in #927 |
The
|
PrismarineJS/mineflayer#3480 chat back at being broken after the change here Should I undo PrismarineJS/prismarine-registry#42 ? |
Trying |
lol I just fixed the packet_explosion in my pr too, I'm going to pull your changes then |
_: soundId ? | ||
if 0: | ||
soundName: string | ||
range?: f32 |
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.
This is the same logic that is used for packet_entity_sound_effect, maybe a common type can be made to avoid duplication
No same if not using the change at prismarine registry Chat is timing out We need another change |
Also, wolf_variant metadata is broken |
#927 is ready to be merged into pc1.21 |
|
my bad, should've made a note PrismarineJS/prismarine-registry#42 now requires PrismarineJS/minecraft-data#932 |
* 1.21: add blocks enchantments foods language materials & tints * Fix enchantment category * 1.20.5: fix enchantCategories * 1.21: Add items.json * Add update informations for foods.json * 1.21: Add recipes.json * 1.21: protocol.json fix vibration particle * 1.21.1: Add sounds.json
@GroobleDierne "pickaxe not upside-down recipe test" is failing, can you check it? |
packet explosion seems to have issues
|
explosion_sound_name: string | ||
sound_range?: f32 | ||
soundId: varint | ||
_: soundId ? |
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.
this is super weird; are you sure?
it means sounds id must be 0 or the packet is invalid since there is no default
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.
going to add default: void
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.
No default defaults to void anyway no?
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.
no, no default means there is no default: other values are impossible and should crash
I'll look into that tomorrow |
so the problem was that missing items in recipes should be null; not -1 |
Yep I also updated the sounds generator for 1.21 this afternoon, I'll upstream everything. |
/makerelease |
No description provided.