diff --git a/build.gradle b/build.gradle index e5c80ec..9cf979a 100644 --- a/build.gradle +++ b/build.gradle @@ -10,24 +10,24 @@ version = "$baseVersion+$branch" repositories { maven { url "https://maven.nucleoid.xyz/" } - maven { url "https://maven.neoforged.net/releases/" } - maven { url "https://maven.su5ed.dev/releases" } - maven { url "https://repo.sleeping.town/" } + maven { url "https://maven.neoforged.net/releases/" } + maven { url "https://maven.su5ed.dev/releases" } + maven { url "https://repo.sleeping.town/" } } dependencies { minecraft libs.mc mappings loom.layered { - it.mappings variantOf(libs.yarn) { classifier "v2" } - it.mappings libs.neoYarn - } + it.mappings variantOf(libs.yarn) { classifier "v2" } + it.mappings libs.neoYarn + } neoForge libs.neo modImplementation libs.ffapi - modImplementation libs.placeholder + modImplementation libs.placeholder - include libs.placeholder + include libs.placeholder } loom { diff --git a/settings.gradle b/settings.gradle index 7bab1bf..237a831 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,9 +2,9 @@ pluginManagement { repositories { maven { url "https://maven.fabricmc.net/" } maven { url "https://maven.architectury.dev/" } - maven { url "https://maven.neoforged.net/releases" } - gradlePluginPortal() - } + maven { url "https://maven.neoforged.net/releases" } + gradlePluginPortal() + } } dependencyResolutionManagement { diff --git a/src/main/java/dev/hephaestus/glowcase/Glowcase.java b/src/main/java/dev/hephaestus/glowcase/Glowcase.java index b6871f3..5532534 100644 --- a/src/main/java/dev/hephaestus/glowcase/Glowcase.java +++ b/src/main/java/dev/hephaestus/glowcase/Glowcase.java @@ -110,7 +110,7 @@ public static Supplier> registerBlock } @Override - public void onInitialize() { + public void onInitialize() { GlowcaseCommonNetworking.onInitialize(); CommandRegistrationCallback.EVENT.register((dispatcher, access, environment) -> { diff --git a/src/main/resources/META-INF/neoforge.mods.toml b/src/main/resources/META-INF/neoforge.mods.toml index d8e9488..f7b74aa 100644 --- a/src/main/resources/META-INF/neoforge.mods.toml +++ b/src/main/resources/META-INF/neoforge.mods.toml @@ -1,44 +1,44 @@ -modLoader="javafml" -loaderVersion="[4,)" -license="${license}" -issueTrackerURL="${issues}" +modLoader = "javafml" +loaderVersion = "[4,)" +license = "${license}" +issueTrackerURL = "${issues}" [[mods]] -modId="${modId}" -version="${version}" -displayName="${modName}" -displayURL="${homepage}" -logoFile="assets/glowcase/icon.png" -authors="${authors}" -description='''${modDescription}''' +modId = "${modId}" +version = "${version}" +displayName = "${modName}" +displayURL = "${homepage}" +logoFile = "assets/glowcase/icon.png" +authors = "${authors}" +description = '''${modDescription}''' [[mixins]] -config="glowcase.mixins.json" +config = "glowcase.mixins.json" -[[dependencies.${modId}]] - modId="neoforge" - type="required" - versionRange="[${neo},)" - ordering="NONE" - side="BOTH" +[[dependencies.${ modId }]] +modId = "neoforge" +type = "required" +versionRange = "[${neo},)" +ordering = "NONE" +side = "BOTH" -[[dependencies.${modId}]] - modId="minecraft" - type="required" - versionRange="[${mc},)" - ordering="NONE" - side="BOTH" +[[dependencies.${ modId }]] +modId = "minecraft" +type = "required" +versionRange = "[${mc},)" +ordering = "NONE" +side = "BOTH" -[[dependencies.${modId}]] - modId="fabric_api" - type="required" - versionRange="[${fapi},)" - ordering="NONE" - side="BOTH" +[[dependencies.${ modId }]] +modId = "fabric_api" +type = "required" +versionRange = "[${fapi},)" +ordering = "NONE" +side = "BOTH" -[[dependencies.${modId}]] - modId="placeholder_api" - type="required" - versionRange="[${placeholder},)" - ordering="NONE" - side="BOTH" +[[dependencies.${ modId }]] +modId = "placeholder_api" +type = "required" +versionRange = "[${placeholder},)" +ordering = "NONE" +side = "BOTH"