blob: f98c169c7f2f0d9792d298482e4566bf06a6797c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package gregtech.common.blocks;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
/**
* The casings are split into separate files because they are registered as regular blocks, and a regular block can have
* 16 subtypes at most.
*/
public class GT_Item_Casings2 extends GT_Item_Casings_Abstract {
public GT_Item_Casings2(Block block) {
super(block);
}
@Override
public void addInformation(ItemStack aStack, EntityPlayer aPlayer, List<String> aList, boolean aF3_H) {
super.addInformation(aStack, aPlayer, aList, aF3_H);
if (getDamage(aStack) == 8) {
aList.add(this.mBlastProofTooltip);
}
}
}
|