8000 Implement bossbars for cooldown filter by Pablete1234 · Pull Request #1104 · PGMDev/PGM · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement bossbars for cooldown filter #1104

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

Merged
merged 1 commit into from
Nov 25, 2022
Merged

Implement bossbars for cooldown filter #1104

merged 1 commit into from
Nov 25, 2022

Conversation

Pablete1234
Copy link
Member

Reimplements the feature from 1.11+ PGM where <countdown> filters could include a message attribute, and show as a bossbar. Additionally, the new <after> filter also has the same functionality.

Example (assumes a previous filter other-filter exists):
<after message="Something will happen in {0}" duration="30s" filter="other-filter" />

The literal {0} will be replaced by the remaining time.

Additionally, it does a bit of a cleanup pass on time components, changing the return types from builders to components.

@Pablete1234 Pablete1234 added the reintroduce Reintroduces a feature that was removed label Nov 24, 2022
Signed-off-by: Pablete1234 <pabloherrerapalacio@gmail.com>
@Electroid Electroid merged commit 824fec9 into dev Nov 25, 2022
@Electroid Electroid deleted the countdown-bossbars branch November 25, 2022 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reintroduce Reintroduces a feature that was removed
Development

Successfully merging this pull request may close these issues.

2 participants
0