Skip to content

Commit

Permalink
Merge branch 'neoforged:1.21.x' into 1.21.x-render-middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Argon4W authored Oct 26, 2024
2 parents 48e6517 + bd1804b commit 105daeb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/net/minecraft/world/item/crafting/RecipeManager.java.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- a/net/minecraft/world/item/crafting/RecipeManager.java
+++ b/net/minecraft/world/item/crafting/RecipeManager.java
@@ -260,6 +_,11 @@
: Optional.empty();
}

+ // Neo: expose recipe map
+ public RecipeMap recipeMap() {
+ return this.recipes;
+ }
+
public interface CachedCheck<I extends RecipeInput, T extends Recipe<I>> {
Optional<RecipeHolder<T>> getRecipeFor(I p_344938_, ServerLevel p_379487_);
}

0 comments on commit 105daeb

Please sign in to comment.