Adventure 4.3.0: Player list header/footer
This commit is contained in:
@@ -146,6 +146,20 @@ public interface Player extends CommandSource, Identified, InboundConnection,
|
||||
@Deprecated
|
||||
void clearHeaderAndFooter();
|
||||
|
||||
/**
|
||||
* Returns the player's player list header.
|
||||
*
|
||||
* @return this player's player list header
|
||||
*/
|
||||
Component getPlayerListHeader();
|
||||
|
||||
/**
|
||||
* Returns the player's player list footer.
|
||||
*
|
||||
* @return this player's tab list
|
||||
*/
|
||||
Component getPlayerListFooter();
|
||||
|
||||
/**
|
||||
* Returns the player's tab list.
|
||||
*
|
||||
|
@@ -28,7 +28,9 @@ public interface TabList {
|
||||
*
|
||||
* @param header the header component
|
||||
* @param footer the footer component
|
||||
* @deprecated Use {@link Player#sendPlayerListHeaderAndFooter(Component, Component)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
void setHeaderAndFooter(Component header, Component footer);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user