Skip to content

Commit

Permalink
fix the mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Jul 16, 2024
1 parent 57652ba commit ab1190b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
15 changes: 8 additions & 7 deletions forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ unimined.minecraft {
}

mappings {
// TODO make this actually work
@Suppress("UnstableApiUsage")
mapping(files("patch.tiny")) {
sourceNamespace("searge")
dependsOn("searge")
outputs("patch", true) { listOf("searge") }
allowDuplicateOutputs()
stub.withMappings("searge", "mojmap") {
c(when (minecraft.version) {
"1.19.2" -> "exm"
"1.20.1" -> "fho"
else -> error("no ParticleEngine mapping for ${minecraft.version}")
}, listOf("net/minecraft/client/particle/ParticleEngine")) {
f("[nothing]", "Ljava/util/Map;", "f_107293_", "providers")
}
}
}

Expand Down
3 changes: 0 additions & 3 deletions forge/patch.tiny

This file was deleted.

0 comments on commit ab1190b

Please sign in to comment.