Skip to content

Commit

Permalink
fix type for RecipeSerializer doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dphaldes authored Nov 30, 2024
1 parent 0c3d851 commit c39ae72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public class RightClickBlockRecipeSerializer implements RecipeSerializer<RightCl
Like with the type, we register our serializer:

```java
public static final DeferredRegister<RecipeType<?>> RECIPE_SERIALIZERS =
public static final DeferredRegister<RecipeSerializer<?>> RECIPE_SERIALIZERS =
DeferredRegister.create(Registries.RECIPE_SERIALIZER, ExampleMod.MOD_ID);

public static final Supplier<RecipeSerializer<RightClickBlockRecipe>> RIGHT_CLICK_BLOCK =
Expand Down

1 comment on commit c39ae72

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploying with Cloudflare Pages

Name Result
Last commit: c39ae72ea7551611309287c837233a2e539f1e61
Status: ✅ Deploy successful!
Preview URL: https://2ba581c9.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-209.neoforged-docs-previews.pages.dev

Please sign in to comment.