package ganymedes01.etfuturum.blocks;

import ganymedes01.etfuturum.EtFuturum;
import ganymedes01.etfuturum.IConfigurable;
import ganymedes01.etfuturum.core.utils.Utils;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;

public class CoarseDirt extends Block implements IConfigurable {

	public CoarseDirt() {
		super(Material.ground);
		setHardness(0.5F);
		setStepSound(soundTypeGravel);
		setBlockTextureName("coarse_dirt");
		setBlockName(Utils.getUnlocalisedName("coarse_dirt"));
		setCreativeTab(EtFuturum.enableCoarseDirt ? EtFuturum.creativeTab : null);
	}

	@Override
	public boolean isEnabled() {
		return EtFuturum.enableCoarseDirt;
	}
}
@@ -242,16 +242,190 @@
 aterial;
+%0Aimport net.minecraft.init.Blocks;%0Aimport net.minecraft.world.IBlockAccess;%0Aimport net.minecraftforge.common.IPlantable;%0Aimport net.minecraftforge.common.util.ForgeDirection;
 %0A%0Apublic
@@ -763,16 +763,222 @@
 l);%0A%09%7D%0A%0A
+%09@Override%0A%09public boolean canSustainPlant(IBlockAccess world, int x, int y, int z, ForgeDirection direction, IPlantable plant) %7B%0A%09%09return Blocks.dirt.canSustainPlant(world, x, y, z, direction, plant);%0A%09%7D%0A%0A
 %09@Overri

Fix Coarse Dirt not letting plants be placed on top of itself