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);