diff options
| author | Brennan Ward <3682588+Shadows-of-Fire@users.noreply.github.com> | 2024-04-27 23:59:38 -0700 |
|---|---|---|
| committer | Brennan Ward <3682588+Shadows-of-Fire@users.noreply.github.com> | 2024-04-27 23:59:38 -0700 |
| commit | fa99978d2e921f7f853240aa185bdb1436078eaa (patch) | |
| tree | 6e48f5abea4edfd1362a0b6cf33bb7eab2485dc4 /src/main | |
| parent | 8e4a898238014d10c934417848596816920e00ad (diff) | |
Update references to neoforge.mods.toml
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/java/com/example/examplemod/Config.java | 2 | ||||
| -rw-r--r-- | src/main/java/com/example/examplemod/ExampleMod.java | 2 | ||||
| -rw-r--r-- | src/main/resources/META-INF/neoforge.mods.toml (renamed from src/main/resources/META-INF/mods.toml) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/example/examplemod/Config.java b/src/main/java/com/example/examplemod/Config.java index b96d525..7f5aa8b 100644 --- a/src/main/java/com/example/examplemod/Config.java +++ b/src/main/java/com/example/examplemod/Config.java @@ -13,7 +13,7 @@ import net.neoforged.fml.event.config.ModConfigEvent; import net.neoforged.neoforge.common.ModConfigSpec; // An example config class. This is not required, but it's a good idea to have one to keep your config organized. -// Demonstrates how to use Forge's config APIs +// Demonstrates how to use Neo's config APIs @EventBusSubscriber(modid = ExampleMod.MODID, bus = EventBusSubscriber.Bus.MOD) public class Config { diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/src/main/java/com/example/examplemod/ExampleMod.java index 259b3da..835a48d 100644 --- a/src/main/java/com/example/examplemod/ExampleMod.java +++ b/src/main/java/com/example/examplemod/ExampleMod.java @@ -34,7 +34,7 @@ import net.neoforged.neoforge.registries.DeferredHolder; import net.neoforged.neoforge.registries.DeferredItem; import net.neoforged.neoforge.registries.DeferredRegister; -// The value here should match an entry in the META-INF/mods.toml file +// The value here should match an entry in the META-INF/neoforge.mods.toml file @Mod(ExampleMod.MODID) public class ExampleMod { diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/neoforge.mods.toml index 587cef0..49ba37c 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/neoforge.mods.toml @@ -1,4 +1,4 @@ -# This is an example mods.toml file. It contains the data relating to the loading mods. +# This is an example neoforge.mods.toml file. It contains the data relating to the loading mods. # There are several mandatory fields (#mandatory), and many more that are optional (#optional). # The overall format is standard TOML format, v0.5.0. # Note that there are a couple of TOML lists in this file. |
