Retexture leaf particles and move colouring to code

This commit is contained in:
Electroblob
2018-06-24 15:51:28 +01:00
parent d0bf90b900
commit 9464b3a084
2 changed files with 2 additions and 0 deletions
@@ -20,6 +20,8 @@ public class ParticleLeaf extends ParticleCustomTexture {
this.particleScale *= 1.4f;
this.particleGravity = 0;
this.canCollide = true;
// Produces a variety of browns and greens
this.setRBGColorF(0.1f + 0.3f * world.rand.nextFloat(), 0.5f + 0.3f * world.rand.nextFloat(), 0.1f);
}
@Override