Expand out the datapack API with more functionality.
I think the WeakReference is the way to go with Pack references? Those are re-created everytime the PackRespository refreshes which can happen a lot, so holding onto them isn't ideal (like upstream's datapack implementation does).
Expand out the datapack API with more functionality.
I think the WeakReference is the way to go with Pack references? Those are re-created everytime the PackRespository refreshes which can happen a lot, so holding onto them isn't ideal (like upstream's datapack implementation does).