Package-level declarations

Functions

Link copied to clipboard
fun <C> Command.Builder<C>.argumentDVec3(name: String, description: ArgumentDescription = ArgumentDescription.empty()): @NonNull Command.Builder<C>
Link copied to clipboard
fun <C> Command.Builder<C>.argumentFVec3(name: String, description: ArgumentDescription = ArgumentDescription.empty()): @NonNull Command.Builder<C>
Link copied to clipboard
fun <T : Any> CommandContext<*>.flag(key: String): T?
Link copied to clipboard
inline fun <V : Any> ConfigurationNode.force(): V
fun <V : Any> ConfigurationNode.force(type: TypeToken<V>): V
fun <V : Any> ConfigurationNode.force(type: Class<V>): V
fun ConfigurationNode.force(type: Type): Any
fun <V : Any> ConfigurationNode.force(type: KClass<V>): V
Link copied to clipboard
fun <T : Any> CommandContext<*>.getOr(key: String): T?
Link copied to clipboard
fun CommandContext<*>.hasFlag(key: String): Boolean
Link copied to clipboard
inline fun <T> TypeSerializerCollection.Builder.register(serializer: TypeSerializer<T>): TypeSerializerCollection.Builder
Link copied to clipboard
inline fun <T> TypeSerializerCollection.Builder.registerExact(serializer: TypeSerializer<T>): TypeSerializerCollection.Builder
Link copied to clipboard

Opens a resource in the class loader of the receiver.

Link copied to clipboard
fun sanitizeText(text: Component): Component

Removes common characters which are not rendered properly by the game client.

Link copied to clipboard
fun <C : Any> Command.Builder<C>.senderType(type: KClass<out C>): @NonNull Command.Builder<C>
Link copied to clipboard
inline fun <T> typeToken(): TypeToken<T>
Link copied to clipboard
fun Key.with(value: String): @NotNull Key

Appends a /-separated path to this key's value.