20 lines
299 B
Go
20 lines
299 B
Go
package component
|
|
|
|
import (
|
|
"git.konjactw.dev/patyhank/minego/pkg/protocol/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"
|
|
}
|