2016-07-18 06:06:26 +00:00
|
|
|
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)) {
|
2016-07-18 07:05:44 +00:00
|
|
|
case 0:
|
|
|
|
aList.add(this.mCoil01Tooltip);
|
|
|
|
break;
|
|
|
|
case 1:
|
|
|
|
aList.add(this.mCoil02Tooltip);
|
|
|
|
break;
|
|
|
|
case 2:
|
|
|
|
aList.add(this.mCoil03Tooltip);
|
|
|
|
break;
|
|
|
|
case 3:
|
2016-07-18 06:06:26 +00:00
|
|
|
aList.add(this.mCoil04Tooltip);
|
|
|
|
break;
|
2016-07-18 07:05:44 +00:00
|
|
|
case 4:
|
2016-07-18 06:06:26 +00:00
|
|
|
aList.add(this.mCoil05Tooltip);
|
|
|
|
break;
|
2016-07-20 07:27:47 +00:00
|
|
|
case 5:
|
|
|
|
aList.add(this.mCoil06Tooltip);
|
|
|
|
break;
|
|
|
|
case 6:
|
|
|
|
aList.add(this.mCoil07Tooltip);
|
|
|
|
break;
|
2016-07-18 06:06:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|