Skip to content
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

Rename and document the SimpleParticleType class #3840

Merged
merged 2 commits into from
Apr 7, 2024

Conversation

haykam821
Copy link
Contributor

This pull request implements one of three proposed changes in #3836 (comment) while introducing documentation to clarify the use of the SimpleParticleType class.

The changed name should better reflect that the particle type is simple (having one variant) rather than default (having multiple variants but currently representing a default one). The documentation clears up cases such as the following code:

ParticleEffect effect = ParticleTypes.SNOWFLAKE;

@haykam821 haykam821 added refactor A PR that renames existing names. snapshot A PR that targets a snapshot version of Minecraft javadoc A PR that adds or refactors javadoc. labels Apr 7, 2024
@Juuxel Juuxel requested a review from a team April 7, 2024 20:37
@Shnupbups Shnupbups merged commit 327f91f into FabricMC:24w14a Apr 7, 2024
6 checks passed
@haykam821 haykam821 deleted the simple-particle-type branch April 7, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javadoc A PR that adds or refactors javadoc. refactor A PR that renames existing names. snapshot A PR that targets a snapshot version of Minecraft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants