Skip to Content
⚠ Under Construction
ReferenceC++ APICriteria

endstone::Criteria

Represents a scoreboard criteria.

Types:

NameDescription
Type

Functions:

NameDescription
getDefaultRenderType
getNameGet the name of this criteria (its unique id).
isReadOnlyGet whether or not this criteria is read only. If read only, scoreboards with this criteria cannot have their scores changed.

Type

enum Type { Dummy };

getDefaultRenderType

RenderType getDefaultRenderType() const

Get the RenderType used by default for this criteria.

Returns:

the default render type

getName

std::string getName() const

Get the name of this criteria (its unique id).

Returns:

the name

isReadOnly

bool isReadOnly() const

Get whether or not this criteria is read only. If read only, scoreboards with this criteria cannot have their scores changed.

Returns:

true if read only, false otherwise

Last updated on