Applied-Energistics-2-tiler.../items/tools/quartz/ToolQuartzSword.java
2014-02-08 19:34:52 -06:00

31 lines
629 B
Java

package appeng.items.tools.quartz;
import java.util.EnumSet;
import net.minecraft.item.ItemSword;
import appeng.core.features.AEFeature;
import appeng.core.features.AEFeatureHandler;
import appeng.core.features.IAEFeature;
public class ToolQuartzSword extends ItemSword implements IAEFeature
{
AEFeatureHandler feature;
@Override
public AEFeatureHandler feature()
{
return feature;
}
public ToolQuartzSword(AEFeature Type) {
super( ToolMaterial.IRON );
feature = new AEFeatureHandler( EnumSet.of( Type, AEFeature.QuartzSword ), this, Type.name() );
}
@Override
public void postInit()
{
// override!
}
}