Applied-Energistics-2-tiler.../items/tools/quartz/ToolQuartzSpade.java

32 lines
629 B
Java
Raw Normal View History

package appeng.items.tools.quartz;
import java.util.EnumSet;
import net.minecraft.item.ItemSpade;
import appeng.core.features.AEFeature;
import appeng.core.features.AEFeatureHandler;
import appeng.core.features.IAEFeature;
public class ToolQuartzSpade extends ItemSpade implements IAEFeature
{
AEFeatureHandler feature;
@Override
public AEFeatureHandler feature()
{
return feature;
}
public ToolQuartzSpade(AEFeature Type) {
2014-02-09 02:34:52 +01:00
super( ToolMaterial.IRON );
feature = new AEFeatureHandler( EnumSet.of( Type, AEFeature.QuartzSpade ), this, Type.name() );
}
2014-01-30 03:47:55 +01:00
@Override
public void postInit()
{
// override!
}
}