Initialize Commit
This commit is contained in:
19
codec/component/repairable.go
Normal file
19
codec/component/repairable.go
Normal file
@ -0,0 +1,19 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"git.konjactw.dev/patyhank/minego/codec/data/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"
|
||||
}
|
Reference in New Issue
Block a user