-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'neoforged:1.21.x' into dataproviderhelpers
- Loading branch information
Showing
4 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
patches/net/minecraft/world/item/crafting/RecipeManager.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters