rotating leaf particles, wind perturbation

This commit is contained in:
octarine-noise
2014-08-15 20:24:54 +02:00
parent dcbb636902
commit b407e51d19
6 changed files with 70 additions and 26 deletions

View File

@@ -104,7 +104,7 @@ public class BetterFoliageClient {
public static void onRandomDisplayTick(Block block, World world, int x, int y, int z) {
if (!leaves.matchesID(block) || !world.isAirBlock(x, y - 1, z)) return;
if (Math.random() > 0.25) return;
if (Math.random() > BetterFoliage.config.fallingLeavesChance.value) return;
Minecraft.getMinecraft().effectRenderer.addEffect(new EntityFXFallingLeaves(world, x, y, z));
}