GT5-Unofficial/src/main/java/gregtech/common/blocks/GT_Item_Casings5.java

39 lines
1.1 KiB
Java
Raw Normal View History

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:
aList.add(this.mCoil04Tooltip);
break;
2016-07-18 07:05:44 +00:00
case 4:
aList.add(this.mCoil05Tooltip);
break;
}
}
}