Class WrapperPlayServerTeams.ScoreBoardTeamInfo
java.lang.Object
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerTeams.ScoreBoardTeamInfo
- Enclosing class:
WrapperPlayServerTeams
-
Constructor Summary
ConstructorDescriptionScoreBoardTeamInfo
(net.kyori.adventure.text.Component displayName, @Nullable net.kyori.adventure.text.Component prefix, @Nullable net.kyori.adventure.text.Component suffix, WrapperPlayServerTeams.NameTagVisibility tagVisibility, WrapperPlayServerTeams.CollisionRule collisionRule, net.kyori.adventure.text.format.NamedTextColor color, WrapperPlayServerTeams.OptionData optionData) -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.text.format.NamedTextColor
getColor()
net.kyori.adventure.text.Component
net.kyori.adventure.text.Component
net.kyori.adventure.text.Component
void
setCollisionRule
(WrapperPlayServerTeams.CollisionRule collisionRule) void
setColor
(net.kyori.adventure.text.format.NamedTextColor color) void
setDisplayName
(net.kyori.adventure.text.Component displayName) void
setOptionData
(WrapperPlayServerTeams.OptionData optionData) void
setPrefix
(net.kyori.adventure.text.Component prefix) void
setSuffix
(net.kyori.adventure.text.Component suffix) void
setTagVisibility
(WrapperPlayServerTeams.NameTagVisibility tagVisibility)
-
Constructor Details
-
ScoreBoardTeamInfo
public ScoreBoardTeamInfo(net.kyori.adventure.text.Component displayName, @Nullable @Nullable net.kyori.adventure.text.Component prefix, @Nullable @Nullable net.kyori.adventure.text.Component suffix, WrapperPlayServerTeams.NameTagVisibility tagVisibility, WrapperPlayServerTeams.CollisionRule collisionRule, net.kyori.adventure.text.format.NamedTextColor color, WrapperPlayServerTeams.OptionData optionData)
-
-
Method Details
-
getDisplayName
public net.kyori.adventure.text.Component getDisplayName() -
setDisplayName
public void setDisplayName(net.kyori.adventure.text.Component displayName) -
getPrefix
public net.kyori.adventure.text.Component getPrefix() -
setPrefix
public void setPrefix(net.kyori.adventure.text.Component prefix) -
getSuffix
public net.kyori.adventure.text.Component getSuffix() -
setSuffix
public void setSuffix(net.kyori.adventure.text.Component suffix) -
getTagVisibility
-
setTagVisibility
-
getCollisionRule
-
setCollisionRule
-
getColor
public net.kyori.adventure.text.format.NamedTextColor getColor() -
setColor
public void setColor(net.kyori.adventure.text.format.NamedTextColor color) -
getOptionData
-
setOptionData
-