-
Notifications
You must be signed in to change notification settings - Fork 11
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
Added Dungeon Flow Events: #36
base: main
Are you sure you want to change the base?
Conversation
yourboykyle
commented
Oct 4, 2023
- Enter dungeon
- Dungeon started
- Dungeon ended
- Left dungeon
- Wither key obtained
- Wither door opened
- Blood key obtained
- Blood door opened
- Entered boss fight
- Enter dungeon - Dungeon started - Dungeon ended - Left dungeon - Wither key obtained - Wither door opened - Blood key obtained - Blood door opened - Entered boss fight
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 have a couple concerns:
Why is all of the functionality inside a "Util" class?
Code is a bit messy, and you rewrote things that are not related to this PR.
If I could propose code changes, I would probably move functionality out of a "Util" class so that we don't dive into util hell. I would also revert some of the formatting and placement changes so that the commit history is not a bunch of refactoring.
Refer to my other review below:
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.
Please review specific things I commented and reply with your thoughts / feedback.
src/main/java/io/github/skyblockcore/mixin/MessageHandlerMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/skyblockcore/event/dungeons/EnteredBossfightCallback.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/skyblockcore/event/dungeons/DungeonEndedCallback.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/skyblockcore/event/dungeons/DungeonStartedCallback.java
Outdated
Show resolved
Hide resolved
Do the formatting and placement changes really matter? It was triggering my OCD very much. |
- Changed "if(!isInDungeon()) return;" to be "if(isInDungeon()) {...}" - Moved DungeonUtils to io.github.skyblockcore.dungeons - Added name of boss to EnteredBossfightCallback - Added score to DungeonEndedCallback - Added the class (Healer, Mage, Berserk, Archer, Tank) to DungeonStartedCallback
I really appreciate the time and effort, however I have one little issue: If I could propose edits I would :/ |
Done. Will commit in the morning. |
…ockcore.Dungeons, as per Unex's suggestion.
Pushed. |