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

feat: improved particle api #2107

Closed
wants to merge 1 commit into from
Closed

Conversation

DeidaraMC
Copy link
Collaborator

Improves the Particle API by giving each particle with custom data its own class with well named methods to specify the data.
Removes the concept of supplying harmful particle data.

Example API change
Particle.BLOCK.withData(new BlockParticleData(Block.DIRT)) -> Particle.BLOCK.withBlock(Block.DIRT)

@mworzala mworzala added this to the 1.20.5 milestone Apr 29, 2024
@mworzala
Copy link
Member

Superseded by #2166

@mworzala mworzala closed this May 30, 2024
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.

None yet

2 participants