Uses of Interface
net.minecraftforge.fml.config.IConfigEvent
Package
Description
-
Uses of IConfigEvent in net.minecraftforge.fml
Modifier and TypeFieldDescriptionprotected Optional<Consumer<IConfigEvent>>
ModContainer.configHandler
-
Uses of IConfigEvent in net.minecraftforge.fml.config
Modifier and TypeFieldDescriptionprivate final Function<ModConfig,
IConfigEvent> IConfigEvent.ConfigConfig.loading
The field for theloading
record component.private final Function<ModConfig,
IConfigEvent> IConfigEvent.ConfigConfig.reloading
The field for thereloading
record component.private final @Nullable Function<ModConfig,
IConfigEvent> IConfigEvent.ConfigConfig.unloading
The field for theunloading
record component.Modifier and TypeMethodDescriptiondefault <T extends net.minecraftforge.eventbus.api.Event & IConfigEvent>
TIConfigEvent.self()
Modifier and TypeMethodDescriptionstatic IConfigEvent
static IConfigEvent
static @Nullable IConfigEvent
Modifier and TypeMethodDescriptionIConfigEvent.ConfigConfig.loading()
Returns the value of theloading
record component.IConfigEvent.ConfigConfig.reloading()
Returns the value of thereloading
record component.@Nullable Function<ModConfig,
IConfigEvent> IConfigEvent.ConfigConfig.unloading()
Returns the value of theunloading
record component.Modifier and TypeMethodDescription(package private) void
ModConfig.fireEvent
(IConfigEvent configEvent) ModifierConstructorDescriptionConfigConfig
(Function<ModConfig, IConfigEvent> loading, Function<ModConfig, IConfigEvent> reloading, @Nullable Function<ModConfig, IConfigEvent> unloading) Creates an instance of aConfigConfig
record class. -
Uses of IConfigEvent in net.minecraftforge.fml.event.config
Modifier and TypeClassDescriptionclass
static class
Fired during mod and server loading, depending onModConfig.Type
of config file.static class
Fired when the configuration is changed.static class
Fired when a config is unloaded.