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

Method executeCommand

packages/beapi/src/client/Client.ts:243–261  ·  view source on GitHub ↗

* Executes a world level command. * @param cmd Command string. * @param dimension Optional dimensino to execute in. * @param debug Send errors to content log? * @returns

(cmd: string, dimension: Dimension = 'overworld', debug = false)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

getUniqueIdFunction · 0.45
sendMessageMethod · 0.45
getTimeMethod · 0.45
setTimeMethod · 0.45
getWeatherMethod · 0.45
setWeatherMethod · 0.45
setDifficultyMethod · 0.45
createObjectiveMethod · 0.45
removeObjectiveMethod · 0.45
getObjectivesMethod · 0.45
setDisplayMethod · 0.45
moveMethod · 0.45

Calls 2

StringClass · 0.50
getDimensionMethod · 0.45

Tested by

no test coverage detected