Package-level declarations

Types

Link copied to clipboard

An "and" condition

Link copied to clipboard
interface Condition

The base class for all conditions.

Link copied to clipboard
class Coord(val x: CoordComponent, val y: CoordComponent, val z: CoordComponent)

Represents a coordinate in the Minecraft world.

Link copied to clipboard
interface CoordComponent
Link copied to clipboard
enum Dir : Enum<Dir>

A minecraft cardinal direction

Link copied to clipboard
interface Discriminant
Link copied to clipboard

Minecraft entity anchors (feet, eyes)

Link copied to clipboard
interface EntityArg

A Minecraft entity argument

Link copied to clipboard

Minecraft heightmap arguments

Link copied to clipboard
@Serializable
data class Item(val item: String, val nbt: String? = null)
Link copied to clipboard
class Number(val v: Float) : CoordComponent
Link copied to clipboard

An "or" condition

Link copied to clipboard
data class PlayerName(val name: String) : EntityArg

A Minecraft player name

Link copied to clipboard
data class PlayerUUID(val id: UUID) : EntityArg

A Minecraft player uuid

Link copied to clipboard

Minecraft relation arguments

Link copied to clipboard
class Rotation(val yaw: Float, val pitch: Float)

Represents a rotation in minecraft

Link copied to clipboard

Minecraft selectors (@a, @p, ...)

Link copied to clipboard
class TermCondition(term: String, negated: Boolean = false) : Condition

A terminal condition ("if ..." or "unless ...")

Link copied to clipboard
class Tilde(val offset: Float = 0.0f) : CoordComponent
Link copied to clipboard
class VarEnum<T : Discriminant>(val namespace: String, val name: String) : CommandBuilder.Storable
Link copied to clipboard
class VarInt(val namespace: String, val name: String) : CommandBuilder.Storable

Functions

Link copied to clipboard

Creates a terminal condition

Link copied to clipboard
fun makeRich(text: String): String

Rich text builder