Skip to content

Commit

Permalink
fix fabric and quilt compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Jul 21, 2024
1 parent 9509057 commit cbd4e1b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ plugins {
}

project.configurations.runtimeClasspath {
exclude(group: "loom_mappings_1_20_4_layered_hash_919249853_v2.net.fabricmc", module: "fabric-loader")
exclude(group: "loom_mappings_1_20_4_layered_hash_1137964741_v2.net.fabricmc", module: "fabric-loader")
}

dependencies {
minecraft libs.minecraft
mappings(loom.layered {
it.parchment("${libs.parchment.mappings.get()}@zip")
it.officialMojangMappings()
it.parchment("${libs.parchment.mappings.get()}@zip")
})

modImplementation fabric.fabric.loader
Expand Down Expand Up @@ -40,8 +40,8 @@ dependencies {
// modLocalRuntime fabric.cloth

modCompileOnly libs.figura.fabric
modLocalRuntime libs.figura.fabric
localRuntime libs.bundles.figura.runtime
// modLocalRuntime libs.figura.fabric
// localRuntime libs.bundles.figura.runtime

// modCompileOnly "${libs.emi.fabric.get()}:api"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public class Modmenu implements ModMenuApi {

@Override
public ConfigScreenFactory<?> getModConfigScreenFactory() {
return parent -> new ConfigScreen(parent, null, Icarus.CONFIGURATOR.getConfig(IcarusConfig.class));
return parent -> new ConfigScreen(parent, Icarus.CONFIGURATOR.getConfig(IcarusConfig.class));
}
}
2 changes: 1 addition & 1 deletion Quilt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ project.configurations.configureEach {
dependencies {
minecraft libs.minecraft
mappings(loom.layered {
it.parchment("${libs.parchment.mappings.get()}@zip")
it.officialMojangMappings()
it.parchment("${libs.parchment.mappings.get()}@zip")
})

modImplementation quilt.quilt.loader
Expand Down
2 changes: 1 addition & 1 deletion Quilt/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# The latest versions are available at https://lambdaurora.dev/tools/import_quilt.html
quilt_loom = "1.7.+"

quilt_loader = "0.24.0"
quilt_loader = "0.26.4-beta.1"
quilted_fabric_api = "9.0.0-alpha.8+0.97.0-1.20.4"

[libraries]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public class Modmenu implements ModMenuApi {

@Override
public ConfigScreenFactory<?> getModConfigScreenFactory() {
return parent -> new ConfigScreen(parent, null, Icarus.CONFIGURATOR.getConfig(IcarusConfig.class));
return parent -> new ConfigScreen(parent, Icarus.CONFIGURATOR.getConfig(IcarusConfig.class));
}
}

0 comments on commit cbd4e1b

Please sign in to comment.