YATS/Forge Documentation
|
Static Public Member Functions | |
static void | setConnectionCompatibilityLevel (byte connectionCompatibilityLevel) |
static byte | getConnectionCompatibilityLevel () |
Public Attributes | |
String | field_72560_a |
MapStorage | mapStorage = new MapStorage((ISaveHandler)null) |
List | playerInfoList = new ArrayList() |
int | currentServerMaxPlayers = 20 |
net.minecraft.client.multiplayer.NetClientHandler.NetClientHandler | ( | Minecraft | par1Minecraft, |
String | par2Str, | ||
int | par3 | ||
) | throws IOException |
net.minecraft.client.multiplayer.NetClientHandler.NetClientHandler | ( | Minecraft | par1Minecraft, |
String | par2Str, | ||
int | par3, | ||
GuiScreen | par4GuiScreen | ||
) | throws IOException |
net.minecraft.client.multiplayer.NetClientHandler.NetClientHandler | ( | Minecraft | par1Minecraft, |
IntegratedServer | par2IntegratedServer | ||
) | throws IOException |
void net.minecraft.client.multiplayer.NetClientHandler.addToSendQueue | ( | Packet | par1Packet) |
Adds the packet to the send queue
boolean net.minecraft.client.multiplayer.NetClientHandler.canProcessPacketsAsync | ( | ) |
If this returns false, all packets will be queued for the main thread to handle, even if they would otherwise be processed asynchronously. Used to avoid processing packets on the client before the world has been downloaded (which happens on the main thread)
void net.minecraft.client.multiplayer.NetClientHandler.cleanup | ( | ) |
sets netManager and worldClient to null
void net.minecraft.client.multiplayer.NetClientHandler.disconnect | ( | ) |
Disconnects the network connection.
void net.minecraft.client.multiplayer.NetClientHandler.fmlPacket131Callback | ( | Packet131MapData | par1Packet131MapData) |
|
static |
INetworkManager net.minecraft.client.multiplayer.NetClientHandler.getNetManager | ( | ) |
Return the NetworkManager instance used by this NetClientHandler
|
virtual |
Implements net.minecraft.network.packet.NetHandler.
void net.minecraft.client.multiplayer.NetClientHandler.handleAnimation | ( | Packet18Animation | par1Packet18Animation) |
void net.minecraft.client.multiplayer.NetClientHandler.handleAttachEntity | ( | Packet39AttachEntity | par1Packet39AttachEntity) |
Packet handler
void net.minecraft.client.multiplayer.NetClientHandler.handleAutoComplete | ( | Packet203AutoComplete | par1Packet203AutoComplete) |
void net.minecraft.client.multiplayer.NetClientHandler.handleBlockChange | ( | Packet53BlockChange | par1Packet53BlockChange) |
void net.minecraft.client.multiplayer.NetClientHandler.handleBlockDestroy | ( | Packet55BlockDestroy | par1Packet55BlockDestroy) |
void net.minecraft.client.multiplayer.NetClientHandler.handleBlockEvent | ( | Packet54PlayNoteBlock | par1Packet54PlayNoteBlock) |
void net.minecraft.client.multiplayer.NetClientHandler.handleBlockItemSwitch | ( | Packet16BlockItemSwitch | par1Packet16BlockItemSwitch) |
void net.minecraft.client.multiplayer.NetClientHandler.handleChat | ( | Packet3Chat | par1Packet3Chat) |
void net.minecraft.client.multiplayer.NetClientHandler.handleCloseWindow | ( | Packet101CloseWindow | par1Packet101CloseWindow) |
void net.minecraft.client.multiplayer.NetClientHandler.handleCollect | ( | Packet22Collect | par1Packet22Collect) |
void net.minecraft.client.multiplayer.NetClientHandler.handleCustomPayload | ( | Packet250CustomPayload | par1Packet250CustomPayload) |
void net.minecraft.client.multiplayer.NetClientHandler.handleDestroyEntity | ( | Packet29DestroyEntity | par1Packet29DestroyEntity) |
void net.minecraft.client.multiplayer.NetClientHandler.handleDoorChange | ( | Packet61DoorChange | par1Packet61DoorChange) |
void net.minecraft.client.multiplayer.NetClientHandler.handleEntity | ( | Packet30Entity | par1Packet30Entity) |
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityEffect | ( | Packet41EntityEffect | par1Packet41EntityEffect) |
Handle an entity effect packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityExpOrb | ( | Packet26EntityExpOrb | par1Packet26EntityExpOrb) |
Handle a entity experience orb packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityHeadRotation | ( | Packet35EntityHeadRotation | par1Packet35EntityHeadRotation) |
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityMetadata | ( | Packet40EntityMetadata | par1Packet40EntityMetadata) |
Packet handler
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityPainting | ( | Packet25EntityPainting | par1Packet25EntityPainting) |
Packet handler
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityStatus | ( | Packet38EntityStatus | par1Packet38EntityStatus) |
Packet handler
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityTeleport | ( | Packet34EntityTeleport | par1Packet34EntityTeleport) |
void net.minecraft.client.multiplayer.NetClientHandler.handleEntityVelocity | ( | Packet28EntityVelocity | par1Packet28EntityVelocity) |
Packet handler
void net.minecraft.client.multiplayer.NetClientHandler.handleErrorMessage | ( | String | par1Str, |
Object[] | par2ArrayOfObj | ||
) |
void net.minecraft.client.multiplayer.NetClientHandler.handleExperience | ( | Packet43Experience | par1Packet43Experience) |
Handle an experience packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleExplosion | ( | Packet60Explosion | par1Packet60Explosion) |
void net.minecraft.client.multiplayer.NetClientHandler.handleFlying | ( | Packet10Flying | par1Packet10Flying) |
void net.minecraft.client.multiplayer.NetClientHandler.handleGameEvent | ( | Packet70GameEvent | par1Packet70GameEvent) |
void net.minecraft.client.multiplayer.NetClientHandler.handleKeepAlive | ( | Packet0KeepAlive | par1Packet0KeepAlive) |
Handle a keep alive packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleKickDisconnect | ( | Packet255KickDisconnect | par1Packet255KickDisconnect) |
void net.minecraft.client.multiplayer.NetClientHandler.handleLevelSound | ( | Packet62LevelSound | par1Packet62LevelSound) |
void net.minecraft.client.multiplayer.NetClientHandler.handleLogin | ( | Packet1Login | par1Packet1Login) |
void net.minecraft.client.multiplayer.NetClientHandler.handleMapChunk | ( | Packet51MapChunk | par1Packet51MapChunk) |
Handle Packet51MapChunk (full chunk update of blocks, metadata, light levels, and optionally biome data)
void net.minecraft.client.multiplayer.NetClientHandler.handleMapChunks | ( | Packet56MapChunks | par1Packet56MapChunks) |
void net.minecraft.client.multiplayer.NetClientHandler.handleMapData | ( | Packet131MapData | par1Packet131MapData) |
Contains logic for handling packets containing arbitrary unique item data. Currently this is only for maps.
void net.minecraft.client.multiplayer.NetClientHandler.handleMobSpawn | ( | Packet24MobSpawn | par1Packet24MobSpawn) |
void net.minecraft.client.multiplayer.NetClientHandler.handleMultiBlockChange | ( | Packet52MultiBlockChange | par1Packet52MultiBlockChange) |
void net.minecraft.client.multiplayer.NetClientHandler.handleNamedEntitySpawn | ( | Packet20NamedEntitySpawn | par1Packet20NamedEntitySpawn) |
void net.minecraft.client.multiplayer.NetClientHandler.handleOpenWindow | ( | Packet100OpenWindow | par1Packet100OpenWindow) |
void net.minecraft.client.multiplayer.NetClientHandler.handlePlayerAbilities | ( | Packet202PlayerAbilities | par1Packet202PlayerAbilities) |
Handle a player abilities packet.
void net.minecraft.client.multiplayer.NetClientHandler.handlePlayerInfo | ( | Packet201PlayerInfo | par1Packet201PlayerInfo) |
Handle a player information packet.
void net.minecraft.client.multiplayer.NetClientHandler.handlePlayerInventory | ( | Packet5PlayerInventory | par1Packet5PlayerInventory) |
void net.minecraft.client.multiplayer.NetClientHandler.handleRemoveEntityEffect | ( | Packet42RemoveEntityEffect | par1Packet42RemoveEntityEffect) |
Handle a remove entity effect packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleRespawn | ( | Packet9Respawn | par1Packet9Respawn) |
respawns the player
void net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData | ( | Packet253ServerAuthData | par1Packet253ServerAuthData) |
void net.minecraft.client.multiplayer.NetClientHandler.handleSetDisplayObjective | ( | Packet208SetDisplayObjective | par1Packet208SetDisplayObjective) |
Handle a set display objective packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleSetObjective | ( | Packet206SetObjective | par1Packet206SetObjective) |
Handle a set objective packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleSetPlayerTeam | ( | Packet209SetPlayerTeam | par1Packet209SetPlayerTeam) |
Handle a set player team packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleSetScore | ( | Packet207SetScore | par1Packet207SetScore) |
Handle a set score packet.
void net.minecraft.client.multiplayer.NetClientHandler.handleSetSlot | ( | Packet103SetSlot | par1Packet103SetSlot) |
void net.minecraft.client.multiplayer.NetClientHandler.handleSharedKey | ( | Packet252SharedKey | par1Packet252SharedKey) |
void net.minecraft.client.multiplayer.NetClientHandler.handleSleep | ( | Packet17Sleep | par1Packet17Sleep) |
void net.minecraft.client.multiplayer.NetClientHandler.handleSpawnPosition | ( | Packet6SpawnPosition | par1Packet6SpawnPosition) |
void net.minecraft.client.multiplayer.NetClientHandler.handleStatistic | ( | Packet200Statistic | par1Packet200Statistic) |
Increment player statistics
void net.minecraft.client.multiplayer.NetClientHandler.handleTileEntityData | ( | Packet132TileEntityData | par1Packet132TileEntityData) |
void net.minecraft.client.multiplayer.NetClientHandler.handleTransaction | ( | Packet106Transaction | par1Packet106Transaction) |
void net.minecraft.client.multiplayer.NetClientHandler.handleUpdateHealth | ( | Packet8UpdateHealth | par1Packet8UpdateHealth) |
Recieves player health from the server and then proceeds to set it locally on the client.
void net.minecraft.client.multiplayer.NetClientHandler.handleUpdateProgressbar | ( | Packet105UpdateProgressbar | par1Packet105UpdateProgressbar) |
void net.minecraft.client.multiplayer.NetClientHandler.handleUpdateSign | ( | Packet130UpdateSign | par1Packet130UpdateSign) |
Updates Client side signs
void net.minecraft.client.multiplayer.NetClientHandler.handleUpdateTime | ( | Packet4UpdateTime | par1Packet4UpdateTime) |
|
virtual |
Implements net.minecraft.network.packet.NetHandler.
void net.minecraft.client.multiplayer.NetClientHandler.handleVehicleSpawn | ( | Packet23VehicleSpawn | par1Packet23VehicleSpawn) |
void net.minecraft.client.multiplayer.NetClientHandler.handleWeather | ( | Packet71Weather | par1Packet71Weather) |
Handles weather packet
void net.minecraft.client.multiplayer.NetClientHandler.handleWindowItems | ( | Packet104WindowItems | par1Packet104WindowItems) |
void net.minecraft.client.multiplayer.NetClientHandler.handleWorldParticles | ( | Packet63WorldParticles | par1Packet63WorldParticles) |
Handle a world particles packet.
|
virtual |
determine if it is a server handler
Implements net.minecraft.network.packet.NetHandler.
void net.minecraft.client.multiplayer.NetClientHandler.processReadPackets | ( | ) |
Processes the packets that have been read since the last call to this function.
void net.minecraft.client.multiplayer.NetClientHandler.quitWithPacket | ( | Packet | par1Packet) |
|
static |
int net.minecraft.client.multiplayer.NetClientHandler.currentServerMaxPlayers = 20 |
String net.minecraft.client.multiplayer.NetClientHandler.field_72560_a |
MapStorage net.minecraft.client.multiplayer.NetClientHandler.mapStorage = new MapStorage((ISaveHandler)null) |
List net.minecraft.client.multiplayer.NetClientHandler.playerInfoList = new ArrayList() |
An ArrayList of GuiPlayerInfo (includes all the players' GuiPlayerInfo on the current server)