package jfcraft.block;

/**
 *
 * @author pquiring
 */

import jfcraft.data.*;
import static jfcraft.data.Direction.*;

public class BlockLeaves extends BlockOpaqueVarPerf {
  public BlockLeaves(String name, String names[], String textures[], String textures2[]) {
    super(name, names, textures, textures2);
  }
  public boolean canSupportBlock(Coords c) {
    return (c.block.id == Blocks.SNOW);
  }
  //TODO : decay leaves
}

@@ -312,24 +312,88 @@
 extures2);%0D%0A
+    canSpawnOn = false;  //stop animals from spawning on trees%0D%0A
   %7D%0D%0A  publi

stop animals from spawning on trees