blob: a4aac6e5cc335d5759b203ca52586b3a5b62d7c9 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
package tectech.thing.casing;
import static gregtech.api.enums.GTValues.AuthorColen;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import gregtech.api.util.GTLanguageManager;
import gregtech.common.blocks.ItemCasingsAbstract;
public class ItemCasingsTimeAcceleration extends ItemCasingsAbstract {
public ItemCasingsTimeAcceleration(Block par1) {
super(par1);
}
@Override
public void addInformation(ItemStack aStack, EntityPlayer aPlayer, List<String> aList, boolean aF3_H) {
switch (aStack.getItemDamage()) {
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
aList.add(
EnumChatFormatting.AQUA.toString() + EnumChatFormatting.BOLD
+ GTLanguageManager
.addStringLocalization("EOH.TimeDilation.Standard.Tooltip", "Time dilation in a box."));
break;
default:
aList.add(
EnumChatFormatting.RED.toString() + EnumChatFormatting.BOLD
+ GTLanguageManager
.addStringLocalization("EOH.TimeDilation.Error.Tooltip", "Error, report to GTNH team"));
}
aList.add(AuthorColen);
}
}
|