Class Objective

java.lang.Object
net.md_5.bungee.api.score.Objective

public class Objective extends Object
Represents an objective entry.
  • Constructor Details

  • Method Details

    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object