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:
md_5 2014-05-25 09:19:34 +10:00
parent ad2ff54b76
commit 00db351dd6
5 changed files with 17 additions and 0 deletions

View File

@ -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.

View File

@ -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();
/**

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{