Class Scoreboard
java.lang.Object
com.pixelmonmod.pixelmon.api.overlay.scoreboard.Scoreboard
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
decode
(net.minecraft.network.FriendlyByteBuf buffer) void
encode
(net.minecraft.network.FriendlyByteBuf buffer) float
getHeightUpTo
(int index) getLines()
void
insertLine
(int index, ScoreboardLine line) newLine()
player
(net.minecraft.server.level.ServerPlayer player) position
(TargetPoint point) void
setLine
(int index, ScoreboardLine line) void
setPosition
(ScreenBoardPosition position) textLine
(net.minecraft.network.chat.Component text) titleLine
(net.minecraft.network.chat.Component title)
-
Constructor Details
-
Scoreboard
-
Scoreboard
public Scoreboard()
-
-
Method Details
-
getIdentifier
-
newLine
-
textLine
-
titleLine
-
setLine
-
insertLine
-
countLines
public int countLines() -
getHeightUpTo
public float getHeightUpTo(int index) -
setPosition
-
getPosition
-
getLines
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buffer) -
decode
public void decode(net.minecraft.network.FriendlyByteBuf buffer) -
player
-
position
-