Add datapack registration lifecycle event (#11804)
This commit is contained in:
@@ -13,6 +13,7 @@ public sealed interface DatapackSource permits DatapackSourceImpl {
|
||||
DatapackSource FEATURE = create("feature");
|
||||
DatapackSource WORLD = create("world");
|
||||
DatapackSource SERVER = create("server");
|
||||
DatapackSource PLUGIN = create("plugin");
|
||||
|
||||
private static DatapackSource create(final String name) {
|
||||
return new DatapackSourceImpl(name);
|
||||
|
||||
Reference in New Issue
Block a user