Namespace
A minecraft namespace where functions, tags, and other datapack content is stored
Created using Datapack.namespace
Example:
val dp = datapack { /* ... */}
val ns = dp.namespace("test")
ns.onLoad {
say("Hello World!")
}
Content copied to clipboard
Functions
Link copied to clipboard
Creates a new minecraft advancement in this namespace
Link copied to clipboard
Creates a new function with a random UUID as the name
Creates a new function with the given name
Link copied to clipboard
Create a new function that runs when the datapack is loaded
Link copied to clipboard
Create a new function that runs every tick