Skip to content

Commit 9c6f916

Browse files
committed
Update OneConfig + other things
1 parent 2d2c716 commit 9c6f916

File tree

7 files changed

+8
-84
lines changed

7 files changed

+8
-84
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,4 @@ Example mod implementing OneConfig.
1313
- **Remove the license named "LICENSE-TEMPLATE" and choose a new one.**
1414
- Refactor the template (specifically, the modid, version and name in the gradle.properties and most of the class names)
1515
to a different name.
16-
- Have fun modding! :D
17-
18-
## Need to update to a newer commit of this template?
19-
20-
Check out these update guides:
21-
- [Updating to commit `fd8e095`](update-to-fd8e095.md) (most recent update)
22-
- [Updating to commit `301a6ca`](update-to-301a6ca.md)
16+
- Have fun modding! :D

build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ plugins {
1616

1717
toolkitLoomHelper {
1818
useOneConfig {
19-
version = "1.0.0-alpha.47"
20-
loaderVersion = "1.1.0-alpha.34"
19+
version = "1.0.0-alpha.49"
20+
loaderVersion = "1.1.0-alpha.35"
2121

2222
usePolyMixin = true
2323
polyMixinVersion = "0.8.4+build.2"
@@ -28,6 +28,8 @@ toolkitLoomHelper {
2828
+module
2929
}
3030
}
31+
useDevAuth("1.2.1")
32+
useMixinExtras("0.4.1")
3133

3234
// Turns off the server-side run configs, as we're building a client-sided mod.
3335
disableRunConfigs(GameSide.SERVER)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mod.id=examplemod
1414
# Sets the version of your mod. Make sure to update this when you make changes according to the SemVer specification.
1515
mod.version=1.0.0
1616
# Sets the Maven group ID of your mod. This is effectively unused but is good practice to set regardless.
17-
mod.group=com.example
17+
mod.group=org.polyfrost
1818

1919
# Configures the mod loader that we're developing for.
2020
loom.platform=forge

src/main/java/org/polyfrost/example/config/ExampleConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/**
1010
* The main Config entrypoint that extends the Config type and initializes your config options.
11-
* See <a href="https://docs.polyfrost.cc/oneconfig/config/adding-options">this link</a> for more config Options
11+
* See <a href="https://docsv1.polyfrost.org/configuration/available-options">this link</a> for more config Options
1212
*/
1313
public class ExampleConfig extends Config {
1414

src/main/java/org/polyfrost/example/mixin/MinecraftMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@Mixin(Minecraft.class)
1616
public class MinecraftMixin {
1717

18-
@Inject(method = "startGame", at = @At(value = "HEAD"))
18+
@Inject(method = "<init>", at = @At(value = "RETURN"))
1919
private void examplemod$onStartGame(CallbackInfo ci) {
2020
System.out.println("This is a message from the example mod!");
2121
}

update-to-301a6ca.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

update-to-fd8e095.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)