public class NetHandlerPlayClient extends java.lang.Object implements INetHandlerPlayClient
Modifier and Type | Field and Description |
---|---|
int |
currentServerMaxPlayers |
Constructor and Description |
---|
NetHandlerPlayClient(Minecraft mcIn,
GuiScreen p_i46300_2_,
NetworkManager networkManagerIn,
com.mojang.authlib.GameProfile profileIn) |
public NetHandlerPlayClient(Minecraft mcIn, GuiScreen p_i46300_2_, NetworkManager networkManagerIn, com.mojang.authlib.GameProfile profileIn)
public void cleanup()
public void handleJoinGame(SPacketJoinGame packetIn)
handleJoinGame
in interface INetHandlerPlayClient
public void handleSpawnObject(SPacketSpawnObject packetIn)
handleSpawnObject
in interface INetHandlerPlayClient
public void handleSpawnExperienceOrb(SPacketSpawnExperienceOrb packetIn)
handleSpawnExperienceOrb
in interface INetHandlerPlayClient
public void handleSpawnGlobalEntity(SPacketSpawnGlobalEntity packetIn)
handleSpawnGlobalEntity
in interface INetHandlerPlayClient
public void handleSpawnPainting(SPacketSpawnPainting packetIn)
handleSpawnPainting
in interface INetHandlerPlayClient
public void handleEntityVelocity(SPacketEntityVelocity packetIn)
handleEntityVelocity
in interface INetHandlerPlayClient
public void handleEntityMetadata(SPacketEntityMetadata packetIn)
handleEntityMetadata
in interface INetHandlerPlayClient
public void handleSpawnPlayer(SPacketSpawnPlayer packetIn)
handleSpawnPlayer
in interface INetHandlerPlayClient
public void handleEntityTeleport(SPacketEntityTeleport packetIn)
handleEntityTeleport
in interface INetHandlerPlayClient
public void handleHeldItemChange(SPacketHeldItemChange packetIn)
handleHeldItemChange
in interface INetHandlerPlayClient
public void handleEntityMovement(SPacketEntity packetIn)
handleEntityMovement
in interface INetHandlerPlayClient
public void handleEntityHeadLook(SPacketEntityHeadLook packetIn)
handleEntityHeadLook
in interface INetHandlerPlayClient
public void handleDestroyEntities(SPacketDestroyEntities packetIn)
handleDestroyEntities
in interface INetHandlerPlayClient
public void handlePlayerPosLook(SPacketPlayerPosLook packetIn)
handlePlayerPosLook
in interface INetHandlerPlayClient
public void handleMultiBlockChange(SPacketMultiBlockChange packetIn)
handleMultiBlockChange
in interface INetHandlerPlayClient
public void handleChunkData(SPacketChunkData packetIn)
handleChunkData
in interface INetHandlerPlayClient
public void processChunkUnload(SPacketUnloadChunk packetIn)
processChunkUnload
in interface INetHandlerPlayClient
public void handleBlockChange(SPacketBlockChange packetIn)
handleBlockChange
in interface INetHandlerPlayClient
public void handleDisconnect(SPacketDisconnect packetIn)
handleDisconnect
in interface INetHandlerPlayClient
public void onDisconnect(ITextComponent reason)
onDisconnect
in interface INetHandler
public void sendPacket(Packet<?> packetIn)
public void handleCollectItem(SPacketCollectItem packetIn)
handleCollectItem
in interface INetHandlerPlayClient
public void handleChat(SPacketChat packetIn)
handleChat
in interface INetHandlerPlayClient
public void handleAnimation(SPacketAnimation packetIn)
handleAnimation
in interface INetHandlerPlayClient
public void handleUseBed(SPacketUseBed packetIn)
handleUseBed
in interface INetHandlerPlayClient
public void handleSpawnMob(SPacketSpawnMob packetIn)
handleSpawnMob
in interface INetHandlerPlayClient
public void handleTimeUpdate(SPacketTimeUpdate packetIn)
handleTimeUpdate
in interface INetHandlerPlayClient
public void handleSpawnPosition(SPacketSpawnPosition packetIn)
handleSpawnPosition
in interface INetHandlerPlayClient
public void handleSetPassengers(SPacketSetPassengers packetIn)
handleSetPassengers
in interface INetHandlerPlayClient
public void handleEntityAttach(SPacketEntityAttach packetIn)
handleEntityAttach
in interface INetHandlerPlayClient
public void handleEntityStatus(SPacketEntityStatus packetIn)
handleEntityStatus
in interface INetHandlerPlayClient
public void handleUpdateHealth(SPacketUpdateHealth packetIn)
handleUpdateHealth
in interface INetHandlerPlayClient
public void handleSetExperience(SPacketSetExperience packetIn)
handleSetExperience
in interface INetHandlerPlayClient
public void handleRespawn(SPacketRespawn packetIn)
handleRespawn
in interface INetHandlerPlayClient
public void handleExplosion(SPacketExplosion packetIn)
handleExplosion
in interface INetHandlerPlayClient
public void handleOpenWindow(SPacketOpenWindow packetIn)
handleOpenWindow
in interface INetHandlerPlayClient
public void handleSetSlot(SPacketSetSlot packetIn)
handleSetSlot
in interface INetHandlerPlayClient
public void handleConfirmTransaction(SPacketConfirmTransaction packetIn)
handleConfirmTransaction
in interface INetHandlerPlayClient
public void handleWindowItems(SPacketWindowItems packetIn)
handleWindowItems
in interface INetHandlerPlayClient
public void handleSignEditorOpen(SPacketSignEditorOpen packetIn)
handleSignEditorOpen
in interface INetHandlerPlayClient
public void handleUpdateTileEntity(SPacketUpdateTileEntity packetIn)
handleUpdateTileEntity
in interface INetHandlerPlayClient
public void handleWindowProperty(SPacketWindowProperty packetIn)
handleWindowProperty
in interface INetHandlerPlayClient
public void handleEntityEquipment(SPacketEntityEquipment packetIn)
handleEntityEquipment
in interface INetHandlerPlayClient
public void handleCloseWindow(SPacketCloseWindow packetIn)
handleCloseWindow
in interface INetHandlerPlayClient
public void handleBlockAction(SPacketBlockAction packetIn)
handleBlockAction
in interface INetHandlerPlayClient
public void handleBlockBreakAnim(SPacketBlockBreakAnim packetIn)
handleBlockBreakAnim
in interface INetHandlerPlayClient
public void handleChangeGameState(SPacketChangeGameState packetIn)
handleChangeGameState
in interface INetHandlerPlayClient
public void handleMaps(SPacketMaps packetIn)
handleMaps
in interface INetHandlerPlayClient
public void handleEffect(SPacketEffect packetIn)
handleEffect
in interface INetHandlerPlayClient
public void handleAdvancementInfo(SPacketAdvancementInfo packetIn)
handleAdvancementInfo
in interface INetHandlerPlayClient
public void handleSelectAdvancementsTab(SPacketSelectAdvancementsTab packetIn)
handleSelectAdvancementsTab
in interface INetHandlerPlayClient
public void handleStatistics(SPacketStatistics packetIn)
handleStatistics
in interface INetHandlerPlayClient
public void handleRecipeBook(SPacketRecipeBook packetIn)
handleRecipeBook
in interface INetHandlerPlayClient
public void handleEntityEffect(SPacketEntityEffect packetIn)
handleEntityEffect
in interface INetHandlerPlayClient
public void handleCombatEvent(SPacketCombatEvent packetIn)
handleCombatEvent
in interface INetHandlerPlayClient
public void handleServerDifficulty(SPacketServerDifficulty packetIn)
handleServerDifficulty
in interface INetHandlerPlayClient
public void handleCamera(SPacketCamera packetIn)
handleCamera
in interface INetHandlerPlayClient
public void handleWorldBorder(SPacketWorldBorder packetIn)
handleWorldBorder
in interface INetHandlerPlayClient
public void handleTitle(SPacketTitle packetIn)
handleTitle
in interface INetHandlerPlayClient
public void handlePlayerListHeaderFooter(SPacketPlayerListHeaderFooter packetIn)
handlePlayerListHeaderFooter
in interface INetHandlerPlayClient
public void handleRemoveEntityEffect(SPacketRemoveEntityEffect packetIn)
handleRemoveEntityEffect
in interface INetHandlerPlayClient
public void handlePlayerListItem(SPacketPlayerListItem packetIn)
handlePlayerListItem
in interface INetHandlerPlayClient
public void handleKeepAlive(SPacketKeepAlive packetIn)
handleKeepAlive
in interface INetHandlerPlayClient
public void handlePlayerAbilities(SPacketPlayerAbilities packetIn)
handlePlayerAbilities
in interface INetHandlerPlayClient
public void handleTabComplete(SPacketTabComplete packetIn)
handleTabComplete
in interface INetHandlerPlayClient
public void handleSoundEffect(SPacketSoundEffect packetIn)
handleSoundEffect
in interface INetHandlerPlayClient
public void handleCustomSound(SPacketCustomSound packetIn)
handleCustomSound
in interface INetHandlerPlayClient
public void handleResourcePack(SPacketResourcePackSend packetIn)
handleResourcePack
in interface INetHandlerPlayClient
public void handleUpdateBossInfo(SPacketUpdateBossInfo packetIn)
handleUpdateBossInfo
in interface INetHandlerPlayClient
public void handleCooldown(SPacketCooldown packetIn)
handleCooldown
in interface INetHandlerPlayClient
public void handleMoveVehicle(SPacketMoveVehicle packetIn)
handleMoveVehicle
in interface INetHandlerPlayClient
public void handleCustomPayload(SPacketCustomPayload packetIn)
handleCustomPayload
in interface INetHandlerPlayClient
public void handleScoreboardObjective(SPacketScoreboardObjective packetIn)
handleScoreboardObjective
in interface INetHandlerPlayClient
public void handleUpdateScore(SPacketUpdateScore packetIn)
handleUpdateScore
in interface INetHandlerPlayClient
public void handleDisplayObjective(SPacketDisplayObjective packetIn)
handleDisplayObjective
in interface INetHandlerPlayClient
public void handleTeams(SPacketTeams packetIn)
handleTeams
in interface INetHandlerPlayClient
public void handleParticles(SPacketParticles packetIn)
handleParticles
in interface INetHandlerPlayClient
public void handleEntityProperties(SPacketEntityProperties packetIn)
handleEntityProperties
in interface INetHandlerPlayClient
public void func_194307_a(SPacketPlaceGhostRecipe p_194307_1_)
func_194307_a
in interface INetHandlerPlayClient
public NetworkManager getNetworkManager()
public java.util.Collection<NetworkPlayerInfo> getPlayerInfoMap()
public NetworkPlayerInfo getPlayerInfo(java.util.UUID uniqueId)
@Nullable public NetworkPlayerInfo getPlayerInfo(java.lang.String name)
public com.mojang.authlib.GameProfile getGameProfile()
public ClientAdvancementManager getAdvancementManager()