22fd152ec9
This reverts commit be4f10b975
.
# Conflicts:
# src/main/java/techreborn/init/ModBlocks.java
33 lines
681 B
Java
33 lines
681 B
Java
package techreborn.items.tools;
|
|
|
|
import net.minecraft.block.state.IBlockState;
|
|
import net.minecraft.init.Items;
|
|
import techreborn.config.ConfigTechReborn;
|
|
public class ItemSteelChainsaw extends ItemChainsaw
|
|
{
|
|
|
|
public ItemSteelChainsaw()
|
|
{
|
|
super(ToolMaterial.IRON, "techreborn.ironChainsaw", ConfigTechReborn.IronChainsawCharge,
|
|
ConfigTechReborn.IronChainsawTier, 2.0F);
|
|
this.cost = 50;
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|