Skip to content

Commit

Permalink
Update FML / ModLauncher (Updates Mixin, Improved Error Reporting, Ad…
Browse files Browse the repository at this point in the history
…dresses Log4j2 Warnings) (#1230)
  • Loading branch information
shartte authored Jul 4, 2024
1 parent a659823 commit e137f81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
9 changes: 4 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,19 @@ mergetool_version=2.0.0
accesstransformers_version=10.0.1
coremods_version=6.0.4
eventbus_version=8.0.1
modlauncher_version=11.0.2
modlauncher_version=11.0.4
securejarhandler_version=3.0.8
bootstraplauncher_version=2.0.2
asm_version=9.5
installer_version=2.1.+
mixin_version=0.13.4+mixin.0.8.5
terminalconsoleappender_version=1.2.0
jline_version=3.12.+
mixin_version=0.14.0+mixin.0.8.6
terminalconsoleappender_version=1.3.0
nightconfig_version=3.6.4
jetbrains_annotations_version=24.0.1
slf4j_api_version=2.0.7
apache_maven_artifact_version=3.8.5
jarjar_version=0.4.1
fancy_mod_loader_version=4.0.6
fancy_mod_loader_version=4.0.15
mojang_logging_version=1.1.1
log4j_version=2.22.1
guava_version=31.1.2-jre
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@

import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.IBindingsProvider;
import net.neoforged.fml.config.IConfigEvent;
import net.neoforged.fml.event.config.ModConfigEvent;
import net.neoforged.neoforge.common.NeoForge;

public class NeoForgeBindings implements IBindingsProvider {
@Override
public IEventBus getGameBus() {
return NeoForge.EVENT_BUS;
}

@Override
public IConfigEvent.ConfigConfig getConfigConfiguration() {
return new IConfigEvent.ConfigConfig(ModConfigEvent.Loading::new, ModConfigEvent.Reloading::new, ModConfigEvent.Unloading::new);
}
}

0 comments on commit e137f81

Please sign in to comment.