Command
class Command(val name: String, val aliases: List<String>, val parameters: List<Parameter<*>>, val subcommands: List<Command>, val executable: Boolean, val handler: Command.Handler?, val requiresIngame: Boolean) : MinecraftShortcuts, DebuggedOwner
Constructors
Types
Properties
Functions
Link copied to clipboard
Link copied to clipboard
inline fun DebuggedOwner.debugGeometry(name: String, lazyGeometry: () -> ModuleDebug.DebuggedGeometry?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun printStyledComponent(key: String, textComponent: Component? = null, copyContent: String? = null, formatting: (MutableComponent) -> MutableComponent = ::regular, hover: HoverEvent? = HoverEvent.ShowText(translation("liquidbounce.tooltip.clickToCopy")))
Sends a styled command result with copyable content and custom text component
Link copied to clipboard
fun printStyledText(key: String, data: String? = null, formatting: (MutableComponent) -> MutableComponent = ::regular, hover: HoverEvent? = HoverEvent.ShowText(translation("liquidbounce.tooltip.clickToCopy")), click: ClickEvent? = data?.let(ClickEvent::CopyToClipboard))
Sends a styled command result with copyable content
Link copied to clipboard