Package-level declarations

Types

Link copied to clipboard
typealias AngleResolver = ArgumentResolver<Float>

An ArgumentResolver that resolves a single angle (Float) from a command argument.

Link copied to clipboard
typealias AxisSet = Set<Axis>

A set of Axis values representing one or more coordinate axes (X, Y, Z).

Link copied to clipboard
@ApiStatus.NonExtendable
fun interface BlockInWorldPredicate

A predicate that tests whether a block in the world matches certain conditions.

Link copied to clipboard

Represents a 2D block position in a Minecraft world, defined by integer X and Z coordinates.

Link copied to clipboard
typealias ColumnBlockPositionResolver = ArgumentResolver<ColumnBlockPosition>

An ArgumentResolver that resolves a ColumnBlockPosition from a command argument.

Link copied to clipboard

Represents a 2D fine (decimal) position in a Minecraft world, defined by double X and Z coordinates.

Link copied to clipboard
typealias ColumnFinePositionResolver = ArgumentResolver<ColumnFinePosition>

An ArgumentResolver that resolves a ColumnFinePosition (precise 2D coordinates) from a command argument.

Link copied to clipboard
open class DevCoreArgumentType<B, C>(val argType: ArgumentType<B>, val converter: ResultConverter<B, C>) : ArgumentType<C>

Internal wrapper class for argument types that converts between types.

Link copied to clipboard

Provider interface for creating various Brigadier argument types used in DevCore commands.

Link copied to clipboard

The central entry point for all DevCore argument types.

Link copied to clipboard
typealias FinePositionResolver = ArgumentResolver<FinePosition>

An ArgumentResolver that resolves a FinePosition (precise 3D coordinates) from a command argument.

Link copied to clipboard
object Impl
Link copied to clipboard
typealias ObjectiveArgumentType = ArgumentType<Objective?>

An ArgumentType that resolves a scoreboard Objective from a command argument.

Link copied to clipboard
fun interface ResultConverter<T, R>

A functional interface for converting a value of type T to type R.

Link copied to clipboard
interface Rotation

Represents a rotation defined by yaw and pitch angles (in degrees).

Link copied to clipboard
typealias RotationResolver = ArgumentResolver<Rotation>

An ArgumentResolver that resolves a Rotation (yaw and pitch) from a command argument.

Link copied to clipboard
typealias SlotArgumentType = ArgumentType<Int>

An ArgumentType that resolves a single inventory slot index (Int) from a command argument.

Link copied to clipboard
interface SlotRange

Represents a range of inventory slots, identified by a serialized name and a list of slot indices.

Link copied to clipboard
typealias SlotsArgumentType = ArgumentType<SlotRange>

An ArgumentType that resolves a SlotRange (multiple inventory slots) from a command argument.

Link copied to clipboard
typealias TeamArgumentType = ArgumentType<Team?>

An ArgumentType that resolves a scoreboard Team from a command argument.