Draft
Conversation
Owner
|
let me know how your testing goes, it's something i'd be interested in integrating but i'd likely want to do a bunch of my own testing as well and tweak it so it's not annoying and constantly triggering everytime you hit a zombie or whatever I was thinking it could also factor in current health and the amount of mobs nearby or something so that it only starts playing if there's actually a certain amount of danger thanks for starting to tackle this heh, I've been lazy |
Author
|
Thanks for the mod! It really enhances the game. Here's a few stuff I observed so far:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For servers that use Boss bar for exp, quest tracking or where nearby hostile mobs shouldn't necessarily call a boss song because they could be player-disguised zombie mob for example, a new combat event should be perfect.
Currently it triggers when:
Example usage in custom songpacks:
How it works
Following two mixin events trigger lastCombatTime:
Where we invalidate after timeout:
Better customization for combat timeout could be nice.
I have tested it, it works but I will be trying this further during gameplays with few friends.