|
5 | 5 | import static com.cak.pattern_schematics.PatternSchematics.REGISTRATE;
|
6 | 6 |
|
7 | 7 | public class PatternSchematicsLang {
|
8 |
| - |
9 |
| - public static BiConsumer<String, String> ENTRY_CONSUMER = REGISTRATE::addRawLang; |
10 |
| - |
11 |
| - public static void register() { |
12 |
| - putLang( |
13 |
| - "create_pattern_schematics.schematic.tool.clone", "Clone", |
14 |
| - "create_pattern_schematics.schematic.tool.clone.description.0", "Repeats the selected schematic", |
15 |
| - "create_pattern_schematics.schematic.tool.clone.description.1", "Point at the Schematic and [CTRL]-Scroll to repeat it.", |
16 |
| - "create_pattern_schematics.schematic.tool.clone.description.2", "Alternatively, [CTRL+SHIFT]-Scroll to clone in the direction you are facing", |
17 |
| - "create_pattern_schematics.schematic.tool.clone.description.3", "", |
18 |
| - "create_pattern_schematics.ponder.schematic_printing.header", "Printing with pattern schematics", |
19 |
| - "create_pattern_schematics.contraption_application.applied_to", "Applied pattern schematic to ", |
20 |
| - "create_pattern_schematics.contraption_application.deployers", " deployer(s)", |
21 |
| - "create_pattern_schematics.contraption_application.not_positioned", "Couldn't apply schematic: Schematic not positioned!" |
22 |
| - ); |
23 |
| - } |
24 |
| - |
25 |
| - public static void putLang(String... entryKeyPairs) { |
26 |
| - for (int i = 0; i < entryKeyPairs.length; i+=2) { |
27 |
| - REGISTRATE.addRawLang(entryKeyPairs[i], entryKeyPairs[i+1]); |
| 8 | + |
| 9 | + public static BiConsumer<String, String> ENTRY_CONSUMER = REGISTRATE::addRawLang; |
| 10 | + |
| 11 | + public static void register() { |
| 12 | + putLang( |
| 13 | + "create_pattern_schematics.schematic.tool.clone", "Clone", |
| 14 | + "create_pattern_schematics.schematic.tool.clone.description.0", "Repeats the selected schematic", |
| 15 | + "create_pattern_schematics.schematic.tool.clone.description.1", "Select and use [CTRL]-Scroll to clone in the current facing direction.", |
| 16 | + "create_pattern_schematics.schematic.tool.clone.description.2", "Alternatively, [CTRL+SHIFT]-Scroll to clone on the selected surface.", |
| 17 | + "create_pattern_schematics.schematic.tool.clone.description.3", "", |
| 18 | + "create_pattern_schematics.ponder.schematic_printing.header", "Printing with pattern schematics", |
| 19 | + "create_pattern_schematics.contraption_application.applied_to", "Applied pattern schematic to ", |
| 20 | + "create_pattern_schematics.contraption_application.deployers", " deployer(s)", |
| 21 | + "create_pattern_schematics.contraption_application.not_positioned", "Couldn't apply schematic: Schematic not positioned!", |
| 22 | + "item.create_pattern_schematics.empty_pattern_schematic.tooltip.summary" |
| 23 | + , "Can be written to make an _extended version of Create's schematic_ which allows contraptions and schematicannons to _repeat a design_ multiple times.", |
| 24 | + "item.create_pattern_schematics.pattern_schematic.tooltip.summary" |
| 25 | + , "An _extended version of Create's schematic_ which allows contraptions and schematicannons to _repeat a design_ multiple times." |
| 26 | + ); |
28 | 27 | }
|
29 |
| - } |
30 |
| - |
| 28 | + |
| 29 | + public static void putLang(String... entryKeyPairs) { |
| 30 | + for (int i = 0; i < entryKeyPairs.length; i += 2) { |
| 31 | + REGISTRATE.addRawLang(entryKeyPairs[i], entryKeyPairs[i + 1]); |
| 32 | + } |
| 33 | + } |
| 34 | + |
31 | 35 | }
|
0 commit comments