diff --git a/purpur-server/minecraft-patches/sources/net/minecraft/world/item/BucketItem.java.patch b/purpur-server/minecraft-patches/sources/net/minecraft/world/item/BucketItem.java.patch index 15d7ab056..a784ee1c9 100644 --- a/purpur-server/minecraft-patches/sources/net/minecraft/world/item/BucketItem.java.patch +++ b/purpur-server/minecraft-patches/sources/net/minecraft/world/item/BucketItem.java.patch @@ -14,7 +14,7 @@ for (int i = 0; i < 8; i++) { - level.addParticle(ParticleTypes.LARGE_SMOKE, x + Math.random(), y + Math.random(), z + Math.random(), 0.0, 0.0, 0.0); -+ ((net.minecraft.server.level.ServerLevel) level).sendParticlesSource(null, ParticleTypes.LARGE_SMOKE, false, true, x + Math.random(), y + Math.random(), z + Math.random(), 1, 0.0D, 0.0D, 0.0D, 0.0D); // Purpur - Add allow water in end world option ++ ((net.minecraft.server.level.ServerLevel) level).sendParticlesSource(null, ParticleTypes.LARGE_SMOKE, true, false, x + Math.random(), y + Math.random(), z + Math.random(), 1, 0.0D, 0.0D, 0.0D, 0.0D); // Purpur - Add allow water in end world option } return true; diff --git a/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/DolphinSpit.java b/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/DolphinSpit.java index 8ffacde04..e489b1698 100644 --- a/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/DolphinSpit.java +++ b/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/DolphinSpit.java @@ -57,7 +57,7 @@ public class DolphinSpit extends LlamaSpit { Vec3 motDouble = mot.scale(2.0); for (int i = 0; i < 5; i++) { ((ServerLevel) level()).sendParticlesSource(null, ParticleTypes.BUBBLE, - false, true, + true, false, getX() + random.nextFloat() / 2 - 0.25F, getY() + random.nextFloat() / 2 - 0.25F, getZ() + random.nextFloat() / 2 - 0.25F, diff --git a/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/PhantomFlames.java b/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/PhantomFlames.java index 580d8dc55..bac5eee2d 100644 --- a/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/PhantomFlames.java +++ b/purpur-server/src/main/java/org/purpurmc/purpur/entity/projectile/PhantomFlames.java @@ -59,7 +59,7 @@ public class PhantomFlames extends LlamaSpit { Vec3 motDouble = mot.scale(2.0); for (int i = 0; i < 5; i++) { ((ServerLevel) level()).sendParticlesSource(null, ParticleTypes.FLAME, - false, true, + true, false, getX() + random.nextFloat() / 2 - 0.25F, getY() + random.nextFloat() / 2 - 0.25F, getZ() + random.nextFloat() / 2 - 0.25F,