Uses of Interface
net.minecraftforge.fml.config.IConfigEvent
Packages that use IConfigEvent
Package
Description
-
Uses of IConfigEvent in net.minecraftforge.fml
Fields in net.minecraftforge.fml with type parameters of type IConfigEventModifier and TypeFieldDescriptionprotected Optional<Consumer<IConfigEvent>>
ModContainer.configHandler
Methods in net.minecraftforge.fml with parameters of type IConfigEvent -
Uses of IConfigEvent in net.minecraftforge.fml.config
Fields in net.minecraftforge.fml.config with type parameters of type IConfigEventModifier 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.Methods in net.minecraftforge.fml.config with type parameters of type IConfigEventModifier and TypeMethodDescriptiondefault <T extends net.minecraftforge.eventbus.api.Event & IConfigEvent>
TIConfigEvent.self()
Methods in net.minecraftforge.fml.config that return IConfigEventModifier and TypeMethodDescriptionstatic IConfigEvent
static IConfigEvent
static @Nullable IConfigEvent
Methods in net.minecraftforge.fml.config that return types with arguments of type IConfigEventModifier 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.Methods in net.minecraftforge.fml.config with parameters of type IConfigEventModifier and TypeMethodDescription(package private) void
ModConfig.fireEvent
(IConfigEvent configEvent) Constructor parameters in net.minecraftforge.fml.config with type arguments of type IConfigEventModifierConstructorDescriptionConfigConfig
(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
Classes in net.minecraftforge.fml.event.config that implement IConfigEventModifier 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.