refactor package
This commit is contained in:
19
pkg/protocol/component/bucket_entity_data.go
Normal file
19
pkg/protocol/component/bucket_entity_data.go
Normal file
@ -0,0 +1,19 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
|
||||
"github.com/Tnze/go-mc/nbt"
|
||||
)
|
||||
|
||||
//codec:gen
|
||||
type BucketEntityData struct {
|
||||
Data nbt.RawMessage `mc:"NBT"`
|
||||
}
|
||||
|
||||
func (*BucketEntityData) Type() slot.ComponentID {
|
||||
return 50
|
||||
}
|
||||
|
||||
func (*BucketEntityData) ID() string {
|
||||
return "minecraft:bucket_entity_data"
|
||||
}
|
Reference in New Issue
Block a user