MCPcopy Create free account
hub / github.com/beapijs/beapi / executeCommand

Method executeCommand

packages/beapi/src/player/Player.ts:349–371  ·  view source on GitHub ↗

* Executes a command as the player. * @param cmd Command to run. * @param debug Send debug error to content log. * @returns

(cmd: string, debug = false)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

getAgentMethod · 0.95
sendMessageMethod · 0.95
sendActionbarMethod · 0.95
sendTitleMethod · 0.95
sendSubtitleMethod · 0.95
sendSoundMethod · 0.95
sendAnimationMethod · 0.95
sendFogMethod · 0.95
executeFunctionMethod · 0.95
getScoreMethod · 0.95
setScoreMethod · 0.95
addScoreMethod · 0.95

Calls 1

StringClass · 0.50

Tested by

no test coverage detected