Update references to neoforge.mods.toml
This commit is contained in:
parent
8e4a898238
commit
fa99978d2e
4 changed files with 4 additions and 4 deletions
|
@ -132,7 +132,7 @@ tasks.withType(ProcessResources).configureEach {
|
|||
]
|
||||
inputs.properties replaceProperties
|
||||
|
||||
filesMatching(['META-INF/mods.toml']) {
|
||||
filesMatching(['META-INF/neoforge.mods.toml']) {
|
||||
expand replaceProperties
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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.
|
Loading…
Reference in a new issue