You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+26-21Lines changed: 26 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,32 @@ Finally, set the Forge version object to your `FlowUpdaterBuilder`:
88
88
.withModLoaderVersion(forgeVersion);
89
89
```
90
90
91
+
### NeoForge
92
+
Works almost the same way as Forge, but you need to use `NeoForgeVersion` instead of `ForgeVersion` and `NeoForgeVersionBuilder` instead of `ForgeVersionBuilder`.
93
+
Be careful when passing the neoforge version, it must be in the forge format for 1.20.1 (1.20.1-47.1.5 for example) ; but you should only pass the neoforge version for versions >= 1.21 (21.8.31 for example).
94
+
95
+
96
+
### Fabric
97
+
98
+
(You need to setup a vanilla updater!)
99
+
100
+
Next, make a List of Mod objects like for a ForgeVersion if you need some.
.withFabricVersion("0.10.8") // optional, if you don't set one, it will take the latest fabric loader version available.
106
+
.withCurseMods(modInfos) // optional
107
+
.withMods(mods) // optional
108
+
.withFileDeleter(newModFileDeleter("sodium.jar")) // (optional but recommended) delete bad mods ; but it won't remove the file sodium.jar if it's present in the mods' dir.
109
+
.build();
110
+
```
111
+
112
+
Finally, set the Fabric version to your `FlowUpdaterBuilder`:
113
+
```java
114
+
.withModLoaderVersion(fabricVersion);
115
+
```
116
+
91
117
### MCP
92
118
93
119
(You need to setup a vanilla updater!)
@@ -114,27 +140,6 @@ Still in the vanilla version builder, set a json link to a custom MCP version:
114
140
You can also provide some more additional libraries or assets with all methods in the `VanillaVersionBuilder` class
.withFabricVersion("0.10.8") // optional, if you don't set one, it will take the latest fabric loader version available.
127
-
.withCurseMods(modInfos) // optional
128
-
.withMods(mods) // optional
129
-
.withFileDeleter(newModFileDeleter("sodium.jar")) // (optional but recommended) delete bad mods ; but it won't remove the file sodium.jar if it's present in the mods' dir.
130
-
.build();
131
-
```
132
-
133
-
Finally, set the Fabric version to your `FlowUpdaterBuilder`:
134
-
```java
135
-
.withModLoaderVersion(fabricVersion);
136
-
```
137
-
138
143
## External Files
139
144
140
145
With FlowUpdater, you can download other files in your update dir! This system is designed mainly for configs, resource packs.
0 commit comments