Deprecate getId using registry

This commit is contained in:
shedaniel
2020-11-07 15:19:22 +08:00
parent e1f5e0462f
commit 17d455ff64

View File

@@ -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);
}