public interface IClientPlayNetHandler extends INetHandler
修飾子とタイプ | メソッドと説明 |
---|---|
void |
func_217266_a(SSpawnMovingSoundEffectPacket p_217266_1_) |
void |
func_225312_a(SPlayerDiggingPacket p_225312_1_) |
void |
handleAdvancementInfo(SAdvancementInfoPacket packetIn) |
void |
handleAnimation(SAnimateHandPacket packetIn)
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(SBlockActionPacket packetIn)
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(SAnimateBlockBreakPacket packetIn)
Updates all registered IWorldAccess instances with destroyBlockInWorldPartially
|
void |
handleBlockChange(SChangeBlockPacket packetIn)
Updates the block and metadata and generates a blockupdate (and notify the clients)
|
void |
handleCamera(SCameraPacket packetIn) |
void |
handleChangeGameState(SChangeGameStatePacket packetIn) |
void |
handleChat(SChatPacket packetIn)
Prints a chatmessage in the chat GUI
|
void |
handleChunkData(SChunkDataPacket packetIn)
Updates the specified chunk with the supplied data, marks it for re-rendering and lighting recalculation
|
void |
handleChunkPositionPacket(SUpdateChunkPositionPacket packetIn) |
void |
handleCloseWindow(SCloseWindowPacket packetIn)
Resets the ItemStack held in hand and closes the window that is opened
|
void |
handleCollectItem(SCollectItemPacket packetIn) |
void |
handleCombatEvent(SCombatPacket packetIn) |
void |
handleCommandList(SCommandListPacket packetIn) |
void |
handleConfirmTransaction(SConfirmTransactionPacket packetIn)
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 |
handleCooldown(SCooldownPacket packetIn) |
void |
handleCustomPayload(SCustomPayloadPlayPacket packetIn)
Handles packets that have room for a channel specification.
|
void |
handleCustomSound(SPlaySoundPacket packetIn) |
void |
handleDestroyEntities(SDestroyEntitiesPacket packetIn)
Locally eliminates the entities.
|
void |
handleDisconnect(SDisconnectPacket packetIn)
Closes the network channel
|
void |
handleDisplayObjective(SDisplayObjectivePacket packetIn)
Removes or sets the ScoreObjective to be displayed at a particular scoreboard position (list, sidebar, below name)
|
void |
handleEffect(SPlaySoundEventPacket packetIn) |
void |
handleEntityAttach(SMountEntityPacket packetIn) |
void |
handleEntityEffect(SPlayEntityEffectPacket packetIn) |
void |
handleEntityEquipment(SEntityEquipmentPacket packetIn) |
void |
handleEntityHeadLook(SEntityHeadLookPacket packetIn)
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(SEntityMetadataPacket packetIn)
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(SEntityPacket packetIn)
Updates the specified entity's position by the specified relative moment and absolute rotation.
|
void |
handleEntityProperties(SEntityPropertiesPacket packetIn)
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(SEntityStatusPacket packetIn)
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(SEntityTeleportPacket packetIn)
Updates an entity's position and rotation as specified by the packet
|
void |
handleEntityVelocity(SEntityVelocityPacket packetIn)
Sets the velocity of the specified entity to the specified value
|
void |
handleExplosion(SExplosionPacket packetIn)
Initiates a new explosion (sound, particles, drop spawn) for the affected blocks indicated by the packet.
|
void |
handleHeldItemChange(SHeldItemChangePacket packetIn)
Updates which hotbar slot of the player is currently selected
|
void |
handleJoinGame(SJoinGamePacket packetIn)
Registers some server properties (gametype,hardcore-mode,terraintype,difficulty,player limit), creates a new
WorldClient and sets the player initial dimension
|
void |
handleKeepAlive(SKeepAlivePacket packetIn) |
void |
handleMaps(SMapDataPacket packetIn)
Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a
MapItemRenderer for it
|
void |
handleMerchantOffers(SMerchantOffersPacket packetIn) |
void |
handleMoveVehicle(SMoveVehiclePacket packetIn) |
void |
handleMultiBlockChange(SMultiBlockChangePacket packetIn)
Received from the servers PlayerManager if between 1 and 64 blocks in a chunk are changed.
|
void |
handleNBTQueryResponse(SQueryNBTResponsePacket packetIn) |
void |
handleOpenBookPacket(SOpenBookWindowPacket packetIn) |
void |
handleOpenHorseWindow(SOpenHorseWindowPacket p_217271_1_) |
void |
handleOpenWindowPacket(SOpenWindowPacket packetIn) |
void |
handleParticles(SSpawnParticlePacket packetIn)
Spawns a specified number of particles at the specified location with a randomized displacement according to
specified bounds
|
void |
handlePlaceGhostRecipe(SPlaceGhostRecipePacket packetIn) |
void |
handlePlayerAbilities(SPlayerAbilitiesPacket packetIn) |
void |
handlePlayerListHeaderFooter(SPlayerListHeaderFooterPacket packetIn) |
void |
handlePlayerListItem(SPlayerListItemPacket packetIn) |
void |
handlePlayerLook(SPlayerLookPacket packetIn) |
void |
handlePlayerPosLook(SPlayerPositionLookPacket packetIn) |
void |
handleRecipeBook(SRecipeBookPacket packetIn) |
void |
handleRemoveEntityEffect(SRemoveEntityEffectPacket packetIn) |
void |
handleResourcePack(SSendResourcePackPacket packetIn) |
void |
handleRespawn(SRespawnPacket packetIn) |
void |
handleScoreboardObjective(SScoreboardObjectivePacket packetIn)
May create a scoreboard objective, remove an objective from the scoreboard or update an objectives' displayname
|
void |
handleSelectAdvancementsTab(SSelectAdvancementsTabPacket packetIn) |
void |
handleServerDifficulty(SServerDifficultyPacket packetIn) |
void |
handleSetExperience(SSetExperiencePacket packetIn) |
void |
handleSetPassengers(SSetPassengersPacket packetIn) |
void |
handleSetSlot(SSetSlotPacket packetIn)
Handles pickin up an ItemStack or dropping one in your inventory or an open (non-creative) container
|
void |
handleSignEditorOpen(SOpenSignMenuPacket packetIn)
Creates a sign in the specified location if it didn't exist and opens the GUI to edit its text
|
void |
handleSoundEffect(SPlaySoundEffectPacket packetIn) |
void |
handleSpawnExperienceOrb(SSpawnExperienceOrbPacket packetIn)
Spawns an experience orb and sets its value (amount of XP)
|
void |
handleSpawnGlobalEntity(SSpawnGlobalEntityPacket packetIn)
Handles globally visible entities.
|
void |
handleSpawnMob(SSpawnMobPacket packetIn)
Spawns the mob entity at the specified location, with the specified rotation, momentum and type.
|
void |
handleSpawnObject(SSpawnObjectPacket packetIn)
Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
|
void |
handleSpawnPainting(SSpawnPaintingPacket packetIn)
Handles the spawning of a painting object
|
void |
handleSpawnPlayer(SSpawnPlayerPacket packetIn)
Handles the creation of a nearby player entity, sets the position and held item
|
void |
handleSpawnPosition(SSpawnPositionPacket packetIn) |
void |
handleStatistics(SStatisticsPacket packetIn)
Updates the players statistics or achievements
|
void |
handleStopSound(SStopSoundPacket packetIn) |
void |
handleTabComplete(STabCompletePacket packetIn)
This method is only called for manual tab-completion (the
minecraft:ask_server suggestion provider). |
void |
handleTags(STagsListPacket packetIn) |
void |
handleTeams(STeamsPacket packetIn)
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(SUpdateTimePacket packetIn) |
void |
handleTitle(STitlePacket packetIn) |
void |
handleUpdateBossInfo(SUpdateBossInfoPacket packetIn) |
void |
handleUpdateHealth(SUpdateHealthPacket packetIn) |
void |
handleUpdateLight(SUpdateLightPacket packetIn) |
void |
handleUpdateRecipes(SUpdateRecipesPacket packetIn) |
void |
handleUpdateScore(SUpdateScorePacket packetIn)
Either updates the score with a specified value or removes the score for an objective
|
void |
handleUpdateTileEntity(SUpdateTileEntityPacket packetIn)
Updates the NBTTagCompound metadata of instances of the following entitytypes: Mob spawners, command blocks,
beacons, skulls, flowerpot
|
void |
handleUpdateViewDistancePacket(SUpdateViewDistancePacket packetIn) |
void |
handleWindowItems(SWindowItemsPacket packetIn)
Handles the placement of a specified ItemStack in a specified container/inventory slot
|
void |
handleWindowProperty(SWindowPropertyPacket packetIn)
Sets the progressbar of the opened window to the specified value
|
void |
handleWorldBorder(SWorldBorderPacket packetIn) |
void |
processChunkUnload(SUnloadChunkPacket packetIn) |
getNetworkManager, onDisconnect
void handleSpawnObject(SSpawnObjectPacket packetIn)
void handleSpawnExperienceOrb(SSpawnExperienceOrbPacket packetIn)
void handleSpawnGlobalEntity(SSpawnGlobalEntityPacket packetIn)
void handleSpawnMob(SSpawnMobPacket packetIn)
void handleScoreboardObjective(SScoreboardObjectivePacket packetIn)
void handleSpawnPainting(SSpawnPaintingPacket packetIn)
void handleSpawnPlayer(SSpawnPlayerPacket packetIn)
void handleAnimation(SAnimateHandPacket packetIn)
void handleStatistics(SStatisticsPacket packetIn)
void handleRecipeBook(SRecipeBookPacket packetIn)
void handleBlockBreakAnim(SAnimateBlockBreakPacket packetIn)
void handleSignEditorOpen(SOpenSignMenuPacket packetIn)
void handleUpdateTileEntity(SUpdateTileEntityPacket packetIn)
void handleBlockAction(SBlockActionPacket packetIn)
void handleBlockChange(SChangeBlockPacket packetIn)
void handleChat(SChatPacket packetIn)
void handleMultiBlockChange(SMultiBlockChangePacket packetIn)
void handleMaps(SMapDataPacket packetIn)
void handleConfirmTransaction(SConfirmTransactionPacket packetIn)
void handleCloseWindow(SCloseWindowPacket packetIn)
void handleWindowItems(SWindowItemsPacket packetIn)
void handleOpenHorseWindow(SOpenHorseWindowPacket p_217271_1_)
void handleWindowProperty(SWindowPropertyPacket packetIn)
void handleSetSlot(SSetSlotPacket packetIn)
void handleCustomPayload(SCustomPayloadPlayPacket packetIn)
void handleDisconnect(SDisconnectPacket packetIn)
void handleEntityStatus(SEntityStatusPacket packetIn)
void handleEntityAttach(SMountEntityPacket packetIn)
void handleSetPassengers(SSetPassengersPacket packetIn)
void handleExplosion(SExplosionPacket packetIn)
void handleChangeGameState(SChangeGameStatePacket packetIn)
void handleKeepAlive(SKeepAlivePacket packetIn)
void handleChunkData(SChunkDataPacket packetIn)
void processChunkUnload(SUnloadChunkPacket packetIn)
void handleEffect(SPlaySoundEventPacket packetIn)
void handleJoinGame(SJoinGamePacket packetIn)
void handleEntityMovement(SEntityPacket packetIn)
void handlePlayerPosLook(SPlayerPositionLookPacket packetIn)
void handleParticles(SSpawnParticlePacket packetIn)
void handlePlayerAbilities(SPlayerAbilitiesPacket packetIn)
void handlePlayerListItem(SPlayerListItemPacket packetIn)
void handleDestroyEntities(SDestroyEntitiesPacket packetIn)
void handleRemoveEntityEffect(SRemoveEntityEffectPacket packetIn)
void handleRespawn(SRespawnPacket packetIn)
void handleEntityHeadLook(SEntityHeadLookPacket packetIn)
void handleHeldItemChange(SHeldItemChangePacket packetIn)
void handleDisplayObjective(SDisplayObjectivePacket packetIn)
void handleEntityMetadata(SEntityMetadataPacket packetIn)
void handleEntityVelocity(SEntityVelocityPacket packetIn)
void handleEntityEquipment(SEntityEquipmentPacket packetIn)
void handleSetExperience(SSetExperiencePacket packetIn)
void handleUpdateHealth(SUpdateHealthPacket packetIn)
void handleTeams(STeamsPacket packetIn)
void handleUpdateScore(SUpdateScorePacket packetIn)
void handleSpawnPosition(SSpawnPositionPacket packetIn)
void handleTimeUpdate(SUpdateTimePacket packetIn)
void handleSoundEffect(SPlaySoundEffectPacket packetIn)
void func_217266_a(SSpawnMovingSoundEffectPacket p_217266_1_)
void handleCustomSound(SPlaySoundPacket packetIn)
void handleCollectItem(SCollectItemPacket packetIn)
void handleEntityTeleport(SEntityTeleportPacket packetIn)
void handleEntityProperties(SEntityPropertiesPacket packetIn)
void handleEntityEffect(SPlayEntityEffectPacket packetIn)
void handleTags(STagsListPacket packetIn)
void handleCombatEvent(SCombatPacket packetIn)
void handleServerDifficulty(SServerDifficultyPacket packetIn)
void handleCamera(SCameraPacket packetIn)
void handleWorldBorder(SWorldBorderPacket packetIn)
void handleTitle(STitlePacket packetIn)
void handlePlayerListHeaderFooter(SPlayerListHeaderFooterPacket packetIn)
void handleResourcePack(SSendResourcePackPacket packetIn)
void handleUpdateBossInfo(SUpdateBossInfoPacket packetIn)
void handleCooldown(SCooldownPacket packetIn)
void handleMoveVehicle(SMoveVehiclePacket packetIn)
void handleAdvancementInfo(SAdvancementInfoPacket packetIn)
void handleSelectAdvancementsTab(SSelectAdvancementsTabPacket packetIn)
void handlePlaceGhostRecipe(SPlaceGhostRecipePacket packetIn)
void handleCommandList(SCommandListPacket packetIn)
void handleStopSound(SStopSoundPacket packetIn)
void handleTabComplete(STabCompletePacket packetIn)
minecraft:ask_server
suggestion provider).void handleUpdateRecipes(SUpdateRecipesPacket packetIn)
void handlePlayerLook(SPlayerLookPacket packetIn)
void handleNBTQueryResponse(SQueryNBTResponsePacket packetIn)
void handleUpdateLight(SUpdateLightPacket packetIn)
void handleOpenBookPacket(SOpenBookWindowPacket packetIn)
void handleOpenWindowPacket(SOpenWindowPacket packetIn)
void handleMerchantOffers(SMerchantOffersPacket packetIn)
void handleUpdateViewDistancePacket(SUpdateViewDistancePacket packetIn)
void handleChunkPositionPacket(SUpdateChunkPositionPacket packetIn)
void func_225312_a(SPlayerDiggingPacket p_225312_1_)