classinternallombokSource
public static class PlayerScore
Enclosing type
Scoreboard

Constructors

public PlayerScore()

Methods

public static PlayerScore fromNbt(NbtCompound compound)
Parameters
compoundNbtCompound
Returns
PlayerScore
public String getName()

Returns the name value.

Returns
String

Generated by Lombok's @Getter for the field name

public String getObjective()

Returns the objective value.

Returns
String

Generated by Lombok's @Getter for the field objective

public int getScore()

Returns the score value.

Returns
int

Generated by Lombok's @Getter for the field score

public boolean isLocked()

Returns the locked value.

Returns
boolean

Generated by Lombok's @Getter for the field locked

public void setLocked(boolean locked)

Sets the locked value.

Parameters
lockedboolean

Generated by Lombok's @Setter for the field locked

public void setName(String name)

Sets the name value.

Parameters
nameString

Generated by Lombok's @Setter for the field name

public void setObjective(String objective)

Sets the objective value.

Parameters
objectiveString

Generated by Lombok's @Setter for the field objective

public void setScore(int score)

Sets the score value.

Parameters
scoreint

Generated by Lombok's @Setter for the field score

public NbtCompound toNbt()

Used by

Methods of other types that accept or return Scoreboard.PlayerScore.