diff options
| author | Nicholas Ignoffo <nick@tehnut.info> | 2019-01-21 17:03:20 -0800 |
|---|---|---|
| committer | Nicholas Ignoffo <nick@tehnut.info> | 2019-01-21 17:03:20 -0800 |
| commit | 71bb1aa3397841d78693290b36a598eeecb21080 (patch) | |
| tree | 33303f7ee752a2f399a0289af096b60883829a6b /src/main/resources | |
| parent | f2f6213150d41bcf51b0c1032bd639f28389d294 (diff) | |
| download | RoughlyEnoughItems-71bb1aa3397841d78693290b36a598eeecb21080.tar.gz RoughlyEnoughItems-71bb1aa3397841d78693290b36a598eeecb21080.tar.bz2 RoughlyEnoughItems-71bb1aa3397841d78693290b36a598eeecb21080.zip | |
Migrate to pluginloader
With this implementation, the loader will only be created on the client
to mimic the current implementation. If plugin loader is not installed,
the default plugin will still be registered so core functionality is
preserved.
Diffstat (limited to 'src/main/resources')
| -rwxr-xr-x | src/main/resources/fabric.mod.json | 3 | ||||
| -rw-r--r-- | src/main/resources/pluginloader.json | 7 | ||||
| -rw-r--r-- | src/main/resources/plugins/rei.plugin.json | 8 | ||||
| -rw-r--r-- | src/main/resources/plugins/roughlyenoughitems.plugin.json | 6 |
4 files changed, 16 insertions, 8 deletions
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 4aa90427e..1b6d61f4a 100755 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -14,6 +14,9 @@ "requires": { "fabric": "0.1.4.76" }, + "recommended": { + "pluginloader": "1.0.7" + }, "mixins": { "client": "roughlyenoughitems.client.json" } diff --git a/src/main/resources/pluginloader.json b/src/main/resources/pluginloader.json new file mode 100644 index 000000000..8c256add0 --- /dev/null +++ b/src/main/resources/pluginloader.json @@ -0,0 +1,7 @@ +{ + "id": "roughlyenoughitems", + "initializer": "me.shedaniel.rei.RoughlyEnoughItemsPlugins", + "data": { + "side": "CLIENT" + } +}
\ No newline at end of file diff --git a/src/main/resources/plugins/rei.plugin.json b/src/main/resources/plugins/rei.plugin.json deleted file mode 100644 index ab578d972..000000000 --- a/src/main/resources/plugins/rei.plugin.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "plugins": [ - { - "identifier": "roughlyenoughitems:default_plugin", - "class": "me.shedaniel.rei.plugin.DefaultPlugin" - } - ] -}
\ No newline at end of file diff --git a/src/main/resources/plugins/roughlyenoughitems.plugin.json b/src/main/resources/plugins/roughlyenoughitems.plugin.json new file mode 100644 index 000000000..8ea3542ee --- /dev/null +++ b/src/main/resources/plugins/roughlyenoughitems.plugin.json @@ -0,0 +1,6 @@ +[ + { + "id": "default_plugin", + "initializer": "me.shedaniel.rei.plugin.DefaultPlugin" + } +]
\ No newline at end of file |
