Files
minego/pkg/protocol/packet/game/client/sound_entity.go
2025-08-22 05:16:24 +08:00

17 lines
379 B
Go

package client
import (
"git.konjactw.dev/patyhank/minego/pkg/protocol/component"
"github.com/Tnze/go-mc/net/packet"
)
//codec:gen
type EntitySoundEffect struct {
SoundEvent packet.OptID[component.SoundEvent, *component.SoundEvent]
SoundCategory int32 `mc:"VarInt"`
EntityID int32 `mc:"VarInt"`
Volume float32
Pitch float32
Seed int32
}