Initialize Commit
This commit is contained in:
19
codec/component/break_sound.go
Normal file
19
codec/component/break_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 BreakSound struct {
|
||||
SoundData packet.OptID[SoundEvent, *SoundEvent]
|
||||
}
|
||||
|
||||
func (*BreakSound) Type() slot.ComponentID {
|
||||
return 71
|
||||
}
|
||||
|
||||
func (*BreakSound) ID() string {
|
||||
return "minecraft:break_sound"
|
||||
}
|
Reference in New Issue
Block a user