From b63e9910831410ae2436ee5f70ff8008cd8ff78c Mon Sep 17 00:00:00 2001 From: AViewFromTheTop <87103914+AViewFromTheTop@users.noreply.github.com> Date: Thu, 9 Jan 2025 01:41:01 -0500 Subject: [PATCH] bruh --- .../frozenblock/wilderwild/block/HugePaleMushroomBlock.java | 4 ++-- .../net/frozenblock/wilderwild/particle/PaleFogParticle.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/frozenblock/wilderwild/block/HugePaleMushroomBlock.java b/src/main/java/net/frozenblock/wilderwild/block/HugePaleMushroomBlock.java index 8bbd19b19..3c161c260 100644 --- a/src/main/java/net/frozenblock/wilderwild/block/HugePaleMushroomBlock.java +++ b/src/main/java/net/frozenblock/wilderwild/block/HugePaleMushroomBlock.java @@ -31,7 +31,7 @@ public class HugePaleMushroomBlock extends HugeMushroomBlock { public static final int MIN_PARTICLE_SPAWN_WIDTH = -3; public static final int MAX_PARTICLE_SPAWN_WIDTH = 3; public static final int MIN_PARTICLE_SPAWN_HEIGHT = -2; - public static final int MAX_PARTICLE_SPAWN_HEIGHT = 1; + public static final int MAX_PARTICLE_SPAWN_HEIGHT = -1; public static final int PARTICLE_SPAWN_ATTEMPTS = 7; public HugePaleMushroomBlock(Properties properties) { @@ -54,7 +54,7 @@ public void animateTick(BlockState state, Level level, BlockPos pos, RandomSourc k + Mth.nextInt(random, MIN_PARTICLE_SPAWN_WIDTH, MAX_PARTICLE_SPAWN_WIDTH) ); BlockState blockState = level.getBlockState(mutable); - if (!blockState.isCollisionShapeFullBlock(level, mutable) && random.nextFloat() <= 0.025F) { + if (!blockState.isCollisionShapeFullBlock(level, mutable) && random.nextFloat() <= 0.1F) { level.addParticle( WWParticleTypes.PALE_FOG, mutable.getX() + random.nextDouble(), diff --git a/src/main/java/net/frozenblock/wilderwild/particle/PaleFogParticle.java b/src/main/java/net/frozenblock/wilderwild/particle/PaleFogParticle.java index 448f7a6dd..7f361e474 100644 --- a/src/main/java/net/frozenblock/wilderwild/particle/PaleFogParticle.java +++ b/src/main/java/net/frozenblock/wilderwild/particle/PaleFogParticle.java @@ -109,6 +109,7 @@ public Particle createParticle( PaleFogParticle seedParticle = new PaleFogParticle(level, this.spriteProvider, x, y, z, 0D, 0D, 0D, true); seedParticle.lifetime = Mth.randomBetweenInclusive(random, 500, 1000); seedParticle.gravity = 0.005F; + seedParticle.alpha = 0.3F; return seedParticle; } }