diff --git a/api/src/main/java/net/md_5/bungee/api/config/ListenerInfo.java b/api/src/main/java/net/md_5/bungee/api/config/ListenerInfo.java index fde06cb2..1559cf55 100644 --- a/api/src/main/java/net/md_5/bungee/api/config/ListenerInfo.java +++ b/api/src/main/java/net/md_5/bungee/api/config/ListenerInfo.java @@ -50,7 +50,10 @@ public class ListenerInfo private final Map forcedHosts; /** * Class used to build tab lists for this player. + * + * @deprecated Future Minecraft versions render this API useless */ + @Deprecated private final Class tabList; /** * Whether to set the local address when connecting to servers. diff --git a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java index 1a7a4b26..20881df1 100644 --- a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java +++ b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java @@ -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(); /** diff --git a/api/src/main/java/net/md_5/bungee/api/tab/CustomTabList.java b/api/src/main/java/net/md_5/bungee/api/tab/CustomTabList.java index 09aaa7f2..2cb38d45 100644 --- a/api/src/main/java/net/md_5/bungee/api/tab/CustomTabList.java +++ b/api/src/main/java/net/md_5/bungee/api/tab/CustomTabList.java @@ -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 { diff --git a/api/src/main/java/net/md_5/bungee/api/tab/TabListAdapter.java b/api/src/main/java/net/md_5/bungee/api/tab/TabListAdapter.java index e4425cfb..3c046136 100644 --- a/api/src/main/java/net/md_5/bungee/api/tab/TabListAdapter.java +++ b/api/src/main/java/net/md_5/bungee/api/tab/TabListAdapter.java @@ -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 { diff --git a/api/src/main/java/net/md_5/bungee/api/tab/TabListHandler.java b/api/src/main/java/net/md_5/bungee/api/tab/TabListHandler.java index e47d4add..bcc159ec 100644 --- a/api/src/main/java/net/md_5/bungee/api/tab/TabListHandler.java +++ b/api/src/main/java/net/md_5/bungee/api/tab/TabListHandler.java @@ -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 {