refactor package
This commit is contained in:
19
pkg/protocol/component/provides_banner_patterns.go
Normal file
19
pkg/protocol/component/provides_banner_patterns.go
Normal file
@ -0,0 +1,19 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
|
||||
"github.com/Tnze/go-mc/net/packet"
|
||||
)
|
||||
|
||||
//codec:gen
|
||||
type ProvidesBannerPatterns struct {
|
||||
Key packet.Identifier
|
||||
}
|
||||
|
||||
func (*ProvidesBannerPatterns) Type() slot.ComponentID {
|
||||
return 56
|
||||
}
|
||||
|
||||
func (*ProvidesBannerPatterns) ID() string {
|
||||
return "minecraft:provides_banner_patterns"
|
||||
}
|
Reference in New Issue
Block a user