20 lines
305 B
Go
20 lines
305 B
Go
package component
|
|
|
|
import (
|
|
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
|
|
pk "github.com/Tnze/go-mc/net/packet"
|
|
)
|
|
|
|
//codec:gen
|
|
type Repairable struct {
|
|
Items pk.IDSet
|
|
}
|
|
|
|
func (*Repairable) Type() slot.ComponentID {
|
|
return 29
|
|
}
|
|
|
|
func (*Repairable) ID() string {
|
|
return "minecraft:repairable"
|
|
}
|