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

Method setScore

packages/beapi/src/entity/Entity.ts:204–208  ·  view source on GitHub ↗

* Attempts to set the score of the entity on an objective. * @param objective Objective to use. * @param amount New score. * @returns

(objective: Objective, amount: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__logicMethod · 0.45
__logicMethod · 0.45

Calls 2

executeCommandMethod · 0.95
getScoreMethod · 0.95

Tested by

no test coverage detected