Skip to content

Commit

Permalink
Merge branch '1.20.4' into 1.21
Browse files Browse the repository at this point in the history
* 1.20.4:
  Fixed neoforge setup
  • Loading branch information
Faboslav committed Aug 10, 2024
2 parents dcff515 + a6ecc11 commit b797e81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ allprojects {
"yungsapiVersion" : yungsapi_version
]

filesMatching(['pack.mcmeta', 'fabric.mod.json', 'META-INF/neoforge.mods.toml', '*.mixins.json']) {
filesMatching(['pack.mcmeta', 'fabric.mod.json', 'META-INF/mods.toml', '*.mixins.json']) {
expand expandProps
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
import com.faboslav.villagesandpillages.platform.neoforge.StructureProcessorTypeRegistryImpl;
import com.faboslav.villagesandpillages.platform.neoforge.StructureTypeRegistryImpl;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.common.Mod;

@Mod(VillagesAndPillages.MOD_ID)
public final class VillagesAndPillagesNeoForge
{
public VillagesAndPillagesNeoForge(IEventBus modEventBus) {
public VillagesAndPillagesNeoForge(ModContainer modContainer, IEventBus modEventBus) {
VillagesAndPillages.init();

StructureProcessorTypeRegistryImpl.STRUCTURE_PROCESSOR_TYPES.register(modEventBus);
Expand Down

0 comments on commit b797e81

Please sign in to comment.