Modifier and Type | Method and Description |
---|---|
static void |
FMLNetworkHandler.handlePlayerLogin(EntityPlayerMP player,
NetServerHandler netHandler,
INetworkManager manager) |
static void |
FMLNetworkHandler.makeEntitySpawnAdjustment(int entityId,
EntityPlayerMP player,
int serverX,
int serverY,
int serverZ) |
Modifier and Type | Method and Description |
---|---|
static EntityPlayerMP |
CommandBase.func_82359_c(ICommandSender par0ICommandSender,
String par1Str) |
static EntityPlayerMP |
CommandBase.getCommandSenderAsPlayer(ICommandSender par0ICommandSender)
Returns the given ICommandSender as a EntityPlayer or throw an exception.
|
static EntityPlayerMP |
PlayerSelector.matchOnePlayer(ICommandSender par0ICommandSender,
String par1Str)
Returns the one player that matches the given at-token.
|
static EntityPlayerMP[] |
PlayerSelector.matchPlayers(ICommandSender par0ICommandSender,
String par1Str)
Returns an array of all players matched by the given at-token.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityTracker.func_85172_a(EntityPlayerMP par1EntityPlayerMP,
Chunk par2Chunk) |
void |
EntityTrackerEntry.removeFromWatchingList(EntityPlayerMP par1EntityPlayerMP) |
void |
EntityTrackerEntry.removePlayerFromTracker(EntityPlayerMP par1EntityPlayerMP) |
void |
EntityTracker.removePlayerFromTrackers(EntityPlayerMP par1EntityPlayerMP) |
void |
EntityTrackerEntry.tryStartWachingThis(EntityPlayerMP par1EntityPlayerMP)
if the player is more than the distance threshold (typically 64) then the player is removed instead
|
Modifier and Type | Field and Description |
---|---|
EntityPlayerMP |
ItemInWorldManager.thisPlayerMP
The EntityPlayerMP object that this object is connected to.
|
Modifier and Type | Field and Description |
---|---|
EntityPlayerMP |
NetServerHandler.playerEntity
Reference to the EntityPlayerMP object.
|
Modifier and Type | Method and Description |
---|---|
EntityPlayerMP |
NetServerHandler.getPlayer() |
Constructor and Description |
---|
NetServerHandler(MinecraftServer par1,
INetworkManager par2,
EntityPlayerMP par3) |
Modifier and Type | Method and Description |
---|---|
EntityPlayerMP |
ServerConfigurationManager.createPlayerForUser(String par1Str)
also checks for multiple logins
|
EntityPlayerMP |
ServerConfigurationManager.getPlayerForUsername(String par1Str) |
EntityPlayerMP |
ServerConfigurationManager.respawnPlayer(EntityPlayerMP par1EntityPlayerMP,
int par2,
boolean par3)
creates and returns a respawned player based on the provided PlayerEntity.
|
Modifier and Type | Method and Description |
---|---|
void |
PlayerManager.addPlayer(EntityPlayerMP par1EntityPlayerMP)
Adds an EntityPlayerMP to the PlayerManager.
|
void |
PlayerInstance.addPlayerToChunkWatchingList(EntityPlayerMP par1EntityPlayerMP)
called for all chunks within the visible radius of the player
|
int |
PlayerPositionComparator.comparePlayers(EntityPlayerMP par1EntityPlayerMP,
EntityPlayerMP par2EntityPlayerMP)
Compare the position of two players.
|
void |
PlayerManager.filterChunkLoadQueue(EntityPlayerMP par1EntityPlayerMP)
Removes all chunks from the given player's chunk load queue that are not in viewing range of the player.
|
void |
ServerConfigurationManager.func_72375_a(EntityPlayerMP par1EntityPlayerMP,
WorldServer par2WorldServer) |
void |
ServerConfigurationManager.initializeConnectionToPlayer(INetworkManager par1INetworkManager,
EntityPlayerMP par2EntityPlayerMP) |
boolean |
PlayerManager.isPlayerWatchingChunk(EntityPlayerMP par1EntityPlayerMP,
int par2,
int par3) |
void |
ServerConfigurationManager.playerLoggedIn(EntityPlayerMP par1EntityPlayerMP)
Called when a player successfully logs in.
|
void |
ServerConfigurationManager.playerLoggedOut(EntityPlayerMP par1EntityPlayerMP)
Called when a player disconnects from the game.
|
NBTTagCompound |
ServerConfigurationManager.readPlayerDataFromFile(EntityPlayerMP par1EntityPlayerMP)
called during player login.
|
void |
PlayerManager.removePlayer(EntityPlayerMP par1EntityPlayerMP)
Removes an EntityPlayerMP from the PlayerManager.
|
EntityPlayerMP |
ServerConfigurationManager.respawnPlayer(EntityPlayerMP par1EntityPlayerMP,
int par2,
boolean par3)
creates and returns a respawned player based on the provided PlayerEntity.
|
void |
PlayerInstance.sendThisChunkToPlayer(EntityPlayerMP par1EntityPlayerMP) |
void |
ServerConfigurationManager.serverUpdateMountedMovingPlayer(EntityPlayerMP par1EntityPlayerMP)
using player's dimension, update their movement when in a vehicle (e.g.
|
void |
ServerConfigurationManager.syncPlayerInventory(EntityPlayerMP par1EntityPlayerMP)
sends the players inventory to himself
|
void |
ServerConfigurationManager.transferPlayerToDimension(EntityPlayerMP par1EntityPlayerMP,
int par2) |
void |
ServerConfigurationManager.transferPlayerToDimension(EntityPlayerMP par1EntityPlayerMP,
int par2,
Teleporter teleporter) |
void |
PlayerManager.updateMountedMovingPlayer(EntityPlayerMP par1EntityPlayerMP)
update chunks around a player being moved by server logic (e.g.
|
void |
ServerConfigurationManager.updateTimeAndWeatherForPlayer(EntityPlayerMP par1EntityPlayerMP,
WorldServer par2WorldServer)
Updates the time and weather for the given player to those of the given world
|
Modifier and Type | Method and Description |
---|---|
static void |
ModLoader.serverOpenWindow(EntityPlayerMP player,
Container container,
int ID,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
int |
WorldProvider.getRespawnDimension(EntityPlayerMP player)
Determines the dimension the player will be respawned in, typically this brings them back to the overworld.
|
Modifier and Type | Field and Description |
---|---|
EntityPlayerMP |
ServerChatEvent.player |
Constructor and Description |
---|
ServerChatEvent(EntityPlayerMP player,
String message,
String line) |
Modifier and Type | Field and Description |
---|---|
EntityPlayerMP |
ChunkWatchEvent.player |
Constructor and Description |
---|
ChunkWatchEvent.UnWatch(ChunkCoordIntPair chunkLocation,
EntityPlayerMP player) |
ChunkWatchEvent.Watch(ChunkCoordIntPair chunk,
EntityPlayerMP player) |
ChunkWatchEvent(ChunkCoordIntPair chunk,
EntityPlayerMP player) |