diff --git a/build.gradle.kts b/build.gradle.kts
index 98ecd204..2e16b7c7 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -119,10 +119,9 @@ subprojects {
java {
target("src/**/java/**/*.java")
endWithNewline()
- indentWithSpaces()
+ indentWithSpaces(4)
removeUnusedImports()
- toggleOffOn()
- eclipse().configFile(rootProject.file("codeformat/codeformat.xml"))
+ palantirJavaFormat()
importOrderFile(rootProject.file("codeformat/mega.importorder"))
// courtesy of diffplug/spotless#240
@@ -234,4 +233,4 @@ for (platform in property("enabledPlatforms").toString().split(',')) {
skip()
}
}
-}
\ No newline at end of file
+}
diff --git a/codeformat/codeformat.xml b/codeformat/codeformat.xml
deleted file mode 100644
index 4352de1b..00000000
--- a/codeformat/codeformat.xml
+++ /dev/null
@@ -1,365 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java b/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java
index ffcdf482..149e45bb 100644
--- a/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java
+++ b/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java
@@ -41,12 +41,11 @@
import gripe._90.megacells.definition.MEGATranslations;
public class MEGAPatternProviderBlock extends AEBaseEntityBlock {
- public static final EnumProperty PUSH_DIRECTION = EnumProperty.create("push_direction",
- PushDirection.class);
+ public static final EnumProperty PUSH_DIRECTION =
+ EnumProperty.create("push_direction", PushDirection.class);
- public static final MenuType