Skip to content

Commit

Permalink
add IClientItemExtensions singleton notice
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Sep 30, 2024
1 parent 93f617e commit ad132b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/blockentities/ber.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ public static void registerClientExtensions(RegisterClientExtensionsEvent event)
}
```
:::info
`IClientItemExtensions` are generally expected to be treated as singletons. Do not construct them outside `RegisterClientExtensionsEvent`!
:::
[block]: ../blocks/index.md
[blockentity]: index.md
[event]: ../concepts/events.md#registering-an-event-handler
Expand Down

1 comment on commit ad132b6

@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: ad132b66172b23ec05d5a19a659c9955140b5048
Status: ✅ Deploy successful!
Preview URL: https://d143b289.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-160.neoforged-docs-previews.pages.dev

Please sign in to comment.