endstone::Criteria
Represents a scoreboard criteria.
Types:
| Name | Description |
|---|---|
Type |
Functions:
| Name | Description |
|---|---|
getDefaultRenderType | |
getName | Get the name of this criteria (its unique id). |
isReadOnly | Get 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() constGet the RenderType used by default for this criteria.
Returns:
the default render type
getName
std::string getName() constGet the name of this criteria (its unique id).
Returns:
the name
isReadOnly
bool isReadOnly() constGet 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