Uses of Interface
net.neoforged.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.neoforged.fml
Methods in net.neoforged.fml with type parameters of type IModBusEventModifier and TypeMethodDescriptionfinal <T extends net.neoforged.bus.api.Event & IModBusEvent>
voidModContainer.acceptEvent
(net.neoforged.bus.api.EventPriority phase, T e) Accept an arbitrary event for processing by the mod.final <T extends net.neoforged.bus.api.Event & IModBusEvent>
voidModContainer.acceptEvent
(T e) Accept an arbitrary event for processing by the mod.static <T extends net.neoforged.bus.api.Event & IModBusEvent>
voidModLoader.postEvent
(T e) static <T extends net.neoforged.bus.api.Event & IModBusEvent>
TModLoader.postEventWithReturn
(T e) static <T extends net.neoforged.bus.api.Event & IModBusEvent>
voidModLoader.postEventWithWrapInModOrder
(T e, BiConsumer<ModContainer, T> pre, BiConsumer<ModContainer, T> post) static <T extends net.neoforged.bus.api.Event & IModBusEvent>
voidModLoader.postEventWrapContainerInModOrder
(T event) static <T extends net.neoforged.bus.api.Event & IModBusEvent>
voidModLoader.runEventGenerator
(Function<ModContainer, T> generator) -
Uses of IModBusEvent in net.neoforged.fml.event.config
Classes in net.neoforged.fml.event.config that implement IModBusEventModifier 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 - that is, when a server (integrated or dedicated) shuts down or when a player disconnects from a remote server. -
Uses of IModBusEvent in net.neoforged.fml.event.lifecycle
Classes in net.neoforged.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.neoforged.neoforge.capabilities
Classes in net.neoforged.neoforge.capabilities that implement IModBusEventModifier and TypeClassDescriptionclass
Fired to register capability providers at an appropriate time. -
Uses of IModBusEvent in net.neoforged.neoforge.client.event
Classes in net.neoforged.neoforge.client.event that implement IModBusEventModifier and TypeClassDescriptionclass
This event allows mods to register client-side reload listeners to the resource manager.class
Fired during GpuDevice creation to allow optional features to be enabled.class
Fired when configuring the main render target during startup.class
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.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.final class
Fired duringMinecraft
initialization and datagen startup to allow initializing custom client-only "registries".static class
Fired when theModelManager
is notified of the resource manager reloading.static class
Fired while theModelManager
is reloading models, after the model registry is set up, but before it's passed to theBlockModelShaper
for caching.static class
Allows users to register their ownunbaked model loaders
for use in block/item models.static class
Fired when theModelDiscovery
is notified of dependency discovery of its top models.class
Fire to register new types ofCustomUnbakedBlockStateModel
andCustomBlockModelDefinition
.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
Event fired when special model renderers are registered.class
Allows users to register customDimensionSpecialEffects
for their dimensions.class
Event for registering screen effects when transitioning across 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 customlayers
for GUI rendering.class
Allows users to register custom IItemDecorator to Items.class
Event fired when item models are registered.class
Allows registering customAnimationTarget
s andinterpolation function
s for loading JSON entity animation files.class
Allows users to register customkey mappings
.class
Fired for registering texture atlases that will be used withMaterial
or other systems which retrieve the atlas viaMinecraft.getTextureAtlas(ResourceLocation)
orModelManager.getAtlas(ResourceLocation)
.class
class
Allows users to register custom namedrender types
.class
Fired for registering particle providers at the appropriate time.final class
Event to register customPictureInPictureRenderer
s for specialized rendering in UIs.class
Event for registeringPresetEditor
screen factories for world presets.class
Event fired when special model renderers are registered.class
Event to registerExtendedRecipeBookCategory
instances for search.class
Fired to allow mods to register custom render buffers.class
Fired to allow mods to register custom pipelines.class
Event fired when item model property selectors are registered.class
Event fired when special block model renderers are created.class
Event fired when special model renderers are registered.class
Fired to allow mods to register their own default metadata section types for use during sprite loading.class
Fired to allow mods to register their own SpriteSource codecs.class
Fired after a texture atlas is stitched together and all textures therein have been loaded. -
Uses of IModBusEvent in net.neoforged.neoforge.client.event.sound
Classes in net.neoforged.neoforge.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.neoforged.neoforge.client.extensions.common
Classes in net.neoforged.neoforge.client.extensions.common that implement IModBusEventModifier and TypeClassDescriptionfinal class
Allows registering client extensions for various game objects. -
Uses of IModBusEvent in net.neoforged.neoforge.client.gui.map
Classes in net.neoforged.neoforge.client.gui.map that implement IModBusEventModifier and TypeClassDescriptionfinal class
Allows users to register custom decoration renderers forMapDecoration
s which require more dynamic rendering than a single texture on the map decoration atlas allows. -
Uses of IModBusEvent in net.neoforged.neoforge.client.network.event
Classes in net.neoforged.neoforge.client.network.event that implement IModBusEventModifier and TypeClassDescriptionclass
Event fired on the mod event bus when theClientNetworkRegistry
is being set up. -
Uses of IModBusEvent in net.neoforged.neoforge.client.pipeline
Classes in net.neoforged.neoforge.client.pipeline that implement IModBusEventModifier and TypeClassDescriptionfinal class
Fired to registerPipelineModifiers
to modifyRenderPipeline
s in arbitrary render paths. -
Uses of IModBusEvent in net.neoforged.neoforge.client.renderstate
Classes in net.neoforged.neoforge.client.renderstate that implement IModBusEventModifier and TypeClassDescriptionclass
Fired for registering modifier functions for various render state objects. -
Uses of IModBusEvent in net.neoforged.neoforge.common.world.chunk
Classes in net.neoforged.neoforge.common.world.chunk that implement IModBusEvent -
Uses of IModBusEvent in net.neoforged.neoforge.data.event
Classes in net.neoforged.neoforge.data.event that implement IModBusEventModifier and TypeClassDescriptionclass
static class
static class
-
Uses of IModBusEvent in net.neoforged.neoforge.event
Classes in net.neoforged.neoforge.event that implement IModBusEventModifier and TypeClassDescriptionclass
Fired onPackRepository
creation to allow mods to add new pack finders.class
Allows injecting new blocks into a block entity'sBlockEntityType.validBlocks
field in a safe manner.final class
Fired when the contents of a specific creative mode tab are being populated inCreativeModeTab.buildContents(CreativeModeTab.ItemDisplayParameters)
.final class
The event used to modify the default components of an item.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.neoforged.neoforge.event.entity
Classes in net.neoforged.neoforge.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.neoforged.neoforge.fluids
Classes in net.neoforged.neoforge.fluids that implement IModBusEventModifier and TypeClassDescriptionclass
Event to registerCauldronFluidContent
for modded cauldrons. -
Uses of IModBusEvent in net.neoforged.neoforge.network.event
Classes in net.neoforged.neoforge.network.event that implement IModBusEventModifier and TypeClassDescriptionclass
Fired when the server configuration packet listener collects all the configuration tasks that should be run on the server to configure the client.class
Event fired when theNetworkRegistry
is being set up. -
Uses of IModBusEvent in net.neoforged.neoforge.registries
Classes in net.neoforged.neoforge.registries that implement IModBusEventModifier and TypeClassDescriptionclass
static final class
Fired when datapack registries can be registered.class
Fired during startup after builtin registries are constructed.class
Fired when new registries can be constructed and registered.class
Fired for each registry when it is ready to have modded objects registered. -
Uses of IModBusEvent in net.neoforged.neoforge.registries.datamaps
Classes in net.neoforged.neoforge.registries.datamaps that implement IModBusEventModifier and TypeClassDescriptionclass
Event fired on the mod event bus, in order to registerdata map types
.