From 8d1bc8c76054a5adbcb4dfad2bc4ee685a2c9d7d Mon Sep 17 00:00:00 2001 From: ChampionAsh5357 Date: Wed, 23 Oct 2024 17:45:44 -0400 Subject: [PATCH] feat(neoforge): Expose RecipeManager#recipes --- .../world/item/crafting/RecipeManager.java.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/net/minecraft/world/item/crafting/RecipeManager.java.patch diff --git a/patches/net/minecraft/world/item/crafting/RecipeManager.java.patch b/patches/net/minecraft/world/item/crafting/RecipeManager.java.patch new file mode 100644 index 0000000000..619e85dd5b --- /dev/null +++ b/patches/net/minecraft/world/item/crafting/RecipeManager.java.patch @@ -0,0 +1,13 @@ +--- a/net/minecraft/world/item/crafting/RecipeManager.java ++++ b/net/minecraft/world/item/crafting/RecipeManager.java +@@ -260,6 +_,10 @@ + : Optional.empty(); + } + ++ public RecipeMap recipeMap() { ++ return this.recipes; ++ } ++ + public interface CachedCheck> { + Optional> getRecipeFor(I p_344938_, ServerLevel p_379487_); + }