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

32 lines
639 B
Java
Raw Normal View History

package appeng.items.tools.quartz;
import java.util.EnumSet;
import net.minecraft.item.ItemPickaxe;
import appeng.core.features.AEFeature;
import appeng.core.features.AEFeatureHandler;
import appeng.core.features.IAEFeature;
public class ToolQuartzPickaxe extends ItemPickaxe implements IAEFeature
{
AEFeatureHandler feature;
@Override
public AEFeatureHandler feature()
{
return feature;
}
public ToolQuartzPickaxe(AEFeature Type) {
2014-02-08 19:34:52 -06:00
super( ToolMaterial.IRON );
feature = new AEFeatureHandler( EnumSet.of( Type, AEFeature.QuartzPickaxe ), this, Type.name() );
}
2014-01-29 20:47:55 -06:00
@Override
public void postInit()
{
// override!
}
}