This commit is contained in:
modmuss50 2015-06-14 13:35:47 +01:00
commit afdbe69d18

View file

@ -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" })