diff --git a/common/src/main/java/dev/architectury/registry/registries/DeferredRegister.java b/common/src/main/java/dev/architectury/registry/registries/DeferredRegister.java index 8c4f18b3..bdab2be0 100644 --- a/common/src/main/java/dev/architectury/registry/registries/DeferredRegister.java +++ b/common/src/main/java/dev/architectury/registry/registries/DeferredRegister.java @@ -121,6 +121,11 @@ public Registrar getRegistrar() { return (Registrar) DeferredRegister.this.getRegistrar(); } + @Override + public ResourceKey getKey() { + return ResourceKey.create(getRegistryKey(), getId()); + } + @Override public ResourceLocation getRegistryId() { return key.location();