2015-06-23 22:29:05 +00:00
|
|
|
package gregtech.common.blocks;
|
|
|
|
|
2016-07-18 11:56:21 +00:00
|
|
|
import java.util.List;
|
|
|
|
|
2016-08-10 19:43:37 +00:00
|
|
|
import net.minecraft.util.text.TextFormatting;
|
2016-08-07 08:41:30 +00:00
|
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
|
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
2015-06-23 22:29:05 +00:00
|
|
|
import net.minecraft.block.Block;
|
2016-07-18 11:56:21 +00:00
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2015-10-22 02:06:25 +00:00
|
|
|
|
2016-08-10 19:43:37 +00:00
|
|
|
public class GT_Item_Casings1 extends GT_Item_Casings_Abstract {
|
|
|
|
|
2015-10-22 02:06:25 +00:00
|
|
|
public GT_Item_Casings1(Block par1) {
|
|
|
|
super(par1);
|
|
|
|
}
|
2016-08-10 19:43:37 +00:00
|
|
|
|
2016-07-18 11:56:21 +00:00
|
|
|
@Override
|
|
|
|
@SideOnly(Side.CLIENT)
|
2016-08-10 19:43:37 +00:00
|
|
|
public void addInformation(ItemStack aStack, EntityPlayer aPlayer, List<String> aList, boolean aF3_H) {
|
2016-07-18 11:56:21 +00:00
|
|
|
super.addInformation(aStack, aPlayer, aList, aF3_H);
|
|
|
|
int tMeta = getDamage(aStack);
|
|
|
|
if (tMeta >= 12 && tMeta <= 14) {
|
2016-08-10 19:43:37 +00:00
|
|
|
aList.add(TextFormatting.ITALIC + this.mCoilOverheated1Tooltip);
|
|
|
|
aList.add(TextFormatting.ITALIC + this.mCoilOverheated2Tooltip);
|
2016-07-18 11:56:21 +00:00
|
|
|
}
|
|
|
|
}
|
2016-08-10 19:43:37 +00:00
|
|
|
|
2015-06-23 22:29:05 +00:00
|
|
|
}
|