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

30 lines
677 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;
2016-10-08 21:46:16 +02:00
public class ItemSteelChainsaw extends ItemChainsaw {
public ItemSteelChainsaw() {
super(ToolMaterial.IRON, "techreborn.ironChainsaw", ConfigTechReborn.IronChainsawCharge,
2016-10-08 21:46:16 +02:00
ConfigTechReborn.IronChainsawTier, 2.0F);
this.cost = 50;
}
2016-02-28 01:49:50 +01:00
@Override
2016-10-08 21:46:16 +02:00
public boolean canHarvestBlock(IBlockState state) {
return Items.IRON_AXE.canHarvestBlock(state);
}
2016-02-28 01:49:50 +01:00
@Override
2016-10-08 21:46:16 +02:00
public String getTextureName(int damage) {
return "techreborn:items/tool/steelChainsaw";
}
2016-02-28 01:49:50 +01:00
@Override
2016-10-08 21:46:16 +02:00
public int getMaxMeta() {
return 1;
}
2016-02-28 01:49:50 +01:00
}