--- a/net/minecraft/inventory/container/RecipeBookContainer.java
+++ b/net/minecraft/inventory/container/RecipeBookContainer.java
@@ -33,6 +33,10 @@
    @OnlyIn(Dist.CLIENT)
    public abstract int func_203721_h();
 
+   public java.util.List<net.minecraft.client.util.RecipeBookCategories> getRecipeBookCategories() {
+      return net.minecraft.client.util.RecipeBookCategories.func_243236_a(this.func_241850_m());
+   }
+
    @OnlyIn(Dist.CLIENT)
    public abstract RecipeBookCategory func_241850_m();
 }
