This commit is contained in:
2025-08-22 05:19:29 +08:00
parent e686e0c816
commit cff9d4a809

View File

@ -15,7 +15,7 @@ type AttributeModifier struct {
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.
Slot int32 `mc:"VarInt"` // 0=Any, 1=Main hand, 2=Offhand, etc.
}
func (*AttributeModifiers) Type() slot.ComponentID {