FabricMC / fabric

Essential hooks for modding with Fabric.
Apache License 2.0
2.33k stars 413 forks source link

Dynamic registry loading location ignores namespace #4179

Open Gaming32 opened 3 hours ago

Gaming32 commented 3 hours ago

The dynamic registry loading code calls RegistryKeys.getPath which, unlike getTagsPath, is unpatched by Fabric API. This means that my custom bingo:difficulty dynamic registry gets loaded from data/<namespace>/difficulty instead of the namespaced data/<namespace>/bingo/difficulty.

modmuss50 commented 3 hours ago

Is this a new issue in 1.21.2? Or are you seeing this in an older version as well?

Gaming32 commented 3 hours ago

I don't think it's new in 1.21.2, which would technically make fixing this a breaking change.