TechReborn/src/main/java/techreborn/items/tools/ItemSteelChainsaw.java

32 lines
770 B
Java
Raw Normal View History

2016-02-28 01:49:50 +01:00
package techreborn.items.tools;
2016-03-13 19:38:41 +01:00
import net.minecraft.block.state.IBlockState;
2016-02-28 01:49:50 +01:00
import net.minecraft.init.Items;
import techreborn.config.ConfigTechReborn;
public class ItemSteelChainsaw extends ItemChainsaw {
2016-02-28 01:49:50 +01:00
public ItemSteelChainsaw() {
super(ToolMaterial.IRON, "techreborn.ironChainsaw",
ConfigTechReborn.IronChainsawCharge,
ConfigTechReborn.IronChainsawTier, 2.0F);
this.cost = 50;
}
2016-02-28 01:49:50 +01:00
@Override
public boolean canHarvestBlock(IBlockState state) {
return Items.IRON_AXE.canHarvestBlock(state);
}
@Override
public String getTextureName(int damage) {
return "techreborn:items/tool/steelChainsaw";
}
@Override
public int getMaxMeta() {
return 1;
}
2016-02-28 01:49:50 +01:00
}