User Tools

Site Tools


tutorial:events

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorial:events [2021/05/28 00:31] – Made event be listener instead, as they should really be the same thing pheonixvxtutorial:events [2025/12/29 07:00] (current) gauntrecluse
Line 1: Line 1:
 +~~REDIRECT>https://docs.fabricmc.net/develop/events#custom-events~~
 +
 ====== Custom Events ====== ====== Custom Events ======
 Fabric API provides a system that allows mods to react to events that occur in the game. Events are hooks that satisfy common use cases and/or provide enhanced compatibility and performance between mods that hook into the same areas of the code. The use of events often substitutes the use of mixins. Fabric API provides events for important areas in the Minecraft codebase that multiple modders may be interested in hooking into. Some areas do not have hooks, so you can opt to use a mixin, or create your own event. Fabric API provides a system that allows mods to react to events that occur in the game. Events are hooks that satisfy common use cases and/or provide enhanced compatibility and performance between mods that hook into the same areas of the code. The use of events often substitutes the use of mixins. Fabric API provides events for important areas in the Minecraft codebase that multiple modders may be interested in hooking into. Some areas do not have hooks, so you can opt to use a mixin, or create your own event.
tutorial/events.1622161867.txt.gz · Last modified: 2021/05/28 00:31 by pheonixvx