Uses of Interface
net.minecraftforge.fml.event.IModBusEvent
Packages that use IModBusEvent
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Client-only events relating to sounds.
-
Uses of IModBusEvent in net.minecraftforge.client.event
Classes in net.minecraftforge.client.event that implement IModBusEventModifier and TypeClassDescriptionclass
Fired for on different events/actions relating to entity renderers.static class
Fired for registering entity renderer layers at the appropriate time, after the entity and player renderers maps have been created.static class
Fired for registering additional skull models at the appropriate time.static class
Fired for registering layer definitions at the appropriate time.static class
Fired for registering entity and block entity renderers at the appropriate time.static class
Fired when theModelManager
is notified of the resource manager reloading.static class
Fired when theModelBakery
is notified of the resource manager reloading.static class
Allows users to register their owngeometry loaders
for use in block/item models.class
Fired to allow mods to register their reload listeners on the client-side resource manager.class
Allows users to register customClientTooltipComponent
factories for theirTooltipComponent
types.class
Fired for registering block and item color handlers at the appropriate time.static class
Fired for registering block color handlers.static class
Allows registration of customColorResolver
implementations to be used withBlockAndTintGetter.getBlockTint(BlockPos, ColorResolver)
.static class
Fired for registering item color handlers.class
Allows users to register customDimensionSpecialEffects
for their dimensions.class
Allows users to register custom shaders to be used when the player spectates a certain kind of entity.class
Allows users to register customGUI overlays
.class
Allows users to register custom IItemDecorator to Items.class
Allows users to register customkey mappings
.class
Allows users to register custom namedrender types
.class
Fired for registering particle providers at the appropriate time.class
Allows users to register custom categories for the vanilla recipe book, making it usable in modded GUIs.class
Fired to allow mods to register custom shaders.class
Allows users to register customtexture atlas sprite loaders
.static class
Use to create a custom stages.class
Fired before and after a texture atlas stitched together.static class
Fired after a texture atlas is stitched together and all textures therein has been loaded.static class
Fired before a texture atlas is stitched together. -
Uses of IModBusEvent in net.minecraftforge.client.event.sound
Classes in net.minecraftforge.client.event.sound that implement IModBusEventModifier and TypeClassDescriptionclass
Fired when theSoundEngine
is constructed or (re)loaded, such as during game initialization or when the sound output device is changed. -
Uses of IModBusEvent in net.minecraftforge.common.capabilities
Classes in net.minecraftforge.common.capabilities that implement IModBusEventModifier and TypeClassDescriptionfinal class
This event fires when it is time to register your capabilities. -
Uses of IModBusEvent in net.minecraftforge.data.event
Classes in net.minecraftforge.data.event that implement IModBusEvent -
Uses of IModBusEvent in net.minecraftforge.event
Classes in net.minecraftforge.event that implement IModBusEventModifier 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. -
Uses of IModBusEvent in net.minecraftforge.event.entity
Classes in net.minecraftforge.event.entity that implement IModBusEventModifier 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.class
This event allows eachEntityType
to have aSpawnPlacements.SpawnPredicate
registered or modified. -
Uses of IModBusEvent in net.minecraftforge.fml
Classes in net.minecraftforge.fml with type parameters of type IModBusEventModifier and TypeInterfaceDescriptionstatic interface
IModStateTransition.EventGenerator<T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Methods in net.minecraftforge.fml with type parameters of type IModBusEventModifier 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<Void>> completableFutures, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> nextState, IModStateTransition.EventGenerator<T> nextGenerator) default <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
CompletableFuture<Void>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<Void>>IModLoadingState.buildTransition
(Executor syncExecutor, Executor parallelExecutor) Builds the transition task for this state with a blank pre-sync and post-sync task.<T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Optional<CompletableFuture<Void>>IModLoadingState.buildTransition
(Executor syncExecutor, Executor parallelExecutor, Function<Executor, CompletableFuture<Void>> preSyncTask, Function<Executor, CompletableFuture<Void>> postSyncTask) Builds the transition task for this state.<T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Optional<CompletableFuture<Void>>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<Void>> 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.postEventWithWrapInModOrder
(T e, BiConsumer<ModContainer, T> pre, BiConsumer<ModContainer, T> post) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidModLoader.runEventGenerator
(Function<ModContainer, T> generator) -
Uses of IModBusEvent in net.minecraftforge.fml.event.config
Classes in net.minecraftforge.fml.event.config that implement IModBusEventModifier and TypeClassDescriptionclass
static class
static class
-
Uses of IModBusEvent in net.minecraftforge.fml.event.lifecycle
Classes in net.minecraftforge.fml.event.lifecycle that implement IModBusEventModifier 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
Methods in net.minecraftforge.fml.javafmlmod with type parameters of type IModBusEventModifier and TypeMethodDescriptionprotected <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidFMLModContainer.acceptEvent
(T e) -
Uses of IModBusEvent in net.minecraftforge.fml.lowcodemod
Methods in net.minecraftforge.fml.lowcodemod with type parameters of type IModBusEventModifier and TypeMethodDescriptionprotected <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidLowCodeModContainer.acceptEvent
(T e) -
Uses of IModBusEvent in net.minecraftforge.registries
Classes in net.minecraftforge.registries that implement IModBusEventModifier and TypeClassDescriptionclass
Register new registries when you receive this event throughRegistryBuilder
andNewRegistryEvent.create(RegistryBuilder)
.class
This event fires for each forge and vanilla registry when all registries are ready to have modded objects registered.