package com.ferreusveritas.dynamictrees.blocks;

import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.particle.ParticleDigging;
import net.minecraft.client.particle.ParticleManager;
import net.minecraft.util.BlockRenderLayer;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.RayTraceResult;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.common.property.IExtendedBlockState;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockRootyDirt extends BlockRooty {
	
	static String name = "rootydirt";
		
	public BlockRootyDirt(boolean isTileEntity) {
		this(name + (isTileEntity ? "species" : ""), isTileEntity);
	}
	
	public BlockRootyDirt(String name, boolean isTileEntity) {
		super(name, Material.GROUND, isTileEntity);
	}
	
	///////////////////////////////////////////
	// BLOCKSTATES
	///////////////////////////////////////////
	
	@Override
	public IBlockState getMimic(IBlockAccess access, BlockPos pos) {
		return MimicProperty.getDirtMimic(access, pos);
	}
	
	///////////////////////////////////////////
	// RENDERING
	///////////////////////////////////////////
	
	@Override
	@SideOnly(Side.CLIENT)
	public BlockRenderLayer getBlockLayer() {
		return BlockRenderLayer.CUTOUT_MIPPED;
	}
	
}

@@ -46,68 +46,8 @@
 s;%0A%0A
-import java.util.Random;%0A%0Aimport net.minecraft.block.Block;%0A
 impo
@@ -159,454 +159,111 @@
 aft.
-client.particle.ParticleDigging;%0Aimport net.minecraft.client.particle.ParticleManager;%0Aimport net.minecraft.util.BlockRenderLayer;%0Aimport net.minecraft.util.EnumParticleTypes;%0Aimport net.minecraft.util.math.AxisAlignedBB;%0Aimport net.minecraft.util.math.BlockPos;%0Aimport net.minecraft.util.math.RayTraceResult;%0Aimport net.minecraft.world.IBlockAccess;%0Aimport net.minecraft.world.World;%0Aimport net.minecraftforge.common.property.IExtendedBlockState
+util.BlockRenderLayer;%0Aimport net.minecraft.util.math.BlockPos;%0Aimport net.minecraft.world.IBlockAccess
 ;%0Aim

Remove unused imports