From 32db9f913648e76af3139a20699341cbb34cc2be Mon Sep 17 00:00:00 2001 From: Pup <164761956+Pupggerss@users.noreply.github.com> Date: Sat, 11 Oct 2025 20:44:45 -0500 Subject: [PATCH] Added Sonic Explosion Particle (#6836) --- src/command/defaults/ParticleCommand.php | 3 ++ src/world/particle/SonicExplosionParticle.php | 35 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 src/world/particle/SonicExplosionParticle.php diff --git a/src/command/defaults/ParticleCommand.php b/src/command/defaults/ParticleCommand.php index 4867e3eb5..7d2c60c54 100644 --- a/src/command/defaults/ParticleCommand.php +++ b/src/command/defaults/ParticleCommand.php @@ -59,6 +59,7 @@ use pocketmine\world\particle\PortalParticle; use pocketmine\world\particle\RainSplashParticle; use pocketmine\world\particle\RedstoneParticle; use pocketmine\world\particle\SmokeParticle; +use pocketmine\world\particle\SonicExplosionParticle; use pocketmine\world\particle\SplashParticle; use pocketmine\world\particle\SporeParticle; use pocketmine\world\particle\TerrainParticle; @@ -234,6 +235,8 @@ class ParticleCommand extends VanillaCommand{ } } break; + case "sonicexplosion": + return new SonicExplosionParticle(); } return null; diff --git a/src/world/particle/SonicExplosionParticle.php b/src/world/particle/SonicExplosionParticle.php new file mode 100644 index 000000000..bc3eaa5d1 --- /dev/null +++ b/src/world/particle/SonicExplosionParticle.php @@ -0,0 +1,35 @@ +