Server Translation API

Server Translation API

11.4k Downloads

DataPackContentsMixin breaks every other modded resource reload listener

LemmaEOF opened this issue ยท 0 comments

commented

The DataPackContentsMixin added in 1.18.2 unconditionally cancels the method it's injecting into, causing every other mod who uses a resource reload listener to never have theirs registered. This mixin should not be used, as Fabric already includes a hook for registering reload listeners. Please use ResourceLoader.get(ResourceType.SERVER_DATA).registerReloader(ServerTranslations.INSTANCE); instead, using the transitive access wideners module in Fabric API.