public interface INetHandlerPlayClient extends INetHandler
Modifier and Type | Method and Description |
---|---|
void |
handleAnimation(S0BPacketAnimation var1)
Renders a specified animation: Waking up a player, a living entity swinging its currently held item, being hurt
or receiving a critical hit by normal or magical means
|
void |
handleBlockAction(S24PacketBlockAction var1)
Triggers Block.onBlockEventReceived, which is implemented in BlockPistonBase for extension/retraction, BlockNote
for setting the instrument (including audiovisual feedback) and in BlockContainer to set the number of players
accessing a (Ender)Chest
|
void |
handleBlockBreakAnim(S25PacketBlockBreakAnim var1)
Updates all registered IWorldAccess instances with destroyBlockInWorldPartially
|
void |
handleBlockChange(S23PacketBlockChange var1)
Updates the block and metadata and generates a blockupdate (and notify the clients)
|
void |
handleChangeGameState(S2BPacketChangeGameState var1) |
void |
handleChat(S02PacketChat var1)
Prints a chatmessage in the chat GUI
|
void |
handleChunkData(S21PacketChunkData var1)
Updates the specified chunk with the supplied data, marks it for re-rendering and lighting recalculation
|
void |
handleCloseWindow(S2EPacketCloseWindow var1)
Resets the ItemStack held in hand and closes the window that is opened
|
void |
handleCollectItem(S0DPacketCollectItem var1) |
void |
handleConfirmTransaction(S32PacketConfirmTransaction var1)
Verifies that the server and client are synchronized with respect to the inventory/container opened by the player
and confirms if it is the case.
|
void |
handleCustomPayload(S3FPacketCustomPayload var1)
Handles packets that have room for a channel specification.
|
void |
handleDestroyEntities(S13PacketDestroyEntities var1)
Locally eliminates the entities.
|
void |
handleDisconnect(S40PacketDisconnect var1)
Closes the network channel
|
void |
handleDisplayScoreboard(S3DPacketDisplayScoreboard var1)
Removes or sets the ScoreObjective to be displayed at a particular scoreboard position (list, sidebar, below
name)
|
void |
handleEffect(S28PacketEffect var1) |
void |
handleEntityAttach(S1BPacketEntityAttach var1) |
void |
handleEntityEffect(S1DPacketEntityEffect var1) |
void |
handleEntityEquipment(S04PacketEntityEquipment var1) |
void |
handleEntityHeadLook(S19PacketEntityHeadLook var1)
Updates the direction in which the specified entity is looking, normally this head rotation is independent of the
rotation of the entity itself
|
void |
handleEntityMetadata(S1CPacketEntityMetadata var1)
Invoked when the server registers new proximate objects in your watchlist or when objects in your watchlist have
changed -> Registers any changes locally
|
void |
handleEntityMovement(S14PacketEntity var1)
Updates the specified entity's position by the specified relative moment and absolute rotation.
|
void |
handleEntityProperties(S20PacketEntityProperties var1)
Updates en entity's attributes and their respective modifiers, which are used for speed bonusses (player
sprinting, animals fleeing, baby speed), weapon/tool attackDamage, hostiles followRange randomization, zombie
maxHealth and knockback resistance as well as reinforcement spawning chance.
|
void |
handleEntityStatus(S19PacketEntityStatus var1)
Invokes the entities' handleUpdateHealth method which is implemented in LivingBase (hurt/death),
MinecartMobSpawner (spawn delay), FireworkRocket & MinecartTNT (explosion), IronGolem (throwing,...), Witch
(spawn particles), Zombie (villager transformation), Animal (breeding mode particles), Horse (breeding/smoke
particles), Sheep (...), Tameable (...), Villager (particles for breeding mode, angry and happy), Wolf (...)
|
void |
handleEntityTeleport(S18PacketEntityTeleport var1)
Updates an entity's position and rotation as specified by the packet
|
void |
handleEntityVelocity(S12PacketEntityVelocity var1)
Sets the velocity of the specified entity to the specified value
|
void |
handleExplosion(S27PacketExplosion var1)
Initiates a new explosion (sound, particles, drop spawn) for the affected blocks indicated by the packet.
|
void |
handleHeldItemChange(S09PacketHeldItemChange var1)
Updates which hotbar slot of the player is currently selected
|
void |
handleJoinGame(S01PacketJoinGame var1)
Registers some server properties (gametype,hardcore-mode,terraintype,difficulty,player limit), creates a new
WorldClient and sets the player initial dimension
|
void |
handleKeepAlive(S00PacketKeepAlive var1) |
void |
handleMapChunkBulk(S26PacketMapChunkBulk var1) |
void |
handleMaps(S34PacketMaps var1)
Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
MapItemRenderer for it
|
void |
handleMultiBlockChange(S22PacketMultiBlockChange var1)
Received from the servers PlayerManager if between 1 and 64 blocks in a chunk are changed.
|
void |
handleOpenWindow(S2DPacketOpenWindow var1)
Displays a GUI by ID.
|
void |
handleParticles(S2APacketParticles var1)
Spawns a specified number of particles at the specified location with a randomized displacement according to
specified bounds
|
void |
handlePlayerAbilities(S39PacketPlayerAbilities var1) |
void |
handlePlayerListItem(S38PacketPlayerListItem var1) |
void |
handlePlayerPosLook(S08PacketPlayerPosLook var1)
Handles changes in player positioning and rotation such as when travelling to a new dimension, (re)spawning,
mounting horses etc.
|
void |
handleRemoveEntityEffect(S1EPacketRemoveEntityEffect var1)
Handle a remove entity effect packet.
|
void |
handleRespawn(S07PacketRespawn var1)
respawns the player
|
void |
handleScoreboardObjective(S3BPacketScoreboardObjective var1)
May create a scoreboard objective, remove an objective from the scoreboard or update an objectives' displayname
|
void |
handleSetExperience(S1FPacketSetExperience var1) |
void |
handleSetSlot(S2FPacketSetSlot var1)
Handles pickin up an ItemStack or dropping one in your inventory or an open (non-creative) container
|
void |
handleSignEditorOpen(S36PacketSignEditorOpen var1)
Creates a sign in the specified location if it didn't exist and opens the GUI to edit its text
|
void |
handleSoundEffect(S29PacketSoundEffect var1) |
void |
handleSpawnExperienceOrb(S11PacketSpawnExperienceOrb var1)
Spawns an experience orb and sets its value (amount of XP)
|
void |
handleSpawnGlobalEntity(S2CPacketSpawnGlobalEntity var1)
Handles globally visible entities.
|
void |
handleSpawnMob(S0FPacketSpawnMob var1)
Spawns the mob entity at the specified location, with the specified rotation, momentum and type.
|
void |
handleSpawnObject(S0EPacketSpawnObject var1)
Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
|
void |
handleSpawnPainting(S10PacketSpawnPainting var1)
Handles the spawning of a painting object
|
void |
handleSpawnPlayer(S0CPacketSpawnPlayer var1)
Handles the creation of a nearby player entity, sets the position and held item
|
void |
handleSpawnPosition(S05PacketSpawnPosition var1) |
void |
handleStatistics(S37PacketStatistics var1)
Updates the players statistics or achievements
|
void |
handleTabComplete(S3APacketTabComplete var1)
Displays the available command-completion options the server knows of
|
void |
handleTeams(S3EPacketTeams var1)
Updates a team managed by the scoreboard: Create/Remove the team registration, Register/Remove the player-team-
memberships, Set team displayname/prefix/suffix and/or whether friendly fire is enabled
|
void |
handleTimeUpdate(S03PacketTimeUpdate var1) |
void |
handleUpdateHealth(S06PacketUpdateHealth var1)
Recieves player health from the server and then proceeds to set it locally on the client.
|
void |
handleUpdateScore(S3CPacketUpdateScore var1)
Either updates the score with a specified value or removes the score for an objective
|
void |
handleUpdateSign(S33PacketUpdateSign var1)
Updates a specified sign with the specified text lines
|
void |
handleUpdateTileEntity(S35PacketUpdateTileEntity var1)
Updates the NBTTagCompound metadata of instances of the following entitytypes: Mob spawners, command blocks,
beacons, skulls, flowerpot
|
void |
handleUseBed(S0APacketUseBed var1)
Retrieves the player identified by the packet, puts him to sleep if possible (and flags whether all players are
asleep)
|
void |
handleWindowItems(S30PacketWindowItems var1)
Handles the placement of a specified ItemStack in a specified container/inventory slot
|
void |
handleWindowProperty(S31PacketWindowProperty var1)
Sets the progressbar of the opened window to the specified value
|
onConnectionStateTransition, onDisconnect, onNetworkTick
void handleSpawnObject(S0EPacketSpawnObject var1)
void handleSpawnExperienceOrb(S11PacketSpawnExperienceOrb var1)
void handleSpawnGlobalEntity(S2CPacketSpawnGlobalEntity var1)
void handleSpawnMob(S0FPacketSpawnMob var1)
void handleScoreboardObjective(S3BPacketScoreboardObjective var1)
void handleSpawnPainting(S10PacketSpawnPainting var1)
void handleSpawnPlayer(S0CPacketSpawnPlayer var1)
void handleAnimation(S0BPacketAnimation var1)
void handleStatistics(S37PacketStatistics var1)
void handleBlockBreakAnim(S25PacketBlockBreakAnim var1)
void handleSignEditorOpen(S36PacketSignEditorOpen var1)
void handleUpdateTileEntity(S35PacketUpdateTileEntity var1)
void handleBlockAction(S24PacketBlockAction var1)
void handleBlockChange(S23PacketBlockChange var1)
void handleChat(S02PacketChat var1)
void handleTabComplete(S3APacketTabComplete var1)
void handleMultiBlockChange(S22PacketMultiBlockChange var1)
void handleMaps(S34PacketMaps var1)
void handleConfirmTransaction(S32PacketConfirmTransaction var1)
void handleCloseWindow(S2EPacketCloseWindow var1)
void handleWindowItems(S30PacketWindowItems var1)
void handleOpenWindow(S2DPacketOpenWindow var1)
void handleWindowProperty(S31PacketWindowProperty var1)
void handleSetSlot(S2FPacketSetSlot var1)
void handleCustomPayload(S3FPacketCustomPayload var1)
void handleDisconnect(S40PacketDisconnect var1)
void handleUseBed(S0APacketUseBed var1)
void handleEntityStatus(S19PacketEntityStatus var1)
void handleEntityAttach(S1BPacketEntityAttach var1)
void handleExplosion(S27PacketExplosion var1)
void handleChangeGameState(S2BPacketChangeGameState var1)
void handleKeepAlive(S00PacketKeepAlive var1)
void handleChunkData(S21PacketChunkData var1)
void handleMapChunkBulk(S26PacketMapChunkBulk var1)
void handleEffect(S28PacketEffect var1)
void handleJoinGame(S01PacketJoinGame var1)
void handleEntityMovement(S14PacketEntity var1)
void handlePlayerPosLook(S08PacketPlayerPosLook var1)
void handleParticles(S2APacketParticles var1)
void handlePlayerAbilities(S39PacketPlayerAbilities var1)
void handlePlayerListItem(S38PacketPlayerListItem var1)
void handleDestroyEntities(S13PacketDestroyEntities var1)
void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect var1)
void handleRespawn(S07PacketRespawn var1)
void handleEntityHeadLook(S19PacketEntityHeadLook var1)
void handleHeldItemChange(S09PacketHeldItemChange var1)
void handleDisplayScoreboard(S3DPacketDisplayScoreboard var1)
void handleEntityMetadata(S1CPacketEntityMetadata var1)
void handleEntityVelocity(S12PacketEntityVelocity var1)
void handleEntityEquipment(S04PacketEntityEquipment var1)
void handleSetExperience(S1FPacketSetExperience var1)
void handleUpdateHealth(S06PacketUpdateHealth var1)
void handleTeams(S3EPacketTeams var1)
void handleUpdateScore(S3CPacketUpdateScore var1)
void handleSpawnPosition(S05PacketSpawnPosition var1)
void handleTimeUpdate(S03PacketTimeUpdate var1)
void handleUpdateSign(S33PacketUpdateSign var1)
void handleSoundEffect(S29PacketSoundEffect var1)
void handleCollectItem(S0DPacketCollectItem var1)
void handleEntityTeleport(S18PacketEntityTeleport var1)
void handleEntityProperties(S20PacketEntityProperties var1)
void handleEntityEffect(S1DPacketEntityEffect var1)