diff options
Diffstat (limited to 'src/testmod')
-rw-r--r-- | src/testmod/java/dev/isxander/yacl3/test/Entrypoint.java | 4 | ||||
-rw-r--r-- | src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt | 2 | ||||
-rw-r--r-- | src/testmod/resources/META-INF/neoforge.mods.toml | 17 |
3 files changed, 20 insertions, 3 deletions
diff --git a/src/testmod/java/dev/isxander/yacl3/test/Entrypoint.java b/src/testmod/java/dev/isxander/yacl3/test/Entrypoint.java index dca6070..78fcd62 100644 --- a/src/testmod/java/dev/isxander/yacl3/test/Entrypoint.java +++ b/src/testmod/java/dev/isxander/yacl3/test/Entrypoint.java @@ -1,5 +1,5 @@ -/*? if neoforge {*//* -package dev.isxander.yacl3.test; +/*? if neoforge {*/ +/*package dev.isxander.yacl3.test; import net.neoforged.fml.common.Mod; diff --git a/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt b/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt index 9335fb4..ac162a1 100644 --- a/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt +++ b/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt @@ -11,7 +11,7 @@ import net.minecraft.network.chat.Component import net.minecraft.network.chat.ComponentSerialization import net.minecraft.resources.ResourceLocation -object CodecConfigKt : JsonFileCodecConfig(YACLPlatform.getConfigDir().resolve("codec_config_kt.json")) { +object CodecConfigKt : JsonFileCodecConfig<CodecConfigKt>(YACLPlatform.getConfigDir().resolve("codec_config_kt.json")) { val myInt by register<Int>(0, Codec.INT) val myString by register<String>("default", Codec.STRING) diff --git a/src/testmod/resources/META-INF/neoforge.mods.toml b/src/testmod/resources/META-INF/neoforge.mods.toml new file mode 100644 index 0000000..2af31d4 --- /dev/null +++ b/src/testmod/resources/META-INF/neoforge.mods.toml @@ -0,0 +1,17 @@ +modLoader = "javafml" +loaderVersion = "[1,)" +#issueTrackerURL = "" +license = "LGPL-3.0-or-later" + +[[mods]] +modId = "yacl_test" +version = "1" +displayName = "YACL Testmod" +description = ''' +Test mod for YACL +''' +authors = "isXander" + +[[mixins]] +config = "yacl-test.mixins.json" + |