Class StatusScreen
java.lang.Object
com.palmergames.bukkit.towny.object.statusscreens.StatusScreen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponentOf
(String name, String text) void
addComponentOf
(String name, String text, net.kyori.adventure.text.event.ClickEvent click) void
addComponentOf
(String name, String text, net.kyori.adventure.text.event.HoverEvent<?> hover) void
addComponentOf
(String name, String text, net.kyori.adventure.text.event.HoverEvent<?> hover, net.kyori.adventure.text.event.ClickEvent click) void
addComponentOf
(String name, net.kyori.adventure.text.Component component) org.bukkit.command.CommandSender
@Nullable net.kyori.adventure.text.Component
getComponentOrNull
(String name) Collection<net.kyori.adventure.text.Component>
net.kyori.adventure.text.Component
boolean
hasComponent
(String name) void
removeStatusComponent
(String name) boolean
replaceComponent
(String name, net.kyori.adventure.text.Component replacement)
-
Constructor Details
-
StatusScreen
public StatusScreen(org.bukkit.command.CommandSender sender)
-
-
Method Details
-
getCommandSender
public org.bukkit.command.CommandSender getCommandSender() -
addComponentOf
-
addComponentOf
-
addComponentOf
-
addComponentOf
-
addComponentOf
-
removeStatusComponent
-
getComponentKeys
-
getComponents
-
hasComponent
-
getComponentOrNull
-
replaceComponent
-
getFormattedStatusScreen
public net.kyori.adventure.text.Component getFormattedStatusScreen()
-