YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.network.NetLoginHandler Class Reference
Inheritance diagram for net.minecraft.network.NetLoginHandler:
net.minecraft.network.packet.NetHandler

Public Member Functions

 NetLoginHandler (MinecraftServer par1MinecraftServer, Socket par2Socket, String par3Str) throws IOException
 
void tryLogin ()
 
void raiseErrorAndDisconnect (String par1Str)
 
void handleClientProtocol (Packet2ClientProtocol par1Packet2ClientProtocol)
 
void handleSharedKey (Packet252SharedKey par1Packet252SharedKey)
 
void handleClientCommand (Packet205ClientCommand par1Packet205ClientCommand)
 
void handleLogin (Packet1Login par1Packet1Login)
 
void initializePlayerConnection ()
 
void completeConnection (String s)
 
void handleErrorMessage (String par1Str, Object[] par2ArrayOfObj)
 
void handleServerPing (Packet254ServerPing par1Packet254ServerPing)
 
void unexpectedPacket (Packet par1Packet)
 
String getUsernameAndAddress ()
 
boolean isServerHandler ()
 
void handleCustomPayload (Packet250CustomPayload par1Packet250CustomPayload)
 
void handleVanilla250Packet (Packet250CustomPayload payload)
 
EntityPlayer getPlayer ()
 
- Public Member Functions inherited from net.minecraft.network.packet.NetHandler
void handleMapChunk (Packet51MapChunk par1Packet51MapChunk)
 
void unexpectedPacket (Packet par1Packet)
 
void handleErrorMessage (String par1Str, Object[] par2ArrayOfObj)
 
void handleKickDisconnect (Packet255KickDisconnect par1Packet255KickDisconnect)
 
void handleLogin (Packet1Login par1Packet1Login)
 
void handleFlying (Packet10Flying par1Packet10Flying)
 
void handleMultiBlockChange (Packet52MultiBlockChange par1Packet52MultiBlockChange)
 
void handleBlockDig (Packet14BlockDig par1Packet14BlockDig)
 
void handleBlockChange (Packet53BlockChange par1Packet53BlockChange)
 
void handleNamedEntitySpawn (Packet20NamedEntitySpawn par1Packet20NamedEntitySpawn)
 
void handleEntity (Packet30Entity par1Packet30Entity)
 
void handleEntityTeleport (Packet34EntityTeleport par1Packet34EntityTeleport)
 
void handlePlace (Packet15Place par1Packet15Place)
 
void handleBlockItemSwitch (Packet16BlockItemSwitch par1Packet16BlockItemSwitch)
 
void handleDestroyEntity (Packet29DestroyEntity par1Packet29DestroyEntity)
 
void handleCollect (Packet22Collect par1Packet22Collect)
 
void handleChat (Packet3Chat par1Packet3Chat)
 
void handleVehicleSpawn (Packet23VehicleSpawn par1Packet23VehicleSpawn)
 
void handleAnimation (Packet18Animation par1Packet18Animation)
 
void handleEntityAction (Packet19EntityAction par1Packet19EntityAction)
 
void handleClientProtocol (Packet2ClientProtocol par1Packet2ClientProtocol)
 
void handleServerAuthData (Packet253ServerAuthData par1Packet253ServerAuthData)
 
void handleSharedKey (Packet252SharedKey par1Packet252SharedKey)
 
void handleMobSpawn (Packet24MobSpawn par1Packet24MobSpawn)
 
void handleUpdateTime (Packet4UpdateTime par1Packet4UpdateTime)
 
void handleSpawnPosition (Packet6SpawnPosition par1Packet6SpawnPosition)
 
void handleEntityVelocity (Packet28EntityVelocity par1Packet28EntityVelocity)
 
void handleEntityMetadata (Packet40EntityMetadata par1Packet40EntityMetadata)
 
void handleAttachEntity (Packet39AttachEntity par1Packet39AttachEntity)
 
void handleUseEntity (Packet7UseEntity par1Packet7UseEntity)
 
void handleEntityStatus (Packet38EntityStatus par1Packet38EntityStatus)
 
void handleUpdateHealth (Packet8UpdateHealth par1Packet8UpdateHealth)
 
void handleRespawn (Packet9Respawn par1Packet9Respawn)
 
void handleExplosion (Packet60Explosion par1Packet60Explosion)
 
void handleOpenWindow (Packet100OpenWindow par1Packet100OpenWindow)
 
void handleCloseWindow (Packet101CloseWindow par1Packet101CloseWindow)
 
void handleWindowClick (Packet102WindowClick par1Packet102WindowClick)
 
void handleSetSlot (Packet103SetSlot par1Packet103SetSlot)
 
void handleWindowItems (Packet104WindowItems par1Packet104WindowItems)
 
void handleUpdateSign (Packet130UpdateSign par1Packet130UpdateSign)
 
void handleUpdateProgressbar (Packet105UpdateProgressbar par1Packet105UpdateProgressbar)
 
void handlePlayerInventory (Packet5PlayerInventory par1Packet5PlayerInventory)
 
void handleTransaction (Packet106Transaction par1Packet106Transaction)
 
void handleEntityPainting (Packet25EntityPainting par1Packet25EntityPainting)
 
void handleBlockEvent (Packet54PlayNoteBlock par1Packet54PlayNoteBlock)
 
void handleStatistic (Packet200Statistic par1Packet200Statistic)
 
void handleSleep (Packet17Sleep par1Packet17Sleep)
 
void handleGameEvent (Packet70GameEvent par1Packet70GameEvent)
 
void handleWeather (Packet71Weather par1Packet71Weather)
 
void handleMapData (Packet131MapData par1Packet131MapData)
 
void handleDoorChange (Packet61DoorChange par1Packet61DoorChange)
 
void handleServerPing (Packet254ServerPing par1Packet254ServerPing)
 
void handleEntityEffect (Packet41EntityEffect par1Packet41EntityEffect)
 
void handleRemoveEntityEffect (Packet42RemoveEntityEffect par1Packet42RemoveEntityEffect)
 
void handlePlayerInfo (Packet201PlayerInfo par1Packet201PlayerInfo)
 
void handleKeepAlive (Packet0KeepAlive par1Packet0KeepAlive)
 
void handleExperience (Packet43Experience par1Packet43Experience)
 
void handleCreativeSetSlot (Packet107CreativeSetSlot par1Packet107CreativeSetSlot)
 
void handleEntityExpOrb (Packet26EntityExpOrb par1Packet26EntityExpOrb)
 
void handleEnchantItem (Packet108EnchantItem par1Packet108EnchantItem)
 
void handleCustomPayload (Packet250CustomPayload par1Packet250CustomPayload)
 
void handleEntityHeadRotation (Packet35EntityHeadRotation par1Packet35EntityHeadRotation)
 
void handleTileEntityData (Packet132TileEntityData par1Packet132TileEntityData)
 
void handlePlayerAbilities (Packet202PlayerAbilities par1Packet202PlayerAbilities)
 
void handleAutoComplete (Packet203AutoComplete par1Packet203AutoComplete)
 
void handleClientInfo (Packet204ClientInfo par1Packet204ClientInfo)
 
void handleLevelSound (Packet62LevelSound par1Packet62LevelSound)
 
void handleBlockDestroy (Packet55BlockDestroy par1Packet55BlockDestroy)
 
void handleClientCommand (Packet205ClientCommand par1Packet205ClientCommand)
 
void handleMapChunks (Packet56MapChunks par1Packet56MapChunks)
 
boolean canProcessPacketsAsync ()
 
void handleSetObjective (Packet206SetObjective par1Packet206SetObjective)
 
void handleSetScore (Packet207SetScore par1Packet207SetScore)
 
void handleSetDisplayObjective (Packet208SetDisplayObjective par1Packet208SetDisplayObjective)
 
void handleSetPlayerTeam (Packet209SetPlayerTeam par1Packet209SetPlayerTeam)
 
void handleWorldParticles (Packet63WorldParticles par1Packet63WorldParticles)
 

Static Public Member Functions

static boolean func_72531_a (NetLoginHandler par0NetLoginHandler, boolean par1)
 

Public Attributes

final TcpConnection myTCPConnection
 
boolean connectionComplete = false
 
String clientUsername = null
 

Constructor & Destructor Documentation

net.minecraft.network.NetLoginHandler.NetLoginHandler ( MinecraftServer  par1MinecraftServer,
Socket  par2Socket,
String  par3Str 
) throws IOException

Member Function Documentation

void net.minecraft.network.NetLoginHandler.completeConnection ( String  s)
static boolean net.minecraft.network.NetLoginHandler.func_72531_a ( NetLoginHandler  par0NetLoginHandler,
boolean  par1 
)
static
EntityPlayer net.minecraft.network.NetLoginHandler.getPlayer ( )
virtual
String net.minecraft.network.NetLoginHandler.getUsernameAndAddress ( )
void net.minecraft.network.NetLoginHandler.handleClientCommand ( Packet205ClientCommand  par1Packet205ClientCommand)
void net.minecraft.network.NetLoginHandler.handleClientProtocol ( Packet2ClientProtocol  par1Packet2ClientProtocol)
void net.minecraft.network.NetLoginHandler.handleCustomPayload ( Packet250CustomPayload  par1Packet250CustomPayload)
void net.minecraft.network.NetLoginHandler.handleErrorMessage ( String  par1Str,
Object[]  par2ArrayOfObj 
)
void net.minecraft.network.NetLoginHandler.handleLogin ( Packet1Login  par1Packet1Login)
void net.minecraft.network.NetLoginHandler.handleServerPing ( Packet254ServerPing  par1Packet254ServerPing)

Handle a server ping packet.

void net.minecraft.network.NetLoginHandler.handleSharedKey ( Packet252SharedKey  par1Packet252SharedKey)
void net.minecraft.network.NetLoginHandler.handleVanilla250Packet ( Packet250CustomPayload  payload)
virtual
void net.minecraft.network.NetLoginHandler.initializePlayerConnection ( )

on success the specified username is connected to the minecraftInstance, otherwise they are packet255'd

boolean net.minecraft.network.NetLoginHandler.isServerHandler ( )
virtual

determine if it is a server handler

Implements net.minecraft.network.packet.NetHandler.

void net.minecraft.network.NetLoginHandler.raiseErrorAndDisconnect ( String  par1Str)
void net.minecraft.network.NetLoginHandler.tryLogin ( )

Logs the user in if a login packet is found, otherwise keeps processing network packets unless the timeout has occurred.

void net.minecraft.network.NetLoginHandler.unexpectedPacket ( Packet  par1Packet)

Default handler called for packets that don't have their own handlers in NetClientHandler; currentlly does nothing.

Member Data Documentation

String net.minecraft.network.NetLoginHandler.clientUsername = null
boolean net.minecraft.network.NetLoginHandler.connectionComplete = false
final TcpConnection net.minecraft.network.NetLoginHandler.myTCPConnection

The documentation for this class was generated from the following file: