Skip to content

Commit 25e895f

Browse files
committed
Initial working version
1 parent 738c1b2 commit 25e895f

61 files changed

Lines changed: 1091 additions & 2965 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE.txt

Lines changed: 202 additions & 121 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 17 additions & 98 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ subprojects {
2121
owner_name = mod_owner
2222
year = java.time.LocalDate.now().getYear().toString()
2323
}
24-
// Alternate license
25-
matching(includes: [
26-
"**/MixinMinecraft.java",
27-
"**/MixinTitleScreen.java",
28-
]) {
29-
header = rootProject.project("common").file(licenseDir + "other-mod/HEADER.txt")
30-
}
3124
}
3225

3326
if (name != "common") {
@@ -164,53 +157,3 @@ static String capsLoader(String loader) {
164157
default: return loader
165158
}
166159
}
167-
168-
tasks.register("rebrandProject") {
169-
def rebrandFile = file("rebrand.properties")
170-
if (!rebrandFile.exists()) {
171-
println("'rebrand.properties' file not found.")
172-
return
173-
}
174-
doLast {
175-
def properties = new Properties()
176-
rebrandFile.withInputStream { stream ->
177-
properties.load(stream)
178-
}
179-
180-
file(".").eachFileRecurse { file ->
181-
if (file.isFile() && !file.name.startsWith(".git") && !file.name.startsWith("gradlew")
182-
&& (file.relativePath(project.rootDir) == ".." || file.path.contains("src\\main"))) {
183-
try {
184-
properties.each { key, value ->
185-
if (file.name.contains(key.toString())) {
186-
def newName = file.name.replace(key.toString(), value.toString())
187-
def newFile = new File(file.parentFile, newName)
188-
if (file.renameTo(newFile)) {
189-
println("Renamed '${file.name}'")
190-
} else {
191-
println("Failed to rename '${file.name}'")
192-
}
193-
}
194-
}
195-
} catch (IOException ex) {
196-
println("Error renaming file '${file.path}': ${ex}")
197-
}
198-
}
199-
}
200-
201-
file(".").eachFileRecurse { file ->
202-
if (file.isFile() && !file.name.startsWith(".git") && !file.name.startsWith("gradlew")
203-
&& (file.relativePath(project.rootDir) == ".." || file.path.contains("src\\main"))) {
204-
try {
205-
def content = file.text
206-
properties.each { key, value ->
207-
content = content.replaceAll(key.toString(), value.toString())
208-
}
209-
file.withWriter("UTF-8") { writer -> writer.write(content) }
210-
} catch (IOException ex) {
211-
println("Error updating contents of file '${file.path}': ${ex}")
212-
}
213-
}
214-
}
215-
}
216-
}

buildSrc/src/main/groovy/multiloader-common.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,8 @@ processResources {
128128
// Dependencies
129129
"clothconfig_versions_fabric_list": asJsonList(clothconfig_versions_fabric),
130130
"clothconfig_versions_neoforge": clothconfig_versions_neoforge,
131-
"yacl_versions_fabric_list": asJsonList(yacl_versions_fabric),
132-
"yacl_versions_neoforge": yacl_versions_neoforge,
133131
"modmenu_versions_fabric_list": asJsonList(modmenu_versions_fabric),
132+
"bettermodlist_versions_neoforge": bettermodlist_versions_neoforge,
134133
]
135134
filesMatching(["pack.mcmeta", "*.mod.json", "META-INF/*mods.toml", "*.mixins.json"]) {
136135
expand expandProps

common/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ dependencies {
99

1010
// Cloth Config API
1111
api("me.shedaniel.cloth:cloth-config-neoforge:${clothconfig_version}")
12-
13-
// YACL
14-
api("dev.isxander:yet-another-config-lib:${yacl_version}-neoforge")
1512
}
1613

1714
neoForge {

common/src/main/java/dev/terminalmc/framework/Framework.java

Lines changed: 0 additions & 51 deletions
This file was deleted.

common/src/main/java/dev/terminalmc/framework/command/Commands.java

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)