minified-worlds/com.dervarex.minified.worlds.save.data/Scoreboard
Scoreboard.PlayerScore
public static class PlayerScore- Enclosing type
- Scoreboard
Constructors
public PlayerScore()Methods
PlayerScore fromNbt(NbtCompound)String getName()Returns the name value.String getObjective()Returns the objective value.int getScore()Returns the score value.boolean isLocked()Returns the locked value.void setLocked(boolean)Sets the locked value.void setName(String)Sets the name value.void setObjective(String)Sets the objective value.void setScore(int)Sets the score value.NbtCompound toNbt()public static PlayerScore fromNbt(NbtCompound compound)| Parameters | ||
|---|---|---|
compound | NbtCompound | |
| Returns | ||
PlayerScore | ||
public String getName()getObjective()
lombokSource
public String getObjective()getScore()
lombokSource
public int getScore()Returns the score value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field score
isLocked()
lombokSource
public boolean isLocked()Returns the locked value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field locked
setLocked(boolean)
lombokSource
public void setLocked(boolean locked)Sets the locked value.
| Parameters | ||
|---|---|---|
locked | boolean | |
Generated by Lombok's @Setter for the field locked
setName(String)
lombokSource
public void setName(String name)public void setObjective(String objective)Sets the objective value.
| Parameters | ||
|---|---|---|
objective | String | |
Generated by Lombok's @Setter for the field objective
setScore(int)
lombokSource
public void setScore(int score)Sets the score value.
| Parameters | ||
|---|---|---|
score | int | |
Generated by Lombok's @Setter for the field score
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Used by
Methods of other types that accept or return Scoreboard.PlayerScore.