Update references to neoforge.mods.toml

This commit is contained in:
Brennan Ward 2024-04-27 23:59:38 -07:00
parent 8e4a898238
commit fa99978d2e
4 changed files with 4 additions and 4 deletions

View file

@ -132,7 +132,7 @@ tasks.withType(ProcessResources).configureEach {
] ]
inputs.properties replaceProperties inputs.properties replaceProperties
filesMatching(['META-INF/mods.toml']) { filesMatching(['META-INF/neoforge.mods.toml']) {
expand replaceProperties expand replaceProperties
} }
} }

View file

@ -13,7 +13,7 @@ import net.neoforged.fml.event.config.ModConfigEvent;
import net.neoforged.neoforge.common.ModConfigSpec; 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. // 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) @EventBusSubscriber(modid = ExampleMod.MODID, bus = EventBusSubscriber.Bus.MOD)
public class Config public class Config
{ {

View file

@ -34,7 +34,7 @@ import net.neoforged.neoforge.registries.DeferredHolder;
import net.neoforged.neoforge.registries.DeferredItem; import net.neoforged.neoforge.registries.DeferredItem;
import net.neoforged.neoforge.registries.DeferredRegister; 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) @Mod(ExampleMod.MODID)
public class ExampleMod public class ExampleMod
{ {

View file

@ -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). # There are several mandatory fields (#mandatory), and many more that are optional (#optional).
# The overall format is standard TOML format, v0.5.0. # The overall format is standard TOML format, v0.5.0.
# Note that there are a couple of TOML lists in this file. # Note that there are a couple of TOML lists in this file.