Selaa lähdekoodia

Deprecate getId using registry

shedaniel 4 vuotta sitten
vanhempi
sitoutus
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);
     }