Jump to content

[1.16] How do I fix this?


deathbyaeth3r

Recommended Posts

The method addParticle(IParticleData, double, double, double, double, double, double) in the type World is not applicable for the arguments (RegistryObject<BasicParticleType>, double, double, double, double, double, double)

 

The error is showing up at this line of code

this.world.addParticle(ParticleList.DRAGONFIRE_PARTICLE, this.getPosX() - vec3d1.x, this.getPosY() - vec3d1.y + 0.15D, this.getPosZ() - vec3d1.z, 0.0D, 0.0D, 0.0D);

 

Edited by deathbyaeth3r
Link to comment
Share on other sites

Well, yeah.

I've tried changing RegistryObject<BasicParticleType> to IParticleData but It just crashes with the error "Caused by: java.io.FileNotFoundException: minecraft:particles/dragonfire_particle.json" which makes no sense.

Edited by deathbyaeth3r
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.