Skip to main content
Version: 26.1.x

Client Recipe Update Events

dev.architectury.event.events.client.ClientRecipeUpdateEvent

Fires when the client receives an updated set of recipes from the server. All notifications.

Events

EventListener methodNotes
EVENTupdate(RecipeAccess recipeAccess)The recipe list was updated.
ADDadd(RecipeAccess, List<ClientboundRecipeBookAddPacket.Entry>)Recipes were added. Experimental.
REMOVEremove(RecipeAccess, List<RecipeDisplayId>)Recipes were removed. Experimental.

Example

ClientRecipeUpdateEvent.EVENT.register(recipeAccess -> {
// rebuild any cached recipe data on the client
});
Experimental

ADD and REMOVE are marked experimental and may change in a future release. Prefer EVENT unless you specifically need the deltas.