mirror of
https://github.com/architectury/architectury-api.git
synced 2026-04-01 21:17:45 -05:00
Deprecate getId using registry
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user