Package com.andrei1058.spigot.sidebar
Interface SidebarObjective
public interface SidebarObjective
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getTitle()
boolean
Refresh contents in case of placeholders etc.void
sendCreate
(org.bukkit.entity.Player player) void
sendRemove
(org.bukkit.entity.Player player) void
void
setTitle
(SidebarLine title)
-
Method Details
-
setTitle
-
getTitle
SidebarLine getTitle() -
sendCreate
void sendCreate(org.bukkit.entity.Player player) -
sendUpdate
void sendUpdate() -
sendRemove
void sendRemove(org.bukkit.entity.Player player) -
getName
String getName() -
refreshTitle
boolean refreshTitle()Refresh contents in case of placeholders etc. Used for triggering refresh a single time and then send the data to all receivers.- Returns:
- true if different from previous state.
-