Initialize Commit

This commit is contained in:
2025-06-19 15:01:07 +08:00
commit e40ed2e534
164 changed files with 19741 additions and 0 deletions

19
codec/component/lock.go Normal file
View File

@ -0,0 +1,19 @@
package component
import (
"git.konjactw.dev/patyhank/minego/codec/data/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen
type Lock struct {
Key nbt.RawMessage `mc:"NBT"`
}
func (*Lock) Type() slot.ComponentID {
return 69
}
func (*Lock) ID() string {
return "minecraft:lock"
}