30 lines
837 B
Java
30 lines
837 B
Java
|
package gregtech.common.blocks;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
import cpw.mods.fml.relauncher.Side;
|
||
|
import cpw.mods.fml.relauncher.SideOnly;
|
||
|
import net.minecraft.block.Block;
|
||
|
import net.minecraft.entity.player.EntityPlayer;
|
||
|
import net.minecraft.item.ItemStack;
|
||
|
|
||
|
public class GT_Item_Casings5
|
||
|
extends GT_Item_Casings_Abstract {
|
||
|
public GT_Item_Casings5(Block par1) {
|
||
|
super(par1);
|
||
|
}
|
||
|
@Override
|
||
|
@SideOnly(Side.CLIENT)
|
||
|
public void addInformation(ItemStack aStack, EntityPlayer aPlayer, List aList, boolean aF3_H) {
|
||
|
super.addInformation(aStack, aPlayer, aList, aF3_H);
|
||
|
switch (getDamage(aStack)) {
|
||
|
case 4:
|
||
|
aList.add(this.mCoil04Tooltip);
|
||
|
break;
|
||
|
case 5:
|
||
|
aList.add(this.mCoil05Tooltip);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|