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;
|
private final Map<String, String> forcedHosts;
|
||||||
/**
|
/**
|
||||||
* Class used to build tab lists for this player.
|
* Class used to build tab lists for this player.
|
||||||
|
*
|
||||||
|
* @deprecated Future Minecraft versions render this API useless
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
private final Class<? extends TabListHandler> tabList;
|
private final Class<? extends TabListHandler> tabList;
|
||||||
/**
|
/**
|
||||||
* Whether to set the local address when connecting to servers.
|
* 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!
|
* change after the user has logged in!
|
||||||
*
|
*
|
||||||
* @param list the new list
|
* @param list the new list
|
||||||
|
* @deprecated Future Minecraft versions render this API useless
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
void setTabList(TabListHandler list);
|
void setTabList(TabListHandler list);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current tab list.
|
* Get the current tab list.
|
||||||
*
|
*
|
||||||
* @return the tab list in use by this user
|
* @return the tab list in use by this user
|
||||||
|
* @deprecated Future Minecraft versions render this API useless
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
TabListHandler getTabList();
|
TabListHandler getTabList();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2,7 +2,9 @@ package net.md_5.bungee.api.tab;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a custom tab list, which may have slots manipulated.
|
* Represents a custom tab list, which may have slots manipulated.
|
||||||
|
* @deprecated Future Minecraft versions render this API useless
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface CustomTabList extends TabListHandler
|
public interface CustomTabList extends TabListHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -4,6 +4,10 @@ import lombok.Getter;
|
|||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Future Minecraft versions render this API useless
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public abstract class TabListAdapter implements TabListHandler
|
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;
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Future Minecraft versions render this API useless
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface TabListHandler
|
public interface TabListHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user