Uses of Package
net.minecraftforge.client.event
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
ClassDescriptionFired when the client player logs in to the server.Fired before a boss health bar is rendered to the screen.Fired when a keymapping that by default involves clicking the mouse buttons is triggered.Allows users to register their own
geometry loaders
for use in block/item models.Fired to allow mods to register their reload listeners on the client-side resource manager.Allows users to register custom namedrender types
.Fired to allow mods to register custom shaders.The type of the block overlay to be rendered.A time during level rendering for you to render custom things into the world.Fired when the colours for the tooltip background are determined.Fired before the tooltip is rendered.Fired ahead of rendering any active mob effects in theinventory screen
.Fired when a screenshot is taken, but before it is written to disk.Fired to allow altering the angles of the player's camera. -
ClassDescriptionFired when a chat message is received on the client.Fired for different client connectivity events.Fired for hooking into
AbstractContainerScreen
events.Fired every time anAbstractContainerScreen
renders.Fired when an overlay is about to be rendered to the screen to allow the user to modify it.Fired for on different events/actions relating to entity renderers.Fired when an input is detected from the user's input devices.Fired when a mouse button is pressed/released.Houses events related to models.Fired for registering block and item color handlers at the appropriate time.The type of the block overlay to be rendered.Fired when the HUD is rendered to the screen.Fired when an overlay is rendered to the screen.Fired before a selection highlight is rendered.A time during level rendering for you to render custom things into the world.Fired when aLivingEntity
is rendered.Fired when a player is being rendered.Fired during tooltip rendering.Fired on different events/actions when aScreen
is active and visible.Fired when a keyboard key corresponding to a character is typed.Fired when a screen is being initialized.Fired whenever a keyboard key is pressed or released.Fired when a keyboard key is pressed.Fired when a keyboard key is released.Fired when a mouse button is pressed.Fired when a mouse button is released.Fired when the mouse was dragged while a button is being held down.Fired whenever an action is performed by the mouse.Fired when the mouse was dragged while a button is being held down.Fired when a screen is being drawn.Fired after a texture atlas is stitched together.Fired for hooking into the entity view rendering inGameRenderer
. -
ClassDescriptionFired when the client player logs in to the server.Fired for registering item color handlers.
-
ClassDescriptionFired for registering additional skull models at the appropriate time.Fired for registering layer definitions at the appropriate time.Fired for registering entity and block entity renderers at the appropriate time.Allows users to register their own
geometry loaders
for use in block/item models. -
ClassDescriptionFired when the client is about to send a chat message to the server.Fired to allow mods to register client commands.
-
ClassDescriptionFired when the client is about to send a chat message to the server.Allows users to register custom
ClientTooltipComponent
factories for theirTooltipComponent
types.Fired for registering block color handlers.Allows registration of customColorResolver
implementations to be used withBlockAndTintGetter.getBlockTint(BlockPos, ColorResolver)
.Allows users to register customtexture atlas sprite loaders
.Fired when the colours for the tooltip background are determined.Fired when a tooltip gathers theTooltipComponent
s to be rendered, before any text wrapping or processing.Fired when a screen is being initialized.Fired ahead of rendering any active mob effects in theinventory screen
. -
ClassDescriptionFired for registering entity and block entity renderers at the appropriate time.Fired while the
ModelManager
is reloading models, after the model registry is set up, but before it's passed to theBlockModelShaper
for caching.Allows users to register their owngeometry loaders
for use in block/item models. -
ClassDescriptionFired for registering entity renderer layers at the appropriate time, after the entity and player renderers maps have been created.Fired for registering layer definitions at the appropriate time.Fired for registering entity and block entity renderers at the appropriate time.Fired when the
ModelBakery
is notified of the resource manager reloading.Fired to allow mods to register their reload listeners on the client-side resource manager.Allows users to register custom shaders to be used when the player spectates a certain kind of entity.Allows users to register custom IItemDecorator to Items.Fired to allow mods to register custom shaders.Deprecated, for removal: This API element is subject to removal in a future version.Fires at various times during LevelRenderer.renderLevel.Use to create a custom stages.A time during level rendering for you to render custom things into the world.Fired before an entity renderer renders the nameplate of an entity.Fired after the screen is drawn.Fired before the screen is drawn. -
ClassDescriptionFired for registering entity and block entity renderers at the appropriate time.
-
-
-
ClassDescriptionFired for registering entity and block entity renderers at the appropriate time.
-
ClassDescriptionAllows users to register custom categories for the vanilla recipe book, making it usable in modded GUIs.
-
ClassDescriptionFired before any
Screen
is opened, to allow changing it or preventing it from being opened.
RenderLevelStageEvent
instead for more flexibility and improved compatibility with translucent objects.