Repository navigation
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Privatech38
suggested changes
Nov 28, 2026
Privatech38
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the PR, love jow you described the randomization type. I have a few comments which may be a little subjective.
| [](jd:paper:org.bukkit.Particle$RandomizationType), and can be selected with | ||
| [`ParticleBuilder.randomizationType(...)`](jd:paper:com.destroystokyo.paper.ParticleBuilder#randomizationType(org.bukkit.Particle.RandomizationType)), | ||
| or by using the `spawnParticle(...)` overload that takes `speedX`, `speedY`, `speedZ` and a randomization type. | ||
|
|
Contributor
There was a problem hiding this comment.
I would add a "The following types are available:"
Comment on lines
+65
to
+70
| :::note | ||
| Minecraft 26.3 renamed the particle `extra` value to `speed` and split it into three axes. Use | ||
| [`ParticleBuilder.speed(double)`](jd:paper:com.destroystokyo.paper.ParticleBuilder#speed(double)) to set all axes at | ||
| once, or [`ParticleBuilder.speed(double, double, double)`](jd:paper:com.destroystokyo.paper.ParticleBuilder#speed(double,double,double)) | ||
| to set each axis individually. The deprecated `ParticleBuilder.extra(...)` method is an alias for `speed(double)`. | ||
| ::: |
Contributor
There was a problem hiding this comment.
I think mentioning extra method is obsolote as the API has a @deprecated annotation which already explains the change.
Contributor
Author
|
Thanks for the review! Both are addressed in 31fe944: I added "The following types are available:" before the list and removed the sentence about the deprecated |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #801
Updates the particles guide for the 26.3 API changes:
Particle.RandomizationType(DEFAULT,ALTERNATIVE,ALTERNATIVE_WITH_SPEED) in thecountsection, based on its Javadoc, and how to select it withParticleBuilder.randomizationType(...)or the newspawnParticle(...)overload.ParticleBuilder.extra(...)withspeed(...)in the text and examples, and notes that the speed can now be set per axis.Checked with
astro buildlocally.