Skip to content

feat(pack): add typed theme contributions - #27

Merged
lusu007 merged 16 commits into
mainfrom
feat/resource-pack-contribution
Aug 11, 2026
Merged

feat(pack): add typed theme contributions#27
lusu007 merged 16 commits into
mainfrom
feat/resource-pack-contribution

Conversation

@lusu007

@lusu007 lusu007 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Description

Migrates library-gui from standalone resource-pack generation to typed Theme contributions backed by one deterministic internal plan.

  • Adds Theme.toPackContribution(assets) with exact formats, vanilla-path claims, and the text-marker shader capability.
  • Keeps writePack() and zipPack() as deprecated compatibility facades driven by the same plan.
  • Moves final composition into the theme demo through ResourcePackComposer and ZipPackWriter.
  • Serves immutable hash-addressed demo artifacts and keeps the production library dependency limited to resource-pack-api.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • ♻️ Refactoring
  • 📚 Documentation
  • 🔧 Chore

Related Issues

Testing

  • Unit tests pass
  • Manual testing completed
  • New tests added for new functionality
  • Composite-build smoke and deterministic parity passed
  • Clean published-package build passed against library-resource-pack:0.1.0
  • Production JAR and runtime classpaths were inspected
  • Runnable Minestom demo generated, hosted, and hashed the pack successfully

Checklist

  • I have performed a self-review of my own code
  • Tests have been added/updated and pass (if needed)
  • Documentation has been updated (if needed)

@lusu007
lusu007 marked this pull request as ready for review August 11, 2026 11:58
@lusu007
lusu007 merged commit 385ea9b into main Aug 11, 2026
2 checks passed
@lusu007
lusu007 deleted the feat/resource-pack-contribution branch August 11, 2026 12:01
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