Package-level declarations

Types

Link copied to clipboard

A builder for Minecraft commands.

Link copied to clipboard
class Datapack

The main class for a datapack. Contains all namespaces and pack metadata.

Link copied to clipboard
Link copied to clipboard
data class Func

Represents a function in a datapack

Link copied to clipboard
class Namespace

A minecraft namespace where functions, tags, and other datapack content is stored

Functions

Link copied to clipboard

Calls this function

Link copied to clipboard

Create a new datapack

Link copied to clipboard
fun days(days: Float): String
fun days(days: Int): String

Formats a string with days as units

Link copied to clipboard
fun secs(secs: Float): String

Formats a string with ticks as units

fun secs(secs: Int): String

Formats a string with seconds as units

Link copied to clipboard
fun ticks(ticks: Float): String
fun ticks(ticks: Int): String

Formats a string with ticks as units