diff --git a/server/session/world.go b/server/session/world.go index 00a300c9b..0c17ed397 100644 --- a/server/session/world.go +++ b/server/session/world.go @@ -718,6 +718,12 @@ func (s *Session) playSound(pos mgl64.Vec3, t world.Sound, disableRelative bool) pk.SoundType = packet.SoundEventCrossbowLoadingStart case sound.CrossbowLoadingMiddle: pk.SoundType = packet.SoundEventCrossbowLoadingMiddle + case sound.CrossbowQuickChargeLoadingStart: + pk.SoundType = packet.SoundEventCrossbowQuickChargeStart + case sound.CrossbowQuickChargeLoadingMiddle: + pk.SoundType = packet.SoundEventCrossbowQuickChargeMiddle + case sound.CrossbowQuickChargeEnd: + pk.SoundType = packet.SoundEventCrossbowQuickChargeEnd case sound.ArrowHit: pk.SoundType = packet.SoundEventBowHit case sound.ItemThrow: diff --git a/server/world/sound/item.go b/server/world/sound/item.go index 0f50f6ce3..f6c1b730b 100644 --- a/server/world/sound/item.go +++ b/server/world/sound/item.go @@ -56,6 +56,15 @@ type CrossbowLoadingStart struct{ sound } // CrossbowLoadingMiddle is a sound played while a crossbow is loading and when a crossbow stops loading. type CrossbowLoadingMiddle struct{ sound } +// CrossbowQuickChargeLoadingStart is a sound played when a crossbow with Quick Charge starts to load. +type CrossbowQuickChargeLoadingStart struct{ sound } + +// CrossbowQuickChargeLoadingMiddle is a sound played while a crossbow with Quick Charge is loading. +type CrossbowQuickChargeLoadingMiddle struct{ sound } + +// CrossbowQuickChargeEnd is a sound played when a crossbow with Quick Charge stops loading. +type CrossbowQuickChargeEnd struct{ sound } + // ArrowHit is a sound played when an arrow hits ground. type ArrowHit struct{ sound }