17 lines
258 B
Go
17 lines
258 B
Go
package component
|
|
|
|
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
|
|
|
//codec:gen
|
|
type Container struct {
|
|
Items []slot.Slot
|
|
}
|
|
|
|
func (*Container) Type() slot.ComponentID {
|
|
return 66
|
|
}
|
|
|
|
func (*Container) ID() string {
|
|
return "minecraft:container"
|
|
}
|