Hello guys i have question How i change. The arrow particle Is name particle: CriticalParticle I want to change this particle in arrow to angryvillagerparticle So how i can do this Please i want answer
Please provide an example of what you attempted to do this, as per the new forum rules. That helps anyone viewing this thread, therefore helping you.
He is give me this link but i don't know how i can use this code I tried but i don't know So if you know how i can use this code please tell me
In theory, I think you would just change the type of particle used. However, I tested that on my server and had no success. It stayed the same Critical Particle. Perhaps it is something involving the client. If you have no idea about php or what you are trying to do, please look at the many many resources available to learn about Pocketmine and PHP. Nobody can help you if you can't help yourself.
I guess one way to do it for me is download the carpet "src" and after I go where is "src/ pocketmine/entity/ Arrow.php And add for example PHP: use pocketmine\level\particle\HeartParticle; And after change to PHP: $this->level->addParticle(new HeartParticle($this->add( $this->width / 2 + mt_rand(-100, 100) / 500, $this->height / 2 + mt_rand(-100, 100) / 500, $this->width / 2 + mt_rand(-100, 100) / 500))); And make it phar I guess this should work I think xD