Deprecate tab list API - it will be removed in Minecraft 1.8 as the updates by Mojang render it useless.
This commit is contained in:
parent
ad2ff54b76
commit
00db351dd6
@ -50,7 +50,10 @@ public class ListenerInfo
|
||||
private final Map<String, String> forcedHosts;
|
||||
/**
|
||||
* Class used to build tab lists for this player.
|
||||
*
|
||||
* @deprecated Future Minecraft versions render this API useless
|
||||
*/
|
||||
@Deprecated
|
||||
private final Class<? extends TabListHandler> tabList;
|
||||
/**
|
||||
* Whether to set the local address when connecting to servers.
|
||||
|
@ -90,14 +90,18 @@ public interface ProxiedPlayer extends Connection, CommandSender
|
||||
* change after the user has logged in!
|
||||
*
|
||||
* @param list the new list
|
||||
* @deprecated Future Minecraft versions render this API useless
|
||||
*/
|
||||
@Deprecated
|
||||
void setTabList(TabListHandler list);
|
||||
|
||||
/**
|
||||
* Get the current tab list.
|
||||
*
|
||||
* @return the tab list in use by this user
|
||||
* @deprecated Future Minecraft versions render this API useless
|
||||
*/
|
||||
@Deprecated
|
||||
TabListHandler getTabList();
|
||||
|
||||
/**
|
||||
|
@ -2,7 +2,9 @@ package net.md_5.bungee.api.tab;
|
||||
|
||||
/**
|
||||
* Represents a custom tab list, which may have slots manipulated.
|
||||
* @deprecated Future Minecraft versions render this API useless
|
||||
*/
|
||||
@Deprecated
|
||||
public interface CustomTabList extends TabListHandler
|
||||
{
|
||||
|
||||
|
@ -4,6 +4,10 @@ import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
|
||||
/**
|
||||
* @deprecated Future Minecraft versions render this API useless
|
||||
*/
|
||||
@Deprecated
|
||||
@NoArgsConstructor
|
||||
public abstract class TabListAdapter implements TabListHandler
|
||||
{
|
||||
|
@ -2,6 +2,10 @@ package net.md_5.bungee.api.tab;
|
||||
|
||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
|
||||
/**
|
||||
* @deprecated Future Minecraft versions render this API useless
|
||||
*/
|
||||
@Deprecated
|
||||
public interface TabListHandler
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user