public class Objective extends Object
Constructor and Description |
---|
Objective(String name,
String value,
String type) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getName()
Name of the objective.
|
String |
getType()
Type; integer or hearts
|
String |
getValue()
Value of the objective.
|
int |
hashCode() |
void |
setType(String type)
Type; integer or hearts
|
void |
setValue(String value)
Value of the objective.
|
String |
toString() |
public String getName()
public String getValue()
public String getType()
public void setValue(String value)
public void setType(String type)
protected boolean canEqual(Object other)
Copyright © 2012–2020 SpigotMC. All rights reserved.