From 965be163cd5dea5fa1c765b29a295f2330015347 Mon Sep 17 00:00:00 2001 From: IchHabeHunger54 Date: Wed, 21 Feb 2024 16:43:11 +0100 Subject: [PATCH] update sync disclaimer --- 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 24c143be3..3c1237126 100644 --- a/docs/concepts/registries.md +++ b/docs/concepts/registries.md @@ -150,7 +150,7 @@ Let's start by creating the [registry key][resourcekey] and the registry itself: public static final ResourceKey> SPELL_REGISTRY_KEY = ResourceKey.createRegistryKey(new ResourceLocation("yourmodid", "spells")); public static final Registry SPELL_REGISTRY = new RegistryBuilder<>(SPELL_REGISTRY_KEY) // If you want to enable integer id syncing, for networking. - // Never use integer ids yourself, even if this is enabled! This is purely intended to reduce bandwidth. + // These should only be used in networking contexts, for example in packets or purely networking-related NBT data. .sync(true) // The default key. Similar to minecraft:air for blocks. This is optional. .defaultKey(new ResourceLocation("yourmodid", "empty"))