In prod, with fabric-content-registries installed, a data pack reload listener doesn't get invoked
See original GitHub issueHow to reproduce the issue:
- In prod, first install ONLY level-up-hp and open a single player world.
- search the log for
LevellingConfig
; it’s there, loaded fine
- search the log for
- Now, add the fabric-api jar and open a single player world again
- search the log for
LevellingConfig
; it’s not there. My resource reload listener was never invoked.
- search the log for
What I’ve observed so far is that when only the fabric-api modules I depend on are installed, it works just fine, but when ALL fabric-api modules are installed, my SimpleSynchronousResourceReloadListener
never runs. I confirmed this by removing the fabric-api modules I DON’T use from the fabric-api jar, and then repeating step 2 above. The results were the same as step 1. I’m still working on determining the exact module and root cause. See https://gitlab.com/sargunv-mc-mods/level-up-hp/issues/20 for details.
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
How to Fix Datapacks or Resourcepacks in Minecraft - YouTube
We go over a few simple things you can do to debug your datapack or resourcepack in minecraft. Datapack Function Tutorial: ...
Read more >[1.16] Datapack Client-Server Sync [Solved] - Modder Support
So in my reload listener are calls to my mod registries to set the recipes. In each of those setRecipes method is a...
Read more >Tutorials/Installing a data pack - Minecraft Wiki - Fandom
Put the data pack into a folder named datapacks . Type /reload from the console or as a level 3 operator if the...
Read more >How To Install Minecraft Data Packs - Apex Hosting
Learn how to add and use a Minecraft datapack on your server to enhance your experience by introducing new features to the game....
Read more >Does datapack reload everytime the player quit the map in ...
Hi I'm making my map and i wanted to do a bossbar timer when the game is launched. So basically i have a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll hand-push a new 0.3.0-pre build 157 (“a”) with the fixed fabric-content-registries too, for 1.14.1 users.
It’s not trivial, sorry. ResourceReloadHandler is a good start.