mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-21 21:02:24 +00:00
Add informative tooltips to the Items
This commit is contained in:
1 parent
55372b0540
commit
412c565294
7 files changed
+114
-16
No files matched your search
@@ -15,7 +15,7 @@ import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.StatCollector;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class ItemUpgrade extends Item{
|
||||
public class ItemUpgrade extends BaseItem{
|
||||
|
||||
public IIcon[] icons = new IIcon[6];
|
||||
|
||||
@@ -34,11 +34,6 @@ public class ItemUpgrade extends Item{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack itemStack, EntityPlayer player, List list, boolean par4){
|
||||
list.add(StatCollector.translateToLocal(this.getUnlocalizedName(itemStack) + ".desc"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIconFromDamage(int meta) {
|
||||
if (meta > 3)
|
||||
|
||||
Reference in new issue
Block a user