Files
minego/pkg/protocol/component/break_sound.go
2025-08-27 20:28:44 +08:00

21 lines
349 B
Go

package component
import (
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//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"
}