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-07-25 10:10:55 +02:00
|
|
|
public class ItemSteelChainsaw extends ItemChainsaw {
|
2016-02-28 01:49:50 +01:00
|
|
|
|
2016-07-25 10:10:55 +02: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
|
|
|
|
2016-07-25 10:10:55 +02: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
|
|
|
|
|
|
|
}
|