How do I add a custom crafting recipe in minecraft fabric?
- User
How do I add a custom crafting recipe in minecraft fabric?
Assistant
Here's how you can add a custom crafting recipe in Minecraft Fabric:
- Create a RecipeSerializer. This will define your recipe and handle crafting logic. It should extend RecipeSerializer. For example:
public class MyRecipeSerializer extends RecipeSerializer<MyRecipe> { // ... }- Create a Recipe class. This will represent your actual recipe. It should extend Recipe. For example:
public class MyRecipe extends Recipe<MyRecipe> { // ... }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.