Versions in this module Expand all Collapse all v0 v0.1.2 Jul 21, 2024 v0.1.1 Jul 21, 2024 v0.1.0 Jul 21, 2024 Changes in this version + func GetLevel(xp int) int32 + func GetXP(level int32) int32 + type PacketPlayOutEntityHeadRotation struct + EntityID int32 + Position byte + func (p *PacketPlayOutEntityHeadRotation) Push(writer network.Buffer) + func (p *PacketPlayOutEntityHeadRotation) UUID() int32 + type PacketPlayOutExperience struct + Level int32 + Xp int32 + func (p *PacketPlayOutExperience) Push(writer network.Buffer) + func (p *PacketPlayOutExperience) UUID() int32 type PacketPlayOutPosition + Float data.FloatPosition + type PacketPlayOutRelEntityMove struct + DeltaX byte + DeltaY byte + DeltaZ byte + EntityID int32 + OnGround bool + func (p *PacketPlayOutRelEntityMove) Push(writer network.Buffer) + func (p *PacketPlayOutRelEntityMove) UUID() int32 + type PacketPlayOutSpawnEntityLiving struct + Entity ents.EntityLiving + Type entity.CREATURE + func (p *PacketPlayOutSpawnEntityLiving) Push(writer network.Buffer) + func (p *PacketPlayOutSpawnEntityLiving) UUID() int32 + type PacketPlayOutSpawnPlayer struct + Player ents.Player + func (p *PacketPlayOutSpawnPlayer) Push(writer network.Buffer) + func (p *PacketPlayOutSpawnPlayer) UUID() int32 v0.0.9 Jul 19, 2024 v0.0.8 Jul 19, 2024 v0.0.7 Jul 19, 2024 v0.0.5 Jul 16, 2024 Changes in this version type PacketPlayOutPosition + Head data.HeadPosition + Position data.PositionF v0.0.4 Jul 16, 2024 v0.0.3 Jul 16, 2024 v0.0.2 Jul 15, 2024 Changes in this version + type ChunkMap struct + type PacketPlayOutBulkChunkData struct + Chunks []*chunks.Chunk + func (p *PacketPlayOutBulkChunkData) Push(writer network.Buffer) + func (p *PacketPlayOutBulkChunkData) UUID() int32 + type PacketPlayOutChunkData struct + Chunk *chunks.Chunk + func (p *PacketPlayOutChunkData) Push(writer network.Buffer) + func (p *PacketPlayOutChunkData) UUID() int32 + type PacketPlayOutUnloadChunk struct + X int32 + Z int32 + func (p *PacketPlayOutUnloadChunk) Push(writer network.Buffer) + func (p *PacketPlayOutUnloadChunk) UUID() int32 v0.0.1 Jul 12, 2024 Changes in this version + const BELOWNAME + const CREATE + const DEATH + const DELETE + const DISPLAY_TEXT + const DUMMY + const HEALTH + const HEALTH_CRITERIA + const INTEGER + const LIST + const PLAYER_KILL + const SIDEBAR + const TOTAL_KILL + const TRIGGER + type CRITERIA string + type DISPLAY string + type INFO_ACTION int32 + const ADD_PLAYER + const REMOVE_PLAYER + const UPDATE_DISPLAY_NAME + const UPDATE_GAME_MODE + const UPDATE_LATENCY + type MODE_OBJECTIVE byte + type PacketPlayOutAbilities struct + Abilities player.PlayerAbilities + FieldOfView float32 + FlyingSpeed float32 + func (p *PacketPlayOutAbilities) Push(writer network.Buffer) + func (p *PacketPlayOutAbilities) UUID() int32 + type PacketPlayOutBlockChange struct + BlockID block.Block + Data int32 + Pos data.PositionI + func (p *PacketPlayOutBlockChange) Push(writer network.Buffer) + func (p *PacketPlayOutBlockChange) UUID() int32 + type PacketPlayOutChatMessage struct + Message chat.Message + MessagePosition chat.MessagePosition + func (p *PacketPlayOutChatMessage) Push(writer network.Buffer) + func (p *PacketPlayOutChatMessage) UUID() int32 + type PacketPlayOutCustomPayload struct + Buffer network.Buffer + Message string + func (p *PacketPlayOutCustomPayload) Push(writer network.Buffer) + func (p *PacketPlayOutCustomPayload) UUID() int32 + type PacketPlayOutEntityMetadata struct + Entity ents.Entity + func (p *PacketPlayOutEntityMetadata) Push(writer network.Buffer) + func (p *PacketPlayOutEntityMetadata) UUID() int32 + type PacketPlayOutHeldItemChange struct + Slot player.HotBarSlot + func (p *PacketPlayOutHeldItemChange) Push(writer network.Buffer) + func (p *PacketPlayOutHeldItemChange) UUID() int32 + type PacketPlayOutKeepAlive struct + KeepAliveID int32 + func (p *PacketPlayOutKeepAlive) Push(writer network.Buffer) + func (p *PacketPlayOutKeepAlive) UUID() int32 + type PacketPlayOutKickDisconnect struct + Message chat.Message + func (p *PacketPlayOutKickDisconnect) Push(writer network.Buffer) + func (p *PacketPlayOutKickDisconnect) UUID() int32 + type PacketPlayOutLogin struct + Difficulty game.Difficulty + Dimension world.Dimension + EntityID int32 + GameMode player.GameMode + Hardcore bool + LevelType world.LevelType + MaxPlayers byte + ReduceDebug bool + func (p *PacketPlayOutLogin) Push(writer network.Buffer) + func (p *PacketPlayOutLogin) UUID() int32 + type PacketPlayOutPlayerInfo struct + Action INFO_ACTION + Players []PlayerInfoData + func (p *PacketPlayOutPlayerInfo) Push(writer network.Buffer) + func (p *PacketPlayOutPlayerInfo) UUID() int32 + type PacketPlayOutPosition struct + Location data.Location + func (p *PacketPlayOutPosition) Push(writer network.Buffer) + func (p *PacketPlayOutPosition) UUID() int32 + type PacketPlayOutScoreboardDisplayObjective struct + Id byte + Objective string + func (p *PacketPlayOutScoreboardDisplayObjective) Push(writer network.Buffer) + func (p *PacketPlayOutScoreboardDisplayObjective) UUID() int32 + type PacketPlayOutScoreboardObjective struct + Display DISPLAY + Id MODE_OBJECTIVE + Objective string + ObjectiveDisplayName string + func (p *PacketPlayOutScoreboardObjective) Push(writer network.Buffer) + func (p *PacketPlayOutScoreboardObjective) UUID() int32 + type PacketPlayOutScoreboardScore struct + Line string + Objective string + Remove bool + Score int32 + func (p *PacketPlayOutScoreboardScore) Push(writer network.Buffer) + func (p *PacketPlayOutScoreboardScore) UUID() int32 + type PacketPlayOutServerDifficulty struct + Difficulty game.Difficulty + func (p *PacketPlayOutServerDifficulty) Push(writer network.Buffer) + func (p *PacketPlayOutServerDifficulty) UUID() int32 + type PacketPlayOutTabInfo struct + Footer chat.Message + Header chat.Message + func (p *PacketPlayOutTabInfo) Push(writer network.Buffer) + func (p *PacketPlayOutTabInfo) UUID() int32 + type PacketPlayOutUpdateHealth struct + FoodLevel int32 + Saturation float32 + ScaledHealth float32 + func (p *PacketPlayOutUpdateHealth) Push(writer network.Buffer) + func (p *PacketPlayOutUpdateHealth) UUID() int32 + type PacketPlayOutUpdateTime struct + DayTime int64 + Time int64 + func (p *PacketPlayOutUpdateTime) Push(writer network.Buffer) + func (p *PacketPlayOutUpdateTime) UUID() int32 + type PlayerInfoData struct + Gamemode player.GameMode + Name *chat.Message + Ping int32 + Profile *player.Profile