Kir-Antipov / mc-publish

🚀 Your one-stop GitHub Action for seamless Minecraft project publication across various platforms.
MIT License
213 stars 19 forks source link

[Enhancement] Neoforge since Minecraft 1.20.5 uses "neoforge.mods.toml" #118

Closed shartte closed 2 months ago

shartte commented 2 months ago

Current Behavior

Neoforge has changed the name for mods.toml, leading to some values (such as game version) no longer being read automatically.

Desired Behavior

Support for neoforge.mods.toml (same format as mods.toml, still)

Alternative Solutions

No response

Other Information

No response

Kir-Antipov commented 2 months ago

Thanks for the notice! Just to make sure, the metadata file still resides in the META-INF directory, making its full path META-INF/neoforge.mods.toml, right?

shartte commented 2 months ago

@Kir-Antipov Yes, correct. The format is still the same.

Example: https://github.com/neoforged/NeoForge/blob/1.20.x/src/main/resources/META-INF/neoforge.mods.toml

cech12 commented 2 months ago

https://neoforged.net/news/20.5release/

Here is the official post of this change.

Kir-Antipov commented 2 months ago

Got it, thanks!

Kir-Antipov commented 2 months ago

Once again, thanks a lot for informing me about this important matter! A fixup has been applied to the current "rolling release" - v3.3, so no actions are needed from the users to continue uploading their NeoForge mods with ease :)