blob: b3bdb8cbd2db4d2e56259d8601c0e1b2926f4867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package GoodGenerator.util;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
public class DescTextLocalization {
public static final String BLUE_PRINT_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;
}
}
|