Skip to content

Commit 0299801

Browse files
committed
Fixed issues with example mods for 1.17 and 1.18
1 parent 0f055cc commit 0299801

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In addition to the core PanelStudio library, there are the PanelStudio-MC suppor
1111
| panelstudio-mc16-forge | example-mod16-forge | Minecraft Forge 1.16.5 |
1212
| panelstudio-mc8-fabric | example-mod8-fabric | Legacy Fabric 1.8.9 |
1313
| panelstudio-mc8-forge | example-mod8-forge | Minecraft Forge 1.8.9 |
14-
| panelstudio-mc17 | example-mod17 & example-mod18 | FabricMC 1.17.x & 1.18.2 |
14+
| panelstudio-mc17 | example-mod17 & example-mod18 | FabricMC 1.17.1 & 1.18.2 |
1515

1616
Minecraft versions or APIs not in this table can also be used with PanelStudio, but the small PanelStudio-MC library has to be ported, which shouldn't be hard in most cases.
1717

example-mod17/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,7 @@ shadowJar {
5454
relocate "com.lukflug.panelstudio","com.lukflug.panelstudio_0_2_2"
5555
}
5656

57-
remapJar.dependsOn(shadowJar)
57+
remapJar {
58+
dependsOn shadowJar
59+
inputFile = shadowJar.archiveFile
60+
}

example-mod18/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
modImplementation "net.fabricmc:fabric-loader:${loader18}"
3939
modImplementation "net.fabricmc.fabric-api:fabric-api:${api18}"
4040
shadow "com.lukflug:panelstudio:${version}"
41-
shadow("com.lukflug:panelstudio-mc17:${versionmc}") {changing = true}
41+
shadow "com.lukflug:panelstudio-mc17:${versionmc}"
4242
}
4343

4444
processResources {
@@ -54,4 +54,7 @@ shadowJar {
5454
relocate "com.lukflug.panelstudio","com.lukflug.panelstudio_0_2_2"
5555
}
5656

57-
remapJar.dependsOn(shadowJar)
57+
remapJar {
58+
dependsOn shadowJar
59+
inputFile = shadowJar.archiveFile
60+
}

example-mod18/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ loomVersion = 0.12.1
66
minecraft18 = 1.18.2
77
mappings18 = 1.18.2+build.2
88
loader18 = 0.13.3
9-
api18 = 0.47.9+1.18.2
9+
api18 = 0.47.10+1.18.2

panelstudio-mc17/src/main/java/com/lukflug/panelstudio/mc17/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* PanelStudio-MC utility functions designed for FabricMC 1.17.x.
2+
* PanelStudio-MC utility functions designed for FabricMC 1.17.x and 1.18.x.
33
* This library only depends on the Fabric Yarn mappings and not on the Fabric Mod Loader or the Fabric API.
44
* @author lukflug
55
*/

0 commit comments

Comments
 (0)