Class FixedScoreFormat

java.lang.Object
com.github.retrooper.packetevents.protocol.score.FixedScoreFormat
All Implemented Interfaces:
ScoreFormat

public final class FixedScoreFormat extends Object implements ScoreFormat
  • Constructor Details

    • FixedScoreFormat

      public FixedScoreFormat(net.kyori.adventure.text.Component value)
  • Method Details

    • getType

      public ScoreFormatType getType()
      Specified by:
      getType in interface ScoreFormat
    • format

      public net.kyori.adventure.text.Component format(int score)
      Specified by:
      format in interface ScoreFormat
    • getValue

      public net.kyori.adventure.text.Component getValue()