--- a/net/minecraft/inventory/container/RecipeBookContainer.java
+++ b/net/minecraft/inventory/container/RecipeBookContainer.java
@@ -31,4 +31,8 @@
 
    @OnlyIn(Dist.CLIENT)
    public abstract int func_203721_h();
+
+   public java.util.List<net.minecraft.client.util.RecipeBookCategories> getRecipeBookCategories() {
+      return net.minecraft.client.util.ClientRecipeBook.func_216769_b(this);
+   }
 }
