YATS/Forge Documentation
|
boolean net.minecraft.network.packet.NetHandler.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)
|
pure virtual |
void net.minecraft.network.packet.NetHandler.handleAnimation | ( | Packet18Animation | par1Packet18Animation) |
void net.minecraft.network.packet.NetHandler.handleAttachEntity | ( | Packet39AttachEntity | par1Packet39AttachEntity) |
Packet handler
void net.minecraft.network.packet.NetHandler.handleAutoComplete | ( | Packet203AutoComplete | par1Packet203AutoComplete) |
void net.minecraft.network.packet.NetHandler.handleBlockChange | ( | Packet53BlockChange | par1Packet53BlockChange) |
void net.minecraft.network.packet.NetHandler.handleBlockDestroy | ( | Packet55BlockDestroy | par1Packet55BlockDestroy) |
void net.minecraft.network.packet.NetHandler.handleBlockDig | ( | Packet14BlockDig | par1Packet14BlockDig) |
void net.minecraft.network.packet.NetHandler.handleBlockEvent | ( | Packet54PlayNoteBlock | par1Packet54PlayNoteBlock) |
void net.minecraft.network.packet.NetHandler.handleBlockItemSwitch | ( | Packet16BlockItemSwitch | par1Packet16BlockItemSwitch) |
void net.minecraft.network.packet.NetHandler.handleChat | ( | Packet3Chat | par1Packet3Chat) |
void net.minecraft.network.packet.NetHandler.handleClientCommand | ( | Packet205ClientCommand | par1Packet205ClientCommand) |
void net.minecraft.network.packet.NetHandler.handleClientInfo | ( | Packet204ClientInfo | par1Packet204ClientInfo) |
void net.minecraft.network.packet.NetHandler.handleClientProtocol | ( | Packet2ClientProtocol | par1Packet2ClientProtocol) |
void net.minecraft.network.packet.NetHandler.handleCloseWindow | ( | Packet101CloseWindow | par1Packet101CloseWindow) |
void net.minecraft.network.packet.NetHandler.handleCollect | ( | Packet22Collect | par1Packet22Collect) |
void net.minecraft.network.packet.NetHandler.handleCreativeSetSlot | ( | Packet107CreativeSetSlot | par1Packet107CreativeSetSlot) |
Handle a creative slot packet.
void net.minecraft.network.packet.NetHandler.handleCustomPayload | ( | Packet250CustomPayload | par1Packet250CustomPayload) |
void net.minecraft.network.packet.NetHandler.handleDestroyEntity | ( | Packet29DestroyEntity | par1Packet29DestroyEntity) |
void net.minecraft.network.packet.NetHandler.handleDoorChange | ( | Packet61DoorChange | par1Packet61DoorChange) |
void net.minecraft.network.packet.NetHandler.handleEnchantItem | ( | Packet108EnchantItem | par1Packet108EnchantItem) |
void net.minecraft.network.packet.NetHandler.handleEntity | ( | Packet30Entity | par1Packet30Entity) |
void net.minecraft.network.packet.NetHandler.handleEntityAction | ( | Packet19EntityAction | par1Packet19EntityAction) |
runs registerPacket on the given Packet19EntityAction
void net.minecraft.network.packet.NetHandler.handleEntityEffect | ( | Packet41EntityEffect | par1Packet41EntityEffect) |
Handle an entity effect packet.
void net.minecraft.network.packet.NetHandler.handleEntityExpOrb | ( | Packet26EntityExpOrb | par1Packet26EntityExpOrb) |
Handle a entity experience orb packet.
void net.minecraft.network.packet.NetHandler.handleEntityHeadRotation | ( | Packet35EntityHeadRotation | par1Packet35EntityHeadRotation) |
void net.minecraft.network.packet.NetHandler.handleEntityMetadata | ( | Packet40EntityMetadata | par1Packet40EntityMetadata) |
Packet handler
void net.minecraft.network.packet.NetHandler.handleEntityPainting | ( | Packet25EntityPainting | par1Packet25EntityPainting) |
Packet handler
void net.minecraft.network.packet.NetHandler.handleEntityStatus | ( | Packet38EntityStatus | par1Packet38EntityStatus) |
Packet handler
void net.minecraft.network.packet.NetHandler.handleEntityTeleport | ( | Packet34EntityTeleport | par1Packet34EntityTeleport) |
void net.minecraft.network.packet.NetHandler.handleEntityVelocity | ( | Packet28EntityVelocity | par1Packet28EntityVelocity) |
Packet handler
void net.minecraft.network.packet.NetHandler.handleErrorMessage | ( | String | par1Str, |
Object[] | par2ArrayOfObj | ||
) |
void net.minecraft.network.packet.NetHandler.handleExperience | ( | Packet43Experience | par1Packet43Experience) |
Handle an experience packet.
void net.minecraft.network.packet.NetHandler.handleExplosion | ( | Packet60Explosion | par1Packet60Explosion) |
void net.minecraft.network.packet.NetHandler.handleFlying | ( | Packet10Flying | par1Packet10Flying) |
void net.minecraft.network.packet.NetHandler.handleGameEvent | ( | Packet70GameEvent | par1Packet70GameEvent) |
void net.minecraft.network.packet.NetHandler.handleKeepAlive | ( | Packet0KeepAlive | par1Packet0KeepAlive) |
Handle a keep alive packet.
void net.minecraft.network.packet.NetHandler.handleKickDisconnect | ( | Packet255KickDisconnect | par1Packet255KickDisconnect) |
void net.minecraft.network.packet.NetHandler.handleLevelSound | ( | Packet62LevelSound | par1Packet62LevelSound) |
void net.minecraft.network.packet.NetHandler.handleLogin | ( | Packet1Login | par1Packet1Login) |
void net.minecraft.network.packet.NetHandler.handleMapChunk | ( | Packet51MapChunk | par1Packet51MapChunk) |
Handle Packet51MapChunk (full chunk update of blocks, metadata, light levels, and optionally biome data)
void net.minecraft.network.packet.NetHandler.handleMapChunks | ( | Packet56MapChunks | par1Packet56MapChunks) |
void net.minecraft.network.packet.NetHandler.handleMapData | ( | Packet131MapData | par1Packet131MapData) |
Contains logic for handling packets containing arbitrary unique item data. Currently this is only for maps.
void net.minecraft.network.packet.NetHandler.handleMobSpawn | ( | Packet24MobSpawn | par1Packet24MobSpawn) |
void net.minecraft.network.packet.NetHandler.handleMultiBlockChange | ( | Packet52MultiBlockChange | par1Packet52MultiBlockChange) |
void net.minecraft.network.packet.NetHandler.handleNamedEntitySpawn | ( | Packet20NamedEntitySpawn | par1Packet20NamedEntitySpawn) |
void net.minecraft.network.packet.NetHandler.handleOpenWindow | ( | Packet100OpenWindow | par1Packet100OpenWindow) |
void net.minecraft.network.packet.NetHandler.handlePlace | ( | Packet15Place | par1Packet15Place) |
void net.minecraft.network.packet.NetHandler.handlePlayerAbilities | ( | Packet202PlayerAbilities | par1Packet202PlayerAbilities) |
Handle a player abilities packet.
void net.minecraft.network.packet.NetHandler.handlePlayerInfo | ( | Packet201PlayerInfo | par1Packet201PlayerInfo) |
Handle a player information packet.
void net.minecraft.network.packet.NetHandler.handlePlayerInventory | ( | Packet5PlayerInventory | par1Packet5PlayerInventory) |
void net.minecraft.network.packet.NetHandler.handleRemoveEntityEffect | ( | Packet42RemoveEntityEffect | par1Packet42RemoveEntityEffect) |
Handle a remove entity effect packet.
void net.minecraft.network.packet.NetHandler.handleRespawn | ( | Packet9Respawn | par1Packet9Respawn) |
respawns the player
void net.minecraft.network.packet.NetHandler.handleServerAuthData | ( | Packet253ServerAuthData | par1Packet253ServerAuthData) |
void net.minecraft.network.packet.NetHandler.handleServerPing | ( | Packet254ServerPing | par1Packet254ServerPing) |
Handle a server ping packet.
void net.minecraft.network.packet.NetHandler.handleSetDisplayObjective | ( | Packet208SetDisplayObjective | par1Packet208SetDisplayObjective) |
Handle a set display objective packet.
void net.minecraft.network.packet.NetHandler.handleSetObjective | ( | Packet206SetObjective | par1Packet206SetObjective) |
Handle a set objective packet.
void net.minecraft.network.packet.NetHandler.handleSetPlayerTeam | ( | Packet209SetPlayerTeam | par1Packet209SetPlayerTeam) |
Handle a set player team packet.
void net.minecraft.network.packet.NetHandler.handleSetScore | ( | Packet207SetScore | par1Packet207SetScore) |
Handle a set score packet.
void net.minecraft.network.packet.NetHandler.handleSetSlot | ( | Packet103SetSlot | par1Packet103SetSlot) |
void net.minecraft.network.packet.NetHandler.handleSharedKey | ( | Packet252SharedKey | par1Packet252SharedKey) |
void net.minecraft.network.packet.NetHandler.handleSleep | ( | Packet17Sleep | par1Packet17Sleep) |
void net.minecraft.network.packet.NetHandler.handleSpawnPosition | ( | Packet6SpawnPosition | par1Packet6SpawnPosition) |
void net.minecraft.network.packet.NetHandler.handleStatistic | ( | Packet200Statistic | par1Packet200Statistic) |
Increment player statistics
void net.minecraft.network.packet.NetHandler.handleTileEntityData | ( | Packet132TileEntityData | par1Packet132TileEntityData) |
void net.minecraft.network.packet.NetHandler.handleTransaction | ( | Packet106Transaction | par1Packet106Transaction) |
void net.minecraft.network.packet.NetHandler.handleUpdateHealth | ( | Packet8UpdateHealth | par1Packet8UpdateHealth) |
Recieves player health from the server and then proceeds to set it locally on the client.
void net.minecraft.network.packet.NetHandler.handleUpdateProgressbar | ( | Packet105UpdateProgressbar | par1Packet105UpdateProgressbar) |
void net.minecraft.network.packet.NetHandler.handleUpdateSign | ( | Packet130UpdateSign | par1Packet130UpdateSign) |
Updates Client side signs
void net.minecraft.network.packet.NetHandler.handleUpdateTime | ( | Packet4UpdateTime | par1Packet4UpdateTime) |
void net.minecraft.network.packet.NetHandler.handleUseEntity | ( | Packet7UseEntity | par1Packet7UseEntity) |
|
pure virtual |
void net.minecraft.network.packet.NetHandler.handleVehicleSpawn | ( | Packet23VehicleSpawn | par1Packet23VehicleSpawn) |
void net.minecraft.network.packet.NetHandler.handleWeather | ( | Packet71Weather | par1Packet71Weather) |
Handles weather packet
void net.minecraft.network.packet.NetHandler.handleWindowClick | ( | Packet102WindowClick | par1Packet102WindowClick) |
void net.minecraft.network.packet.NetHandler.handleWindowItems | ( | Packet104WindowItems | par1Packet104WindowItems) |
void net.minecraft.network.packet.NetHandler.handleWorldParticles | ( | Packet63WorldParticles | par1Packet63WorldParticles) |
Handle a world particles packet.
|
pure virtual |
determine if it is a server handler
Implemented in net.minecraft.client.multiplayer.NetClientHandler, net.minecraft.network.NetServerHandler, and net.minecraft.network.NetLoginHandler.
void net.minecraft.network.packet.NetHandler.unexpectedPacket | ( | Packet | par1Packet) |
Default handler called for packets that don't have their own handlers in NetClientHandler; currentlly does nothing.