Initialize Commit
This commit is contained in:
16
codec/component/stored_enchantments.go
Normal file
16
codec/component/stored_enchantments.go
Normal file
@ -0,0 +1,16 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
|
||||
//codec:gen
|
||||
type StoredEnchantments struct {
|
||||
Enchantments []Enchantment
|
||||
}
|
||||
|
||||
func (*StoredEnchantments) Type() slot.ComponentID {
|
||||
return 34
|
||||
}
|
||||
|
||||
func (*StoredEnchantments) ID() string {
|
||||
return "minecraft:stored_enchantments"
|
||||
}
|
Reference in New Issue
Block a user