minified-worlds/com.dervarex.minified.worlds.save.data/Scoreboard
Scoreboard.Objective
public static class Objective- Enclosing type
- Scoreboard
Constructors
public Objective()Methods
Objective fromNbt(NbtCompound)String getCriteriaName()Returns the criteriaName value.String getDisplayName()Returns the displayName value.String getName()Returns the name value.String getRenderType()Returns the renderType value.void setCriteriaName(String)Sets the criteriaName value.void setDisplayName(String)Sets the displayName value.void setName(String)Sets the name value.void setRenderType(String)Sets the renderType value.NbtCompound toNbt()public static Objective fromNbt(NbtCompound compound)| Parameters | ||
|---|---|---|
compound | NbtCompound | |
| Returns | ||
Objective | ||
getCriteriaName()
lombokSource
public String getCriteriaName()Returns the criteriaName value.
| Returns | ||
|---|---|---|
String | ||
Generated by Lombok's @Getter for the field criteriaName
getDisplayName()
lombokSource
public String getDisplayName()public String getName()getRenderType()
lombokSource
public String getRenderType()public void setCriteriaName(String criteriaName)Sets the criteriaName value.
| Parameters | ||
|---|---|---|
criteriaName | String | |
Generated by Lombok's @Setter for the field criteriaName
public void setDisplayName(String displayName)Sets the displayName value.
| Parameters | ||
|---|---|---|
displayName | String | |
Generated by Lombok's @Setter for the field displayName
setName(String)
lombokSource
public void setName(String name)public void setRenderType(String renderType)Sets the renderType value.
| Parameters | ||
|---|---|---|
renderType | String | |
Generated by Lombok's @Setter for the field renderType
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Used by
Methods of other types that accept or return Scoreboard.Objective.