generated from EpimorphicPioneers/ArchLoom-TemplateMod
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
1,126 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ loom { | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ processResources { | |
filesMatching("META-INF/mods.toml") { | ||
expand properties | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
spotless { | ||
encoding 'UTF-8' | ||
format 'misc', { | ||
target '.gitignore', '*.gradle', 'gradle/scripts/*.gradle' | ||
|
||
trimTrailingWhitespace() | ||
indentWithSpaces(4) | ||
endWithNewline() | ||
} | ||
java { | ||
target 'src/*/java/**/*.java' | ||
|
||
palantirJavaFormat().style("GOOGLE") | ||
indentWithTabs(2) | ||
indentWithSpaces(4) | ||
|
||
// Must be after Google Format, see https://github.com/diffplug/spotless/issues/1407 | ||
importOrderFile("$rootDir/spotless/spotless.importorder") | ||
removeUnusedImports() | ||
|
||
cleanthat() | ||
formatAnnotations() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#Organize Import Order | ||
#Sat May 27 02:13:47 CDT 2023 | ||
0=com.epimorphismmc.gregiceng | ||
1=com.epimorphismmc | ||
1=com.gregtechceu | ||
1=com.lowdragmc | ||
1=net | ||
2= | ||
3=java | ||
4=javax | ||
5=\# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
package com.epimorphismmc.gregiceng.api; | ||
|
||
public class GEValues { | ||
} | ||
public class GEValues {} |
23 changes: 17 additions & 6 deletions
23
src/main/java/com/epimorphismmc/gregiceng/api/gui/GEGuiTextures.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
package com.epimorphismmc.gregiceng.api.gui; | ||
|
||
import com.epimorphismmc.gregiceng.GregicEng; | ||
|
||
import com.lowdragmc.lowdraglib.gui.texture.ResourceBorderTexture; | ||
import com.lowdragmc.lowdraglib.gui.texture.ResourceTexture; | ||
|
||
public class GEGuiTextures { | ||
public static final ResourceTexture SMALL_ARROW_OVERLAY = createTexture("overlay/small_arrow_overlay.png"); | ||
public static final ResourceTexture SMALL_ARROW_OVERLAY = | ||
createTexture("overlay/small_arrow_overlay.png"); | ||
|
||
public static final ResourceTexture REFUND_OVERLAY = createTexture("overlay/refund_overlay.png"); | ||
public static final ResourceTexture PATTERN_OVERLAY = createTexture("overlay/pattern_overlay.png"); | ||
public static final ResourceTexture PATTERN_OVERLAY = | ||
createTexture("overlay/pattern_overlay.png"); | ||
|
||
public static final ResourceTexture BUTTON_AUTOMATIC_RETURN = createTexture("widget/button_automatic_return.png"); | ||
public static final ResourceTexture BUTTON_AUTO_PULL_ME = createTexture("widget/button_auto_pull_me.png"); | ||
public static final ResourceTexture BUTTON_AUTOMATIC_RETURN = | ||
createTexture("widget/button_automatic_return.png"); | ||
public static final ResourceTexture BUTTON_AUTO_PULL_ME = | ||
createTexture("widget/button_auto_pull_me.png"); | ||
|
||
private static ResourceTexture createTexture(String imageLocation) { | ||
return new ResourceTexture("%s:textures/gui/%s".formatted(GregicEng.MODID, imageLocation)); | ||
} | ||
|
||
private static ResourceBorderTexture createBorderTexture(String imageLocation, int imageWidth, int imageHeight, int cornerWidth, int cornerHeight) { | ||
return new ResourceBorderTexture("%s:textures/gui/%s".formatted(GregicEng.MODID, imageLocation), imageWidth, imageHeight, cornerWidth, cornerHeight); | ||
private static ResourceBorderTexture createBorderTexture( | ||
String imageLocation, int imageWidth, int imageHeight, int cornerWidth, int cornerHeight) { | ||
return new ResourceBorderTexture( | ||
"%s:textures/gui/%s".formatted(GregicEng.MODID, imageLocation), | ||
imageWidth, | ||
imageHeight, | ||
cornerWidth, | ||
cornerHeight); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.