-
Notifications
You must be signed in to change notification settings - Fork 11
feat: new title / subtitle library #52
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
base: main
Are you sure you want to change the base?
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.
Pull Request Overview
This PR introduces a new title/subtitle library (smithed.title
) that follows the same architectural pattern and specifications as the existing actionbar library. The library provides priority-based title message management to prevent conflicts between different data packs trying to display titles simultaneously.
Key changes:
- Creates a complete title library with priority-based message queueing and display management
- Implements freeze duration controls to prevent message spam
- Integrates the new title library with the existing actionbar library initialization
Reviewed Changes
Copilot reviewed 9 out of 36 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
smithed_libraries/packs/title/data/smithed.title/function/impl/technical/tick.mcfunction | Main tick loop for managing title freeze timers and cleanup |
smithed_libraries/packs/title/data/smithed.title/function/impl/technical/load.mcfunction | Initialization of scoreboards and constants for the title system |
smithed_libraries/packs/title/data/smithed.title/function/impl/reset.mcfunction | Player title state reset functionality |
smithed_libraries/packs/title/data/smithed.title/function/impl/message.mcfunction | Core message processing and priority handling logic |
smithed_libraries/packs/title/data/smithed.title/function/impl/display.mcfunction | Title display execution with bounds checking |
smithed_libraries/packs/title/beet.yaml | Build configuration for the title library package |
smithed_libraries/packs/title/README.md | Documentation file with incorrect content referencing actionbar |
smithed_libraries/packs/actionbar/data/smithed.actionbar/function/impl/technical/load.mcfunction | Integration of title library initialization into actionbar load |
smithed_libraries/packs/actionbar/beet.yaml | Updated build configuration |
Comments suppressed due to low confidence (1)
smithed_libraries/packs/title/data/smithed.title/function/impl/message.mcfunction
Show resolved
Hide resolved
Download the artifacts for this pull request: |
This PR add a new lib
smithed.title
using the same specs as actionbar lib.This PR is paired with docs PR