Recipe fixes, replaced spaces with tabs
This commit is contained in:
parent
5ca6a92dd0
commit
d8de624fd1
60 changed files with 1816 additions and 1851 deletions
|
@ -94,7 +94,7 @@ public class BlocksHelper {
|
|||
/**
|
||||
* Rotates {@link BlockState} horizontally. Used in block classes with {@link Direction} {@link Property} in rotate function.
|
||||
*
|
||||
* @param state - {@link BlockState} to mirror;
|
||||
* @param state - {@link BlockState} to mirror;
|
||||
* @param rotation - {@link Rotation};
|
||||
* @param facing - Block {@link Direction} {@link Property}.
|
||||
* @return Rotated {@link BlockState}.
|
||||
|
|
|
@ -45,9 +45,9 @@ public class PathUtil {
|
|||
/**
|
||||
* A simple directory walker that ignores dot-files
|
||||
*
|
||||
* @param path The path where you want to start
|
||||
* @param path The path where you want to start
|
||||
* @param pathConsumer The consumer called for each valid file. The consumer will get an absolute {@link Path}-Object
|
||||
* for each visited file
|
||||
* for each visited file
|
||||
*/
|
||||
public static void fileWalker(File path, Consumer<Path> pathConsumer) {
|
||||
fileWalker(path, true, pathConsumer);
|
||||
|
@ -56,10 +56,10 @@ public class PathUtil {
|
|||
/**
|
||||
* A simple directory walker that ignores dot-files
|
||||
*
|
||||
* @param path The path where you want to start
|
||||
* @param recursive if {@code false}, only the {@code path} is traversed
|
||||
* @param path The path where you want to start
|
||||
* @param recursive if {@code false}, only the {@code path} is traversed
|
||||
* @param pathConsumer The consumer called for each valid file. The consumer will get an absolute {@link Path}-Object
|
||||
* for each visited file
|
||||
* for each visited file
|
||||
*/
|
||||
public static void fileWalker(File path, boolean recursive, Consumer<Path> pathConsumer) {
|
||||
if (!path.exists()) return;
|
||||
|
|
|
@ -73,12 +73,12 @@ public class TranslationHelper {
|
|||
if (!missingNames.isEmpty()) {
|
||||
|
||||
System.out.println("========================================");
|
||||
System.out.println(" MISSING NAMES LIST");
|
||||
System.out.println(" MISSING NAMES LIST");
|
||||
|
||||
if (!missingNames.isEmpty()) {
|
||||
if (languageCode.equals("en_us")) {
|
||||
System.out.println("========================================");
|
||||
System.out.println(" AUTO ENGLISH BEAUTIFICATION");
|
||||
System.out.println(" AUTO ENGLISH BEAUTIFICATION");
|
||||
System.out.println("========================================");
|
||||
missingNames.stream().sorted().forEach(name -> {
|
||||
System.out.println(" \"" + name + "\": \"" + fastTranslateEn(name) + "\",");
|
||||
|
@ -86,7 +86,7 @@ public class TranslationHelper {
|
|||
}
|
||||
else {
|
||||
System.out.println("========================================");
|
||||
System.out.println(" TEMPLATE: [" + languageCode + "]");
|
||||
System.out.println(" TEMPLATE: [" + languageCode + "]");
|
||||
System.out.println("========================================");
|
||||
missingNames.stream().sorted().forEach(name -> {
|
||||
System.out.println(" \"" + name + "\": \"\",");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue