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

35 lines
679 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-03-24 01:39:26 +01:00
public class ItemIronChainsaw extends ItemChainsaw
{
2016-02-28 01:49:50 +01:00
2016-03-24 01:39:26 +01:00
public ItemIronChainsaw()
{
super(ToolMaterial.IRON, "techreborn.ironChainsaw", ConfigTechReborn.IronChainsawCharge,
ConfigTechReborn.IronChainsawTier, 2.0F);
this.cost = 50;
}
2016-02-28 01:49:50 +01:00
2016-03-24 01:39:26 +01:00
@Override
public boolean canHarvestBlock(IBlockState state)
{
return Items.iron_axe.canHarvestBlock(state);
}
2016-02-28 01:49:50 +01:00
2016-03-24 01:39:26 +01:00
@Override
public String getTextureName(int damage)
{
return "techreborn:items/tool/ironChainsaw";
}
2016-02-28 01:49:50 +01:00
2016-03-24 01:39:26 +01:00
@Override
public int getMaxMeta()
{
return 1;
}
2016-02-28 01:49:50 +01:00
}