Retexture leaf particles and move colouring to code
This commit is contained in:
@@ -20,6 +20,8 @@ public class ParticleLeaf extends ParticleCustomTexture {
|
|||||||
this.particleScale *= 1.4f;
|
this.particleScale *= 1.4f;
|
||||||
this.particleGravity = 0;
|
this.particleGravity = 0;
|
||||||
this.canCollide = true;
|
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
|
@Override
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 803 B |
Reference in New Issue
Block a user