Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Commands

Namespace used to manipulate minecraft commands

Index

Functions

Functions

exec

  • exec(command: string): string | null
  • Executes specified command

    Parameters

    • command: string

      command to be executed

    Returns string | null

    error message or null if the command was run successfully

execAt

  • execAt(command: string, x: number, y: number, z: number): string | null
  • Executes specified command using specified coordinates as command location for all relative calculations

    Parameters

    • command: string

      command to be executed

    • x: number
    • y: number
    • z: number

    Returns string | null

    error message or null if the command was run successfully

Generated using TypeDoc