Skip to content

Conversation

edayot
Copy link
Contributor

@edayot edayot commented Jul 27, 2025

This PR add a new lib smithed.title using the same specs as actionbar lib.

This PR is paired with docs PR

@edayot edayot requested a review from Copilot July 27, 2025 08:12
Copy link

@Copilot Copilot AI left a 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)

Copy link

github-actions bot commented Jul 27, 2025

Download the artifacts for this pull request:

@edayot edayot marked this pull request as ready for review July 27, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant