1.21.6 Clientbound PlayState Packets
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
pk "github.com/Tnze/go-mc/net/packet"
|
||||
"git.konjactw.dev/patyhank/minego/codec/slot"
|
||||
)
|
||||
|
||||
//codec:gen
|
||||
@ -12,8 +11,8 @@ type AttributeModifiers struct {
|
||||
|
||||
//codec:gen
|
||||
type AttributeModifier struct {
|
||||
AttributeID int32 `mc:"VarInt"`
|
||||
ModifierID pk.Identifier
|
||||
AttributeID int32 `mc:"VarInt"`
|
||||
ModifierID string `mc:"Identifier"`
|
||||
Value float64
|
||||
Operation int32 `mc:"VarInt"` // 0=Add, 1=Multiply base, 2=Multiply total
|
||||
Slot int32 `mc:"VarInt"` // 0=Any, 1=Main hand, 2=Off hand, etc.
|
||||
|
Reference in New Issue
Block a user