diff --git a/src/main/java/techreborn/items/tools/ItemRockCutter.java b/src/main/java/techreborn/items/tools/ItemRockCutter.java index 47efbe149..5319238a0 100644 --- a/src/main/java/techreborn/items/tools/ItemRockCutter.java +++ b/src/main/java/techreborn/items/tools/ItemRockCutter.java @@ -5,6 +5,8 @@ import ic2.api.item.IElectricItem; import java.util.List; +import org.lwjgl.input.Keyboard; + import net.minecraft.block.Block; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; @@ -14,9 +16,11 @@ import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemPickaxe; import net.minecraft.item.ItemStack; +import net.minecraft.util.StatCollector; import net.minecraft.world.World; import techreborn.client.TechRebornCreativeTab; import techreborn.config.ConfigTechReborn; +import techreborn.util.Color; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @@ -39,6 +43,19 @@ public class ItemRockCutter extends ItemPickaxe implements IElectricItem { public void registerIcons(IIconRegister iconRegister){ this.itemIcon = iconRegister.registerIcon("techreborn:" + "tool/rockcutter"); } + + @Override + @SideOnly(Side.CLIENT) + public boolean hasEffect(ItemStack ist) + { + return true; + } + + @Override + public void addInformation(ItemStack iS, EntityPlayer par2EntityPlayer, List par3List, boolean par4) + { + par3List.add(Color.WHITE + "Silk Touch I"); + } @SuppressWarnings( { "rawtypes", "unchecked" })