Preparing search index...
The search index is not available DatapackJs
Properties
edit
edit
: { hide
: ( ( ) => string ) ; rename
: ( ( display
: "" | JsonRaw ) => string ) ; show
: ( ( location
: sbLocation ) => string ) } = ...
Type declaration
hide: ( ( ) => string )
( ) : string
Returns string
rename: ( ( display: "" | JsonRaw ) => string )
( display: "" | JsonRaw ) : string
Returns string
show: ( ( location: sbLocation ) => string )
Optional
players
players
?: { add
: ( ( entity
: string | Entity , value
: number ) => string ) ; delete
: ( ( entity
: string | Entity ) => string ) ; enable
: ( ( entity
: Entity ) => string ) ; get
: ( ( entity
: string | Entity ) => string ) ; operation
: ( ( entity
: string | Entity , operation
: sbOpertations , target
: { entity
: string | Entity ; scoreboard
: Scoreboard } ) => string ) ; set
: ( ( entity
: string | Entity , value
: number ) => string ) ; store
: ( ( entity
: string | Entity , type
: "success" | "result" , from
: string ) => string ) ; subtract
: ( ( entity
: Entity , value
: number ) => string ) } = ...
Type declaration
add: ( ( entity: string | Entity , value: number ) => string )
( entity: string | Entity , value: number ) : string
Parameters
entity: string | Entity
value: number
Returns string
delete: ( ( entity: string | Entity ) => string )
( entity: string | Entity ) : string
Returns string
enable: ( ( entity: Entity ) => string )
( entity: Entity ) : string
Returns string
get: ( ( entity: string | Entity ) => string )
( entity: string | Entity ) : string
Returns string
operation: ( ( entity: string | Entity , operation: sbOpertations , target: { entity: string | Entity ; scoreboard: Scoreboard } ) => string )
set: ( ( entity: string | Entity , value: number ) => string )
( entity: string | Entity , value: number ) : string
Parameters
entity: string | Entity
value: number
Returns string
store: ( ( entity: string | Entity , type: "success" | "result" , from: string ) => string )
( entity: string | Entity , type: "success" | "result" , from: string ) : string
Parameters
entity: string | Entity
type: "success" | "result"
from: string
Returns string
subtract: ( ( entity: Entity , value: number ) => string )
( entity: Entity , value: number ) : string
Returns string
Methods
create
create( force?: boolean ) : string | string []
Returns string | string []
delete
delete( ) : string
Returns string
Represent a scoreboard