Package net.minecraft.server.players
Class PlayerList
- java.lang.Object
-
- net.minecraft.server.players.PlayerList
-
public class PlayerList extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.logging.Logger
logger
java.util.List<ServerPlayer>
playerEntities
-
Constructor Summary
Constructors Constructor Description PlayerList(MinecraftServer minecraftServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOp(java.util.UUID uuid)
void
addToWhiteList(java.util.UUID uuid)
void
banIP(java.lang.String var1)
void
banPlayer(java.util.UUID uuid)
void
func_28170_a(ServerPlayer serverPlayer, WorldServer worldServer)
void
func_28171_a(Player entityPlayer, double d, double e, double f, double g, int i, Packet packet)
void
func_30008_g(ServerPlayer serverPlayer)
java.lang.String[]
func_52019_t()
java.util.Set<java.lang.String>
getBannedIPsList()
java.util.Set<java.util.UUID>
getBannedPlayersList()
int
getMaxPlayers()
int
getMaxTrackingDistance()
ServerPlayer
getPlayerEntity(java.lang.String var1)
java.lang.String
getPlayerList()
java.lang.String[]
getPlayerNamesAsList()
java.util.Set<java.util.UUID>
getWhiteList()
boolean
isAllowedToLogin(GameProfile profile)
boolean
isOp(java.util.UUID uuid)
void
joinNewPlayerManager(ServerPlayer var1)
ServerPlayer
login(NetLoginHandler netLoginHandler, GameProfile profile)
void
markBlockNeedsUpdate(int i, int j, int k, int var4)
void
onTick()
void
pardonIP(java.lang.String var1)
void
pardonPlayer(java.util.UUID uuid)
void
playerLoggedIn(ServerPlayer var1)
void
playerLoggedOut(ServerPlayer var1)
int
playersOnline()
void
readPlayerDataFromFile(ServerPlayer var1)
ServerPlayer
recreatePlayerEntity(ServerPlayer serverPlayer, int i, boolean var3)
void
reloadWhiteList()
void
removeFromWhiteList(java.util.UUID uuid)
void
removeOp(java.util.UUID uuid)
void
savePlayerStates()
void
sendChatMessageToAllOps(java.lang.String var1)
void
sendChatMessageToPlayer(java.lang.String string, java.lang.String var2)
void
sendPacketToAllPlayers(Packet var1)
void
sendPacketToAllPlayersInDimension(Packet packet, int var2)
boolean
sendPacketToPlayer(java.lang.String string, Packet var2)
void
sendPacketToPlayersAroundPoint(double d, double e, double f, double g, int var9, Packet packet)
void
sendPlayerToOtherDimension(ServerPlayer serverPlayer, int var2)
void
sentTileEntityToPlayer(int i, int j, int k, TileEntity var4)
void
serverUpdateMountedMovingPlayer(ServerPlayer var1)
void
setPlayerManager(WorldServer[] var1)
-
-
-
Field Detail
-
logger
public static java.util.logging.Logger logger
-
playerEntities
public java.util.List<ServerPlayer> playerEntities
-
-
Constructor Detail
-
PlayerList
public PlayerList(MinecraftServer minecraftServer)
-
-
Method Detail
-
setPlayerManager
public void setPlayerManager(WorldServer[] var1)
-
joinNewPlayerManager
public void joinNewPlayerManager(ServerPlayer var1)
-
getMaxTrackingDistance
public int getMaxTrackingDistance()
-
readPlayerDataFromFile
public void readPlayerDataFromFile(ServerPlayer var1)
-
playerLoggedIn
public void playerLoggedIn(ServerPlayer var1)
-
serverUpdateMountedMovingPlayer
public void serverUpdateMountedMovingPlayer(ServerPlayer var1)
-
playerLoggedOut
public void playerLoggedOut(ServerPlayer var1)
-
login
public ServerPlayer login(NetLoginHandler netLoginHandler, GameProfile profile)
-
recreatePlayerEntity
public ServerPlayer recreatePlayerEntity(ServerPlayer serverPlayer, int i, boolean var3)
-
sendPlayerToOtherDimension
public void sendPlayerToOtherDimension(ServerPlayer serverPlayer, int var2)
-
onTick
public void onTick()
-
markBlockNeedsUpdate
public void markBlockNeedsUpdate(int i, int j, int k, int var4)
-
sendPacketToAllPlayers
public void sendPacketToAllPlayers(Packet var1)
-
sendPacketToAllPlayersInDimension
public void sendPacketToAllPlayersInDimension(Packet packet, int var2)
-
getPlayerList
public java.lang.String getPlayerList()
-
getPlayerNamesAsList
public java.lang.String[] getPlayerNamesAsList()
-
banPlayer
public void banPlayer(java.util.UUID uuid)
-
pardonPlayer
public void pardonPlayer(java.util.UUID uuid)
-
getBannedPlayersList
public java.util.Set<java.util.UUID> getBannedPlayersList()
-
getBannedIPsList
public java.util.Set<java.lang.String> getBannedIPsList()
-
banIP
public void banIP(java.lang.String var1)
-
pardonIP
public void pardonIP(java.lang.String var1)
-
addOp
public void addOp(java.util.UUID uuid)
-
removeOp
public void removeOp(java.util.UUID uuid)
-
isAllowedToLogin
public boolean isAllowedToLogin(GameProfile profile)
-
isOp
public boolean isOp(java.util.UUID uuid)
-
getPlayerEntity
public ServerPlayer getPlayerEntity(java.lang.String var1)
-
sendChatMessageToPlayer
public void sendChatMessageToPlayer(java.lang.String string, java.lang.String var2)
-
sendPacketToPlayersAroundPoint
public void sendPacketToPlayersAroundPoint(double d, double e, double f, double g, int var9, Packet packet)
-
func_28171_a
public void func_28171_a(Player entityPlayer, double d, double e, double f, double g, int i, Packet packet)
-
sendChatMessageToAllOps
public void sendChatMessageToAllOps(java.lang.String var1)
-
sendPacketToPlayer
public boolean sendPacketToPlayer(java.lang.String string, Packet var2)
-
savePlayerStates
public void savePlayerStates()
-
sentTileEntityToPlayer
public void sentTileEntityToPlayer(int i, int j, int k, TileEntity var4)
-
addToWhiteList
public void addToWhiteList(java.util.UUID uuid)
-
removeFromWhiteList
public void removeFromWhiteList(java.util.UUID uuid)
-
getWhiteList
public java.util.Set<java.util.UUID> getWhiteList()
-
reloadWhiteList
public void reloadWhiteList()
-
func_28170_a
public void func_28170_a(ServerPlayer serverPlayer, WorldServer worldServer)
-
func_30008_g
public void func_30008_g(ServerPlayer serverPlayer)
-
playersOnline
public int playersOnline()
-
getMaxPlayers
public int getMaxPlayers()
-
func_52019_t
public java.lang.String[] func_52019_t()
-
-