Files
minego/pkg/protocol/component/stored_enchantments.go
2025-08-22 05:14:59 +08:00

19 lines
311 B
Go

package component
import (
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//codec:gen
type StoredEnchantments struct {
Enchantments []Enchantment
}
func (*StoredEnchantments) Type() slot.ComponentID {
return 34
}
func (*StoredEnchantments) ID() string {
return "minecraft:stored_enchantments"
}