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 TypeClassDescriptionclassFired for on different events/actions relating to entity renderers.static classFired for registering entity renderer layers at the appropriate time, after the entity and player renderers maps have been created.static classFired for registering additional skull models at the appropriate time.static classFired for registering layer definitions at the appropriate time.static classFired for registering entity and block entity renderers at the appropriate time.static classFired when theModelManageris notified of the resource manager reloading.static classFired while theModelManageris reloading models, after the model registry is set up, but before it's passed to theBlockModelShaperfor caching.static classFired when theModelBakeryis notified of the resource manager reloading.static classAllows users to register their owngeometry loadersfor use in block/item models.classFired to allow mods to register their reload listeners on the client-side resource manager.classAllows users to register customClientTooltipComponentfactories for theirTooltipComponenttypes.classFired for registering block and item color handlers at the appropriate time.static classFired for registering block color handlers.static classAllows registration of customColorResolverimplementations to be used withBlockAndTintGetter.getBlockTint(BlockPos, ColorResolver).static classFired for registering item color handlers.classAllows users to register customDimensionSpecialEffectsfor their dimensions.classAllows users to register custom shaders to be used when the player spectates a certain kind of entity.classAllows users to register customGUI overlays.classAllows users to register custom IItemDecorator to Items.classAllows users to register customkey mappings.classAllows users to register custom namedrender types.classFired for registering particle providers at the appropriate time.classAllows users to register custom categories for the vanilla recipe book, making it usable in modded GUIs.classFired to allow mods to register custom shaders.classAllows users to register customtexture atlas sprite loaders.static classUse to create a custom stages.classFired after a texture atlas is stitched together.static classFired after a texture atlas is stitched together and all textures therein has been loaded. -
Uses of IModBusEvent in net.minecraftforge.client.event.sound
Classes in net.minecraftforge.client.event.sound that implement IModBusEventModifier and TypeClassDescriptionclassFired when theSoundEngineis 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 classThis 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 TypeClassDescriptionclassFired onPackRepositorycreation to allow mods to add new pack finders.classstatic final classFired when the contents of a specific creative mode tab are being populated.static final classFired when creative mode tabs can be registered.classFires 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.classGame 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 TypeClassDescriptionclassEntityAttributeCreationEvent.
Use this event to register attributes for your own EntityTypes.classEntityAttributeModificationEvent.
Use this event to add attributes to existing entity types.classThis event allows eachEntityTypeto have aSpawnPlacements.SpawnPredicateregistered or modified. -
Uses of IModBusEvent in net.minecraftforge.fml
Classes in net.minecraftforge.fml with type parameters of type IModBusEventModifier and TypeInterfaceDescriptionstatic interfaceIModStateTransition.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>
TModLoader.postEventWithReturn(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 TypeClassDescriptionclassstatic classstatic class -
Uses of IModBusEvent in net.minecraftforge.fml.event.lifecycle
Classes in net.minecraftforge.fml.event.lifecycle that implement IModBusEventModifier and TypeClassDescriptionclassThis is the second of four commonly called events during mod lifecycle startup.classThis is the first of four commonly called events during mod initialization.classclassThis is the second of four commonly called events during mod core startup.classThis is a mostly internal event fired to mod containers that indicates that loading is complete.classThis is the third of four commonly called events during mod core startup.classThis is the fourth of four commonly called events during mod core startup.classParent 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 TypeClassDescriptionclassstatic final classFired when datapack registries can be registered.classRegister new registries when you receive this event throughRegistryBuilderandNewRegistryEvent.create(RegistryBuilder).classThis event fires for each forge and vanilla registry when all registries are ready to have modded objects registered.