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,21 @@
package client
//codec:gen
type AttributeModifier struct {
Id string `mc:"Identifier"`
Amount float64
Operation int8
}
//codec:gen
type Attribute struct {
Id int32 `mc:"VarInt"`
Value float64
Modifiers []AttributeModifier
}
//codec:gen
type UpdateAttributes struct {
EntityID int32 `mc:"VarInt"`
Attributes []Attribute
}