#Get Resource URI
14 messages · Page 1 of 1 (latest)
PathUtil#getResourcePath lead me to StructureTemplateManager#loadTemplateFromSnbt, which uses the path Paths.get("Minecraft.Server/src/test/convertables/data")
So that might be a good place to start
Cuz it's zipped i guess
You should also look into ModContainer. Mod paths are slightly cursed
I don't see anything for resources there
solved it by just copying the file to /tmp and deleting it after the JVM stops
unfortunately I don't think I can just get the file path