Package net.md_5.bungee.api.score
Class Objective
- java.lang.Object
-
- net.md_5.bungee.api.score.Objective
-
public class Objective extends Object
Represents an objective entry.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()Name of the objective.StringgetType()Type; integer or heartsStringgetValue()Value of the objective.inthashCode()voidsetType(String type)Type; integer or heartsvoidsetValue(String value)Value of the objective.StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Name of the objective.
-
getValue
public String getValue()
Value of the objective.
-
getType
public String getType()
Type; integer or hearts
-
setValue
public void setValue(String value)
Value of the objective.
-
setType
public void setType(String type)
Type; integer or hearts
-
canEqual
protected boolean canEqual(Object other)
-
-