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.
currently playing the enigmatica 6 modpack, and its very annoying to keep track of the cooldown (30 minutes)
it would be nice if players had a way to check if they're still on cooldown, before they head out to do some tasks that could trigger an unlock to avoid doing something eligible with no chance of a reward. (e.g. me farming the wither periodically)
this is just a draft to keep the ball rolling, stuff might have to be moved into the constructor for optimal performance & the ticks being rounded to localized second(s), minute(s) & hour(s) instead of ticks, but this works well enough for me as is:
Aug-13-2021.14-04-28.mp4
(tested in singleplayer & worked fine, above video is from my on my server, confirming that its visible from clients)