Package fr.mrmicky.fastboard.adventure
Class FastBoard
java.lang.Object
fr.mrmicky.fastboard.FastBoardBase<net.kyori.adventure.text.Component>
fr.mrmicky.fastboard.adventure.FastBoard
Lightweight packet-based scoreboard API for Bukkit plugins.
It can be safely used asynchronously as everything is at packet level.
The project is on GitHub.
-
Nested Class Summary
Nested classes/interfaces inherited from class fr.mrmicky.fastboard.FastBoardBase
FastBoardBase.ObjectiveMode, FastBoardBase.ScoreboardAction, FastBoardBase.TeamMode -
Field Summary
Fields inherited from class fr.mrmicky.fastboard.FastBoardBase
COLOR_CODES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.kyori.adventure.text.Componentprotected voidsendLineChange(int score) protected StringserializeLine(net.kyori.adventure.text.Component value) protected ObjecttoMinecraftComponent(net.kyori.adventure.text.Component component) Methods inherited from class fr.mrmicky.fastboard.FastBoardBase
delete, getId, getLine, getLineByScore, getLineByScore, getLines, getPlayer, getScoreByLine, getTitle, isDeleted, removeLine, sendDisplayObjectivePacket, sendObjectivePacket, sendScorePacket, sendTeamPacket, sendTeamPacket, size, updateLine, updateLines, updateLines, updateTitle
-
Constructor Details
-
FastBoard
public FastBoard(org.bukkit.entity.Player player)
-
-
Method Details
-
sendLineChange
- Specified by:
sendLineChangein classFastBoardBase<net.kyori.adventure.text.Component>- Throws:
Throwable
-
toMinecraftComponent
protected Object toMinecraftComponent(net.kyori.adventure.text.Component component) throws Throwable - Specified by:
toMinecraftComponentin classFastBoardBase<net.kyori.adventure.text.Component>- Throws:
Throwable
-
serializeLine
- Specified by:
serializeLinein classFastBoardBase<net.kyori.adventure.text.Component>
-
emptyLine
protected net.kyori.adventure.text.Component emptyLine()- Specified by:
emptyLinein classFastBoardBase<net.kyori.adventure.text.Component>
-