Skip to content

26.1 JEI Recipe Compat Fix.#1355

Open
hawahz wants to merge 1 commit into
vectorwing:26.1from
hawahz:26.1
Open

26.1 JEI Recipe Compat Fix.#1355
hawahz wants to merge 1 commit into
vectorwing:26.1from
hawahz:26.1

Conversation

@hawahz

@hawahz hawahz commented Jul 1, 2026

Copy link
Copy Markdown

Since the method ClientLevel.getRecipeManager() has been removed in mc 26.1.x, the proper way to sync recipe is subscribe OnDatapackSyncEvent for send recipes to sync and RecipesReceivedEvent for recieve recipes from server. I've done quite simple changes that:

  • Add a static RecipeMap cache to FDRecipes.java
  • Turn FDRecipes.java to a completely static utility class
  • Update JEIPlugin.registerRecipes() to fit changes above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant