Uses of Interface
net.minecraftforge.fml.event.IModBusEvent
Package
Description
-
Uses of IModBusEvent in net.minecraftforge.client.event
Modifier and TypeClassDescriptionclass
Use these events to register block/item color handlers at the appropriate time.static class
static class
class
static class
Provides a safe place to register entity renderer layers.static class
Provides a safe place to register models for the skull blockstatic class
static class
Provides a safe place to register entity renderers and layer renderers.class
Fired when the ModelManager is notified of the resource manager reloading.class
Fired when theModelLoaderRegistry
is ready to register model loadersclass
Fired when you should callParticleEngine.register(ParticleType, ParticleProvider)
.class
class
static class
Use to create a customRenderLevelStageEvent.Stage
s.class
static class
This event is fired once the texture map has loaded all textures and stitched them together.static class
Fired when the TextureMap is told to refresh it's stitched texture. -
Uses of IModBusEvent in net.minecraftforge.client.event.sound
Modifier and TypeClassDescriptionclass
Raised by the SoundManager.loadSoundSettings, this would be a good place for adding your custom sounds to the SoundPool. -
Uses of IModBusEvent in net.minecraftforge.common
Modifier and TypeClassDescription(package private) static final record
ForgeStatesProvider.SerialTransition<T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Modifier and TypeMethodDescriptionstatic <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
ForgeStatesProvider.SerialTransition<T>ForgeStatesProvider.SerialTransition.of
(Supplier<Stream<IModStateTransition.EventGenerator<?>>> eventStream) -
Uses of IModBusEvent in net.minecraftforge.common.capabilities
Modifier and TypeClassDescriptionfinal class
This event fires when it is time to register your capabilities. -
Uses of IModBusEvent in net.minecraftforge.event
Modifier and TypeClassDescriptionclass
Fired on PackRepository creation to allow mods to add new pack finders.class
Fires when the mod loader is in the process of loading a world that was last saved with mod versions that differ from the currently-loaded versions.class
Game tests are registered on client or server startup.class
RegistryEvent<T extends IForgeRegistryEntry<T>>
RegistryEvent supertype.static class
RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>
static class
RegistryEvent.Register<T extends IForgeRegistryEntry<T>>
Register your objects for the appropriate registry type when you receive this event. -
Uses of IModBusEvent in net.minecraftforge.event.entity
Modifier and TypeClassDescriptionclass
EntityAttributeCreationEvent.
Use this event to register attributes for your own EntityTypes.class
EntityAttributeModificationEvent.
Use this event to add attributes to existing entity types. -
Uses of IModBusEvent in net.minecraftforge.fml
Modifier and TypeInterfaceDescriptionstatic interface
IModStateTransition.EventGenerator<T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Modifier and TypeMethodDescriptionprotected <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidModContainer.acceptEvent
(T e) Accept an arbitrary event for processing by the mod.private <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
IModStateTransition.EventGenerator<T>IModStateTransition.addCompletableFutureTaskForModDispatch
(Executor syncExecutor, Executor parallelExecutor, List<CompletableFuture<List<Throwable>>> completeableFutures, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> nextState, IModStateTransition.EventGenerator<T> nextGenerator) default <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
CompletableFuture<List<Throwable>>IModStateTransition.build
(Executor syncExecutor, Executor parallelExecutor, Function<Executor, CompletableFuture<Void>> preSyncTask, Function<Executor, CompletableFuture<Void>> postSyncTask) default <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Optional<CompletableFuture<List<Throwable>>>IModLoadingState.buildTransition
(Executor syncExecutor, Executor parallelExecutor) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Optional<CompletableFuture<List<Throwable>>>IModLoadingState.buildTransition
(Executor syncExecutor, Executor parallelExecutor, Function<Executor, CompletableFuture<Void>> preSyncTask, Function<Executor, CompletableFuture<Void>> postSyncTask) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Optional<CompletableFuture<List<Throwable>>>ModLoadingState.buildTransition
(Executor syncExecutor, Executor parallelExecutor, Function<Executor, CompletableFuture<Void>> preSyncTask, Function<Executor, CompletableFuture<Void>> postSyncTask) static <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
CompletableFuture<Void>ModContainer.buildTransitionHandler
(ModContainer target, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> stateChangeHandler, Executor executor) static <FN extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
IModStateTransition.EventGenerator<FN>IModStateTransition.EventGenerator.fromFunction
(Function<ModContainer, FN> fn) (package private) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Function<Executor,CompletableFuture<List<Throwable>>> ModList.futureVisitor
(IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> stateChange) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidModLoader.postEvent
(T e) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidModLoader.runEventGenerator
(Function<ModContainer, T> generator) -
Uses of IModBusEvent in net.minecraftforge.fml.event.config
Modifier and TypeClassDescriptionclass
static class
static class
-
Uses of IModBusEvent in net.minecraftforge.fml.event.lifecycle
Modifier and TypeClassDescriptionclass
This is the second of four commonly called events during mod lifecycle startup.class
This is the first of four commonly called events during mod initialization.class
class
This is the second of four commonly called events during mod core startup.class
This is a mostly internal event fired to mod containers that indicates that loading is complete.class
This is the third of four commonly called events during mod core startup.class
This is the fourth of four commonly called events during mod core startup.class
Parent type to all ModLifecycle events.class
-
Uses of IModBusEvent in net.minecraftforge.fml.javafmlmod
Modifier and TypeMethodDescriptionprotected <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidFMLModContainer.acceptEvent
(T e) -
Uses of IModBusEvent in net.minecraftforge.fml.lowcodemod
Modifier and TypeMethodDescriptionprotected <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidLowCodeModContainer.acceptEvent
(T e) -
Uses of IModBusEvent in net.minecraftforge.forge.event.lifecycle
-
Uses of IModBusEvent in net.minecraftforge.registries
Modifier and TypeClassDescriptionclass
Register new registries when you receive this event throughRegistryBuilder
andNewRegistryEvent.create(RegistryBuilder)
.(package private) class
Deprecated, for removal: This API element is subject to removal in a future version.