-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Crossbows #957
Implement Crossbows #957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I've left some comments for now. Let me know if you'd like another review.
Add middle loading sound and potentially fix loading
server/world/sound/item.go
Outdated
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 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would try to combine some of these sounds into one type. Add a QuickCharge bool
field to halve the number of types, them maybe some Stage
field to indicate start vs middle vs end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR! I think this is ready to go. I'm going to make some minor changes after merging but otherwise, great work!
This PR aims to implement crossbows and multishot enchantment.