From e2fbc3190cf2792bdfad5bde46dd3d70450dc705 Mon Sep 17 00:00:00 2001 From: IchHabeHunger54 <52419336+IchHabeHunger54@users.noreply.github.com> Date: Fri, 23 Feb 2024 00:42:20 +0100 Subject: [PATCH] Update docs/concepts/registries.md Co-authored-by: Dennis C --- docs/concepts/registries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/registries.md b/docs/concepts/registries.md index 3c1237126..c1cc30a08 100644 --- a/docs/concepts/registries.md +++ b/docs/concepts/registries.md @@ -59,7 +59,7 @@ public static final Supplier EXAMPLE_BLOCK = BLOCKS.register( ); ``` -Be aware that a few places explicitly require a `DeferredHolder` and will not just accept any `Supplier`. If you need a `DeferredHolder`, it is best to change the type of your `Supplier` back to `DeferredHolder`. +Be aware that a few places explicitly require a `Holder` or `DeferredHolder` and will not just accept any `Supplier`. If you need either of those two, it is best to change the type of your `Supplier` back to `Holder` or `DeferredHolder` as necessary. Finally, since the entire system is a wrapper around registry events, we need to tell the `DeferredRegister` to attach itself to the registry events as needed: