1.21.6 Clientbound PlayState Packets

This commit is contained in:
2025-06-20 04:22:08 +08:00
parent e40ed2e534
commit 195d34f32d
204 changed files with 10118 additions and 3287 deletions

View File

@ -0,0 +1,16 @@
package client
//codec:gen
type LookedAtEntity struct {
EntityID int32 `mc:"VarInt"`
LookType int32 `mc:"VarInt"`
}
//codec:gen
type LookAt struct {
LookType int32 `mc:"VarInt"` // Feet = 0 Eyes = 1
TargetX, TargetY, TargetZ float64
HasLookedAtEntity bool
//opt:optional:HasLookedAtEntity
LookedAtEntity *LookedAtEntity
}