Initialize Commit
This commit is contained in:
19
codec/component/recipes.go
Normal file
19
codec/component/recipes.go
Normal 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 Recipes struct {
|
||||
Data nbt.RawMessage `mc:"NBT"`
|
||||
}
|
||||
|
||||
func (*Recipes) Type() slot.ComponentID {
|
||||
return 57
|
||||
}
|
||||
|
||||
func (*Recipes) ID() string {
|
||||
return "minecraft:recipes"
|
||||
}
|
Reference in New Issue
Block a user