Update packetid, lang, blocks

This commit is contained in:
Tnze
2022-06-08 15:07:42 +08:00
parent 93cce185a7
commit c891efac94
126 changed files with 391 additions and 180 deletions

View File

@ -32,20 +32,17 @@ const (
const (
ClientboundAddEntity = iota
ClientboundAddExperienceOrb
ClientboundAddMob
ClientboundAddPainting
ClientboundAddPlayer
ClientboundAddVibrationSignal
ClientboundAnimate
ClientboundAwardStats
ClientboundBlockBreakAck
ClientboundBlockChangedAck
ClientboundBlockDestruction
ClientboundBlockEntityData
ClientboundBlockEvent
ClientboundBlockUpdate
ClientboundBossEvent
ClientboundChangeDifficulty
ClientboundChat
ClientboundChatPreview
ClientboundClearTitles
ClientboundCommandSuggestions
ClientboundCommands
@ -81,6 +78,7 @@ const (
ClientboundPing
ClientboundPlaceGhostRecipe
ClientboundPlayerAbilities
ClientboundPlayerChat
ClientboundPlayerCombatEnd
ClientboundPlayerCombatEnter
ClientboundPlayerCombatKill
@ -95,6 +93,7 @@ const (
ClientboundRotateHead
ClientboundSectionBlocksUpdate
ClientboundSelectAdvancementsTab
ClientboundServerData
ClientboundSetActionBarText
ClientboundSetBorderCenter
ClientboundSetBorderLerpSize
@ -106,6 +105,7 @@ const (
ClientboundSetChunkCacheCenter
ClientboundSetChunkCacheRadius
ClientboundSetDefaultSpawnPosition
ClientboundSetDisplayChatPreview
ClientboundSetDisplayObjective
ClientboundSetEntityData
ClientboundSetEntityLink
@ -125,6 +125,7 @@ const (
ClientboundSoundEntity
ClientboundSound
ClientboundStopSound
ClientboundSystemChat
ClientboundTabList
ClientboundTagQuery
ClientboundTakeItemEntity
@ -141,7 +142,9 @@ const (
ServerboundAcceptTeleportation = iota
ServerboundBlockEntityTagQuery
ServerboundChangeDifficulty
ServerboundChatCommand
ServerboundChat
ServerboundChatPreview
ServerboundClientCommand
ServerboundClientInformation
ServerboundCommandSuggestion