StaticinstanceGet the current global DatapackDeploymentSpecRegistry instance registered in the root container
Standard iterator to iterate over the specs in this registry and the global registry.
Iterable
Register a spec with 1 or more hooks to be executed in for the datapacks of the specified type in this deployment.
filter that determines when this datapack is applied
Object matching the DatapackDeploymentSpec-shape
Register an individual spec function to be executed in for the datapacks of the specified type in this deployment.
type of the Datapack
name of the hook function
function executed
StaticregisterRegister a spec with 1 or more hooks to be executed in for the datapacks of the specified type in this deployment.
filter that determines when this datapack is applied
Object matching the DatapackDeploymentSpec-shape
StaticregisterRegister an individual spec function to be executed in for the datapacks of the specified type in this deployment.
type of the Datapack
name of the hook function
function executed
Get the number of specs registered in this registry.