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

34 lines
681 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-05-23 09:13:11 +02:00
public class ItemSteelChainsaw extends ItemChainsaw
2016-03-25 10:47:34 +01:00
{
2016-02-28 01:49:50 +01:00
2016-05-23 09:13:11 +02:00
public ItemSteelChainsaw()
2016-03-25 10:47:34 +01:00
{
super(ToolMaterial.IRON, "techreborn.ironChainsaw", ConfigTechReborn.IronChainsawCharge,
ConfigTechReborn.IronChainsawTier, 2.0F);
this.cost = 50;
}
2016-02-28 01:49:50 +01:00
2016-03-25 10:47:34 +01:00
@Override
public boolean canHarvestBlock(IBlockState state)
{
2016-05-06 23:13:24 +02:00
return Items.IRON_AXE.canHarvestBlock(state);
2016-03-25 10:47:34 +01:00
}
2016-02-28 01:49:50 +01:00
2016-03-25 10:47:34 +01:00
@Override
public String getTextureName(int damage)
{
2016-05-23 09:13:11 +02:00
return "techreborn:items/tool/steelChainsaw";
2016-03-25 10:47:34 +01:00
}
2016-02-28 01:49:50 +01:00
2016-03-25 10:47:34 +01:00
@Override
public int getMaxMeta()
{
return 1;
}
2016-02-28 01:49:50 +01:00
}