Skip to content

Commit

Permalink
apply editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sisby-folk committed Jul 28, 2024
1 parent f7b59d3 commit ee95c06
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 48 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/hephaestus/glowcase/Glowcase.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static <T extends BlockEntity> Supplier<BlockEntityType<T>> registerBlock
}

@Override
public void onInitialize() {
public void onInitialize() {
GlowcaseCommonNetworking.onInitialize();

CommandRegistrationCallback.EVENT.register((dispatcher, access, environment) -> {
Expand Down
72 changes: 36 additions & 36 deletions src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit ee95c06

Please sign in to comment.