Skip to content

fix particle packets on 1.21.3-1.21.11#1179

Open
MayorLeon20 wants to merge 3 commits into
PrismarineJS:masterfrom
MayorLeon20:contribute
Open

fix particle packets on 1.21.3-1.21.11#1179
MayorLeon20 wants to merge 3 commits into
PrismarineJS:masterfrom
MayorLeon20:contribute

Conversation

@MayorLeon20
Copy link
Copy Markdown

@MayorLeon20 MayorLeon20 commented May 6, 2026

updated trail, dust, dust_color_transition particles according to https://minecraft.wiki/w/Java_Edition_protocol/Particles + https://minecraft.wiki/w/Particles#Java_Edition

@extremeheat
Copy link
Copy Markdown
Member

Do you have a link to source code for these changes?

@MayorLeon20
Copy link
Copy Markdown
Author

Do you have a link to source code for these changes?

no, only the links I sent earlier

@MayorLeon20
Copy link
Copy Markdown
Author

@extremeheat

@MayorLeon20 MayorLeon20 closed this May 9, 2026
@MayorLeon20 MayorLeon20 reopened this May 9, 2026
@MayorLeon20
Copy link
Copy Markdown
Author

by accident

@MayorLeon20
Copy link
Copy Markdown
Author

extremeheat/extracted_minecraft_data@5039f20
This commit in client\net\minecraft\core\particles\DustParticleOptions.java changes the argument type from vec3f to a regular integer. => The color is specified with one parameter instead of three. + The getColor function now converts from RGB24 to vector3f.

Similarly for client\net\minecraft\core\particles\DustColorTransitionOptions.java

extremeheat/extracted_minecraft_data@caf65bf
This commit changes the particle trail options file from client\net\minecraft\core\particles\TargetColorParticleOption.java to client\net\minecraft\core\particles\TrailParticleOption.java
You can see the new duration parameter.

@MayorLeon20
Copy link
Copy Markdown
Author

@extremeheat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants