Explorar o código

Deprecate getId using registry

shedaniel %!s(int64=4) %!d(string=hai) anos
pai
achega
17d455ff64

+ 1 - 0
common/src/main/java/me/shedaniel/architectury/registry/Registries.java

@@ -62,6 +62,7 @@ public final class Registries {
      * Fabric: Use registry
      */
     @Nullable
+    @Deprecated
     public static <T> ResourceLocation getId(T object, net.minecraft.core.Registry<T> fallback) {
         return IMPL.getId(object, fallback);
     }