package
0.0.0-20190722084834-458e29049328
Repository: https://github.com/shadowjonathan/mopher.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
# Variables
No description provided by the author
# Structs
Used by AdvancementMappingItem.
Used by Advancement.
Used by Advancements.
Used by ProgressMappingItem.
Used by Advancement.
This is a Minecraft packet.
This is a Minecraft packet.
Animation is sent by the server to play an animation on a specific entity.
ArmSwing is sent by the client when the player left clicks (to swing their arm).
BlockAction triggers different actions depending on the target block.
BlockBreakAnimation is used to create and update the block breaking animation played when a player starts digging a block.
BlockChange is used to update a single block on the client.
BlockChangeRecord is a location/id record of a block to be updated.
No description provided by the author
BossBar displays and/or changes a boss bar that is displayed on the top of the client's screen.
Camera causes the client to spectate the entity with the passed id.
ChangeGameState is used to modify the game's state like gamemode or weather.
ChatMessage is sent by the client when it sends a chat message or executes a command (prefixed by '/').
ChunkData sends or updates a single chunk on the client.
ChunkUnload tells the client to unload the chunk at the specified position.
ClickWindow is sent when the client clicks in a window.
ClientAbilities is used to modify the players current abilities.
ClientSettings is sent by the client to update its current settings.
ClientStatus is sent to update the client's status
This is a Minecraft packet.
CloseWindow is sent when the client closes a window.
CollectItem causes the collected item to fly towards the collector.
CombatEvent is used for..
ConfirmTransaction notifies the client whether a transaction was successful or failed (e.g.
ConfirmTransactionServerbound is a reply to ConfirmTransaction.
This is a Minecraft packet.
This is a Minecraft packet.
This is a Minecraft packet.
CreativeInventoryAction is sent when the client clicks in the creative inventory.
Used by ProgressCriteria.
Disconnect causes the client to disconnect displaying the passed reason.
Effect plays a sound effect or particle at the target location with the volume (of sounds) being relative to the player's position unless DisableRelative is set to true.
EnchantItem is sent when the client enchants an item.
EncryptionRequest is sent by the server if the server is in online mode.
EncryptionResponse is sent as a reply to EncryptionRequest.
Entity does nothing.
EntityAction causes an entity to preform an action based on the passed id.
EntityAttach attaches to entities together, either by mounting or leashing.
EntityDestroy destroys the entities with the ids in the provided slice.
EntityEffect applies a status effect to an entity for a given duration.
EntityEquipment is sent to display an item on an entity, like a sword or armor.
EntityHeadLook rotates an entity's head to the new angle.
EntityLook rotates the entity to the new angles provided.
EntityLookAndMove is a combination of EntityMove and EntityLook.
EntityMetadata updates the metadata for an entity.
EntityMove moves the entity with the id by the offsets provided.
EntityProperties updates the properties for an entity.
EntityProperty is a key/value pair with optional modifiers.
EntityRemoveEffect removes an effect from an entity.
EntityTeleport teleports the entity to the target location.
EntityUsedBed is sent by the server when a player goes to bed.
EntityVelocity sets the velocity of an entity in 1/8000 of a block per a tick.
Explosion is sent when an explosion is triggered (tnt, creeper etc).
ExplosionRecord is used by explosion to mark an affected block.
Handshake is the first packet sent in the protocol.
Sound effect
This is a Minecraft packet.
HeldItemChange is sent when the player changes the currently active hotbar slot.
JoinGame is sent after completing the login process.
KeepAliveClientbound is sent by a server to check if the client is still responding and keep the connection open.
KeepAliveServerbound is sent by a client as a response to a KeepAliveClientbound.
LoginDisconnect is sent by the server if there was any issues authenticating the player during login or the general server issues (e.g.
LoginStart is sent immeditately after switching into the login state.
LoginSuccess is sent by the server if the player successfully authenicates with the session servers (online mode) or straight after LoginStart (offline mode).
MapIcon is used by Maps.
Maps updates a single map's contents
This is a Minecraft packet.
MultiBlockChange is used to update a batch of blocks in a single packet.
Particle spawns particles at the target location with the various modifiers.
Passengers
This is a Minecraft packet.
Player is used to update whether the player is on the ground or not.
PlayerAbilities is used to modify the players current abilities.
PlayerAction is sent when a player preforms various actions.
PlayerBlockPlacement is sent when the client tries to place a block.
PlayerDetail is used by PlayerInfo.
PlayerDigging is sent when the client starts/stops digging a block.
PlayerInfo is sent by the server for every player connected to the server to provide skin and username information as well as ping and gamemode info.
PlayerListHeaderFooter updates the header/footer of the player list.
PlayerLook is used to update the player's rotation.
PlayerPosition is used to update the player's position.
PlayerPositionLook is a combination of PlayerPosition and PlayerLook.
PlayerProperty is used by PlayerDetail.
PluginMessageClientbound is used for custom messages between the client and server.
PluginMessageServerbound is used for custom messages between the client and server.
Used by AdvancementProgress.
Used by Advancements.
PropertyModifier is a modifier on a property.
ResourcePackSend causes the client to check its cache for the requested resource packet and download it if its missing.
ResourcePackStatus informs the server of the client's current progress in activating the requested resource pack
This is a Minecraft packet.
Respawn is sent to respawn the player after death or when they move worlds.
ScoreboardDisplay is used to set the display position of a scoreboard.
ScoreboardObjective creates/updates a scoreboard objective.
This is a Minecraft packet.
ServerDifficulty changes the displayed difficulty in the client's menu as well as some ui changes for hardcore.
ServerMessage is a message sent by the server.
SetCooldown disables a set item (by id) for the set number of ticks
This is a Minecraft packet.
SetCurrentHotbarSlot changes the player's currently selected hotbar item.
SetExperience updates the experience bar on the client.
SetInitialCompression sets the compression threshold during the login state.
SetSign sets the text on a sign after placing it.
SignEditorOpen causes the client to open the editor for a sign so that it can write to it.
SoundEffect plays the named sound at the target location.
SpawnExperienceOrb spawns a single experience orb into the world when it is in range of the client.
SpawnGlobalEntity spawns an entity which is visible from anywhere in the world.
SpawnMob is used to spawn a living entity into the world when it is in range of the client.
SpawnObject is used to spawn an object or vehicle into the world when it is in range of the client.
SpawnPainting spawns a painting into the world when it is in range of the client.
SpawnPlayer is used to spawn a player when they are in range of the client.
SpawnPosition is sent to change the player's current spawn point.
SpectateTeleport is sent by clients in spectator mode to teleport to a player.
Statistic is used by Statistics.
Statistics is used to update the statistics screen for the client.
StatusPing is sent by the client after recieving a StatusResponse.
StatusPong is sent as a reply to a StatusPing.
StatusRequest is sent by the client instantly after switching to the Status protocol state and is used to signal the server to send a StatusResponse to the client
This is a Minecraft packet.
StatusResponse is sent as a reply to a StatusRequest.
Steer boat
This is a Minecraft packet.
SteerVehicle is sent by the client when steers or preforms an action on a vehicle.
TabComplete is sent by the client when the client presses tab in the chat box.
TabCompleteReply is sent as a reply to a tab completion request.
Teams creates and updates teams
This is a Minecraft packet.
TeleConfirm
This is a Minecraft packet.
TeleportPlayer is sent to change the player's position.
No description provided by the author
TimeUpdate is sent to sync the world's time to the client, the client will manually tick the time itself so this doesn't need to sent repeatedly but if the server or client has issues keeping up this can fall out of sync so it is a good idea to sent this now and again
This is a Minecraft packet.
Title configures an on-screen title.
EntityDestroy destroys the entities with the ids in the provided slice.
UpdateBlockEntity updates the nbt tag of a block entity in the world.
UpdateHealth is sent by the server to update the player's health and food.
UpdateScore is used to update or remove an item from a scoreboard objective.
UseEntity is sent when the user interacts (right clicks) or attacks (left clicks) an entity.
UseItem is sent when the client tries to use an item.
Vehicle Move
This is a Minecraft packet.
Entity does nothing.
WindowClose forces the client to close the window with the given id, e.g.
WindowItems sets every item in a window.
WindowOpen tells the client to open the inventory window of the given type.
WindowProperty changes the value of a property of a window.
WindowSetSlot changes an itemstack in one of the slots in a window.
WorldBorder configures the world's border.