refactor package
This commit is contained in:
18
pkg/protocol/component/use_remainder.go
Normal file
18
pkg/protocol/component/use_remainder.go
Normal file
@ -0,0 +1,18 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
slot2 "git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
|
||||
)
|
||||
|
||||
//codec:gen
|
||||
type UseRemainder struct {
|
||||
Remainder slot2.Slot
|
||||
}
|
||||
|
||||
func (*UseRemainder) Type() slot2.ComponentID {
|
||||
return 22
|
||||
}
|
||||
|
||||
func (*UseRemainder) ID() string {
|
||||
return "minecraft:use_remainder"
|
||||
}
|
Reference in New Issue
Block a user