refactor package
This commit is contained in:
11
pkg/protocol/packet/game/client/move_entity_pos_rot.go
Normal file
11
pkg/protocol/packet/game/client/move_entity_pos_rot.go
Normal file
@ -0,0 +1,11 @@
|
||||
package client
|
||||
|
||||
import pk "github.com/Tnze/go-mc/net/packet"
|
||||
|
||||
//codec:gen
|
||||
type UpdateEntityPositionAndRotation struct {
|
||||
EntityID int32 `mc:"VarInt"`
|
||||
DeltaX, DeltaY, DeltaZ int16
|
||||
Yaw, Pitch pk.Angle
|
||||
OnGround bool
|
||||
}
|
Reference in New Issue
Block a user