blob: 28e63b2744852bfb3769dce66d713c6fa2f82348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.elisis.gtnhlanth.util;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
public class DescTextLocalization {
public static final String BLUEPRINT_INFO = "Follow the" + EnumChatFormatting.BLUE
+ " Structure"
+ EnumChatFormatting.DARK_BLUE
+ "Lib"
+ EnumChatFormatting.GRAY
+ " hologram projector to build the main structure.";
public static String[] addText(String preFix, int length) {
String[] text = new String[length];
for (int i = 0; i < length; i++) {
text[i] = StatCollector.translateToLocal(preFix + "." + i);
}
return text;
}
}
|