EventRegistration
A "containing" object to make event registration callbacks less polluting to the global namespace.
Author
sschr15
Extensions
Called when recipes are loaded. This is the time to register your own recipes. It is called before onModifyRecipes and onRemoveRecipes.
This tends to be a code hotspot, so any code should be sure to run quickly.
This tends to be a code hotspot, so any code should be sure to run quickly.
Called when data pack reloading has finished.
Called when data pack reloading is about to begin.
Invoked when a player on the server starts tracking an entity. This usually happens when the entity gets close enough to the player to be seen.
Invoked when a player on the server stops tracking an entity. By the time this event runs, the player has already been told to destroy the entity instance, but the entity is still on the server.
Called when recipes are modified. This is the time to modify any recipes. It is called after onAddRecipes but before onRemoveRecipes.
Get a callback when a given registry gets a new entry.
Called when recipes are removed. This is the time to remove any recipes. It is called after onAddRecipes and onModifyRecipes.
This tends to be a code hotspot, so any code should be sure to run quickly.
This tends to be a code hotspot, so any code should be sure to run quickly.
This tends to be a code hotspot, so any code should be sure to run quickly.
This tends to be a code hotspot, so any code should be sure to run quickly.
This tends to be a code hotspot, so any code should be sure to run quickly.
This tends to be a code hotspot, so any code should be sure to run quickly.