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