Skip to content

Commit

Permalink
Merge pull request #2 from mrmangohands/bundle-networking-api
Browse files Browse the repository at this point in the history
Bundle fabric-networking-api and bump to 1.1.1
  • Loading branch information
james58899 authored Feb 19, 2021
2 parents 73ce497 + a9562d9 commit 973dfc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
// Bundle necessary Fabric API module
modImplementation fabricApi.module("fabric-networking-api-v1", project.fabric_version)
include fabricApi.module("fabric-networking-api-v1", project.fabric_version)

modImplementation "me.sargunvohra.mcmods:autoconfig1u:${project.auto_config_version}"
include "me.sargunvohra.mcmods:autoconfig1u:${project.auto_config_version}"
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ minecraft_version=1.16.5
yarn_mappings=1.16.5+build.4
loader_version=0.11.1
# Mod Properties
mod_version=1.1.0
mod_version=1.1.1
maven_group=one.oktw
archives_base_name=FabricProxy-Lite
# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.30.0+1.16
fabric_version=0.30.3+1.16
auto_config_version=3.3.1
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

"depends": {
"fabricloader": ">=0.7.4",
"fabric": ">=0.28"
"fabric-networking-api-v1": "*"
}
}

0 comments on commit 973dfc4

Please sign in to comment.