Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Add datapack registration lifecycle event

Open Machine-Maker opened this issue 2 years ago • 1 comments

Replaces https://github.com/PaperMC/Paper/pull/8865. Way better to be able to set it up as you like instead of one hardcoded in the paper-plugin.yml.

- [x] deal with `Datapack#setEnabled` (weird to call it in the lifecycle event)
- [ ] Update original datapack API patch

Machine-Maker avatar May 13 '24 00:05 Machine-Maker

I've added additional methods to the DatapackRegistrar to get previously discovered packs as well as remove previously discovered packs.

Machine-Maker avatar Sep 08 '24 22:09 Machine-Maker