Interface IScorer

All Known Implementing Classes:
EntityScorer, FakeScorer, PlayerScorer

@PowerNukkitXOnly @Since("1.19.30-r1") public interface IScorer
计分板追踪对象
  • Method Details

    • getScorerType

      ScorerType getScorerType()
      获取追踪对象类型
      Returns:
      追踪对象类型
    • getName

      String getName()
      获取名称
      Returns:
      追踪对象类型
    • toNetworkInfo

      SetScorePacket.ScoreInfo toNetworkInfo(IScoreboard scoreboard, IScoreboardLine line)
      内部方法 转换到network信息
      Parameters:
      scoreboard - 所属计分板
      line - 所属行
      Returns:
      network信息