diff options
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/assets/friendcode/icon.png (renamed from src/main/resources/assets/modid/icon.png) | bin | 453 -> 453 bytes | |||
-rw-r--r-- | src/main/resources/assets/friendcode/lang/en_us.json | 18 | ||||
-rw-r--r-- | src/main/resources/fabric.mod.json | 21 | ||||
-rw-r--r-- | src/main/resources/friendcode.mixins.json (renamed from src/main/resources/modid.mixins.json) | 7 |
4 files changed, 33 insertions, 13 deletions
diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/friendcode/icon.png index 047b91f..047b91f 100644 --- a/src/main/resources/assets/modid/icon.png +++ b/src/main/resources/assets/friendcode/icon.png Binary files differdiff --git a/src/main/resources/assets/friendcode/lang/en_us.json b/src/main/resources/assets/friendcode/lang/en_us.json new file mode 100644 index 0000000..3b58973 --- /dev/null +++ b/src/main/resources/assets/friendcode/lang/en_us.json @@ -0,0 +1,18 @@ +{ + "friendcode.title": "Friend Code", + "friendcode.start": "Setup Friend Code", + "friendcode.publish.failed": "Failed to setup friend code. Falling back to LAN server.", + "friendcode.publish.no_i2p": "Could not connect to SAM bridge. Is I2P running and is the SAM bridge enabled?", + "friendcode.publish.started": "Game hosted on friend code: %s", + "friendcode.publish.stopped": "Stopped friend code setup. Falling back to LAN server.", + "friendcode.connect": "Friend Code Connection", + "friendcode.select": "Join Friend", + "friendcode.enter_code": "Friend Code", + "friendcode.opening": "Setting Up Friend Code", + "friendcode.connecting": "Connecting To Friend Code", + "friendcode.patience": "This could take a minute...", + "friendcode.connect.no_such_code": "Could not find friend code.", + "friendcode.connect.no_i2p": "Could not connect to SAM bridge. Is I2P running and is the SAM bridge enabled?", + "friendcode.connect.failed": "Failed to setup friend code connection.", + "menu.shareToLan": "Open To..." +} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 730d843..48596a6 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,16 +1,16 @@ { "schemaVersion": 1, - "id": "modid", + "id": "friendcode", "version": "${version}", - "name": "Example Mod", - "description": "This is an example description! Tell everyone what your mod is about!", + "name": "Friend Code", + "description": "Lets your friends join your singleplayer world with a code.", "authors": [ - "Me!" + "SoniEx2" ], "contact": { - "homepage": "https://fabricmc.net/", - "sources": "https://github.com/FabricMC/fabric-example-mod" + "homepage": "", + "sources": "" }, "license": "CC0-1.0", @@ -19,20 +19,19 @@ "environment": "*", "entrypoints": { "main": [ - "net.fabricmc.example.ExampleMod" + "ganarchy.friendcode.FriendCode" ] }, "mixins": [ - "modid.mixins.json" + "friendcode.mixins.json" ], "depends": { "fabricloader": ">=0.14.6", - "fabric": "*", "minecraft": "~1.19", "java": ">=17" }, - "suggests": { - "another-mod": "*" + "recommends": { + "fabric": "*" } } diff --git a/src/main/resources/modid.mixins.json b/src/main/resources/friendcode.mixins.json index 7c42cb4..6207545 100644 --- a/src/main/resources/modid.mixins.json +++ b/src/main/resources/friendcode.mixins.json @@ -1,12 +1,15 @@ { "required": true, "minVersion": "0.8", - "package": "net.fabricmc.example.mixin", + "package": "ganarchy.friendcode.mixin", "compatibilityLevel": "JAVA_17", "mixins": [ ], "client": [ - "ExampleMixin" + "OpenToLanScreenMixin", + "FriendCodeIntegratedServerExt", + "LanPingerMixin", + "DirectConnectScreenMixin" ], "injectors": { "defaultRequire": 1 |