KnowledgeBookBuilder extends Builder<KnowledgeBookMeta, KnowledgeBookBuilder> { public KnowledgeBookBuilder recipes(NamespacedKey... recipes) { meta.addRecipe(recipes); return this; } KnowledgeBookBuilder();   KnowledgeBookBuilder(Builder<ItemMeta, ?> source); static KnowledgeBookBuilder of(); KnowledgeBookBuilder recipes(NamespacedKey... recipes); KnowledgeBookBuilder recipes(Collection<NamespacedKey> recipes);  }
@Test void recipes() { KnowledgeBookBuilder.of().self().recipes(first).recipes(Set.of(second)); verify(meta).addRecipe(first); verify(meta).addRecipe(second); }