Skip to content

Commit

Permalink
Update docs/blocks/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis C <[email protected]>
  • Loading branch information
IchHabeHunger54 and XFactHD authored Nov 22, 2023
1 parent b6f860a commit 6e6d973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/blocks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ For simple blocks which need no special functionality (think cobblestone, wooden
So for example, a simple implementation would look something like this:

```java
public static final Supplier<Block> MY_BETTER_BLOCK = BLOCKS.register(
public static final DeferredBlock<Block> MY_BETTER_BLOCK = BLOCKS.register(
"my_better_block",
() -> new Block(BlockBehaviour.Properties.of()
//highlight-start
Expand Down

1 comment on commit 6e6d973

@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: 6e6d97320b3964a0456c1a00b40e92cc4e8fca5a
Status: ✅ Deploy successful!
Preview URL: https://30fb7d35.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-21.neoforged-docs-previews.pages.dev

Please sign in to comment.