-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ 1.2.0: Swampier Swamps & Port to 1.21
- Loading branch information
Showing
289 changed files
with
3,411 additions
and
691 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
This file was deleted.
Oops, something went wrong.
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,78 @@ | ||
plugins { | ||
java | ||
id("fabric-loom") version "1.7-SNAPSHOT" | ||
} | ||
|
||
class ModInfo { | ||
val id = property("mod.id").toString() | ||
val group = property("mod.group").toString() | ||
val version = property("mod.version").toString() | ||
} | ||
|
||
class Dependencies { | ||
val minecraft = property("deps.minecraft").toString() | ||
val loader = property("deps.loader").toString() | ||
val yarn = property("deps.yarn").toString() | ||
|
||
val fabricApi = property("deps.fabricapi").toString() | ||
val cabinetApi = property("deps.cabinetapi").toString() | ||
} | ||
|
||
val mod = ModInfo() | ||
val deps = Dependencies() | ||
|
||
loom { | ||
accessWidenerPath = file("src/main/resources/hollow.accesswidener") | ||
} | ||
|
||
fabricApi { | ||
configureDataGeneration() | ||
} | ||
|
||
repositories { | ||
maven("https://maven.callmeecho.dev/releases/") | ||
maven("https://maven.terraformersmc.com/releases/") | ||
} | ||
|
||
dependencies { | ||
minecraft("com.mojang:minecraft:${deps.minecraft}") | ||
mappings("net.fabricmc:yarn:${deps.yarn}:v2") | ||
modImplementation("net.fabricmc:fabric-loader:${deps.loader}") | ||
|
||
modImplementation("net.fabricmc.fabric-api:fabric-api:${deps.fabricApi}") | ||
include("dev.callmeecho:cabinetapi:${deps.cabinetApi}") | ||
modImplementation("dev.callmeecho:cabinetapi:${deps.cabinetApi}") | ||
|
||
// not ported | ||
// modCompileOnly("maven.modrinth:lambdynamiclights:2.3.2+1.20.1") | ||
} | ||
|
||
tasks.processResources { | ||
inputs.property("id", mod.id) | ||
inputs.property("version", mod.version) | ||
inputs.property("loader_version", deps.loader) | ||
inputs.property("minecraft_version", deps.minecraft) | ||
|
||
val map = mapOf( | ||
"id" to mod.id, | ||
"version" to mod.version, | ||
"loader_version" to deps.loader, | ||
"minecraft_version" to deps.minecraft | ||
) | ||
|
||
filesMatching("fabric.mod.json") { expand(map) } | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
|
||
sourceCompatibility = JavaVersion.VERSION_21 | ||
targetCompatibility = JavaVersion.VERSION_21 | ||
} | ||
|
||
|
||
tasks.withType<JavaCompile> { | ||
options.encoding = "UTF-8" | ||
options.release = 21 | ||
} | ||
|
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,13 +1,13 @@ | ||
org.gradle.jvmargs=-Xmx2G | ||
org.gradle.parallel=true | ||
|
||
minecraft_version=1.20.1 | ||
yarn_mappings=1.20.1+build.10 | ||
loader_version=0.15.7 | ||
mod.version = 1.2.0 | ||
mod.group = dev.callmeecho | ||
mod.id = hollow | ||
|
||
mod_version=1.1.0 | ||
maven_group=dev.callmeecho | ||
archives_base_name=hollow | ||
deps.minecraft=1.21 | ||
deps.loader=0.15.11 | ||
deps.yarn=1.21+build.9 | ||
|
||
fabric_version=0.92.0+1.20.1 | ||
cabinet_version=1.1.1+1.20.1 | ||
deps.fabricapi=0.100.7+1.21 | ||
deps.cabinetapi=1.3.5+1.21 |
Binary file not shown.
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 was deleted.
Oops, something went wrong.
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,7 @@ | ||
pluginManagement { | ||
repositories { | ||
maven("https://maven.fabricmc.net/") | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
} |
Oops, something went wrong.