chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
633 stars 76 forks source link

Refactor resource pack loading #1734

Closed leMaik closed 4 days ago

leMaik commented 1 month ago

For now, this makes loading painting variant and biome registries less hacky. In the future, this enables loading other files, eg. model json files, PBR maps or animation metadata.

Related to #751, #1332 and #1728

leMaik commented 4 days ago

@ShirleyNekoDev Thanks for the review :smile: See #1728 for how it can be used. I renamed this class a few times… But in the end, it's "all resource packs you have" in one object, so I sticked with that name.