Add texture pack API

This commit is contained in:
md_5
2013-05-12 09:28:36 +10:00
parent 49ea7f908f
commit 202dab5c98
3 changed files with 16 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package net.md_5.bungee.api.connection;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.config.ServerInfo;
import net.md_5.bungee.api.config.TexturePackInfo;
/**
* Represents a player who's connection is being connected to somewhere else,
@@ -69,4 +70,11 @@ public interface ProxiedPlayer extends Connection, CommandSender
* @param message the message to say
*/
public void chat(String message);
/**
* Send a request to change the players texture pack.
*
* @param pack the pack to request
*/
public void setTexturePack(TexturePackInfo pack);
}