Skip to content

Commit

Permalink
Update PolyLib
Browse files Browse the repository at this point in the history
  • Loading branch information
gigabit101 committed Nov 25, 2023
1 parent 7c402f9 commit 036bd08
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions common/src/main/java/net/gigabit101/shrink/Shrink.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public static void init()
ModItems.ITEMS.register();
ModContainers.CONTAINERS.register();
PacketHandler.init();

if(Platform.getEnv() == EnvType.CLIENT)
{
ClientLifecycleEvent.CLIENT_SETUP.register(instance -> ShrinkClient.init());
Expand Down
3 changes: 2 additions & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"depends": {
"fabric": "*",
"minecraft": ">=1.20.2",
"architectury": ">=10.0.11"
"architectury": ">=10.0.11",
"polylib": ">=2002.0.3-build.108"
}
}
7 changes: 7 additions & 0 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ mandatory = false
versionRange = "[10.0.11,)"
ordering = "AFTER"
side = "BOTH"

[[dependencies.shrink]]
modId = "polylib"
mandatory = false
versionRange = "[2002.0.3,)"
ordering = "AFTER"
side = "BOTH"
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mod_version=2.0.0
maven_group=net.gigabit101

architectury_version=10.0.16
polylib_version=2002.0.3-build.107
polylib_version=2002.0.3-build.108

fabric_loader_version=0.14.22
fabric_api_version=0.89.0+1.20.2
Expand Down
7 changes: 7 additions & 0 deletions neoforge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,12 @@ versionRange = "[10.0.11,)"
ordering = "AFTER"
side = "BOTH"

[[dependencies.shrink]]
modId = "polylib"
mandatory = false
versionRange = "[2002.0.3,)"
ordering = "AFTER"
side = "BOTH"

[[mixins]]
config = "shrink.mixins.json"

0 comments on commit 036bd08

Please sign in to comment.