Skip to content
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

Add missing icon to data callback library #331

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

LostLuma
Copy link
Contributor

Small thing I noticed 🦫

@EnnuiL EnnuiL added library: core Related to the core library. s: waiting for test This pull request is waiting to be tested, the PR cannot be put in FCP until it has been tested. t: trivial This is a trivial fix that may skip FCP. bug Something isn't working labels Jul 27, 2023
Copy link
Contributor

@EnnuiL EnnuiL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR was almost flawless; the icon was correct (I checksum'd), and this seemed a pretty trivial fix, but unfortunately, the path is wrong; You'll want assets/quilt_data_callback/icon.png instead of assets/data_callback/icon.png

@LostLuma LostLuma force-pushed the add-missing-data-callback-icon branch from c3f95db to c4f01bb Compare July 27, 2023 18:38
@LostLuma
Copy link
Contributor Author

Painful. I could not get it to build locally so I just decided to make the PR w/o testing 😴

@EnnuiL EnnuiL added s: tested This pull request has been tested and confirmed as working. and removed s: waiting for test This pull request is waiting to be tested, the PR cannot be put in FCP until it has been tested. labels Jul 28, 2023
@EnnuiL EnnuiL merged commit 0ddf030 into QuiltMC:1.20 Jul 28, 2023
2 checks passed
cocona20xx pushed a commit to cocona20xx/quilt-standard-libraries that referenced this pull request Aug 2, 2023
cocona20xx pushed a commit to cocona20xx/quilt-standard-libraries that referenced this pull request Sep 28, 2023
EnnuiL added a commit that referenced this pull request Oct 1, 2023
* Implement Dynamic Registry Flags.
- Currently, only one flag, `OPTIONAL`, exists.
- Modified DynamicRegistrySyncMixin in order to implement these flags. Due to the Redirect mixin header used to implement the flag filtering being taken directly from FAPI, the header of DynamicRegistrySyncMixin was changed to mention FabricMC copyright, in accordance with QSL contribution rules in CONTRIBUTING.md

* Implement Dynamic Registry Flags p2
- Modify DynamicRegistryFlagManager to use Identifiers over RegistryKeys internally, in order to avoid generic-related jank.
- Fix mixin ported from FAPI by correcting method target string to use Quilt Mappings.
- Implement very basic tests.

* Expanded upon OPTIONAL flag javadocs to elaborate use-case

* Expanded further on OPTIONAL javadocs

* Implemented some changes suggested by Pyrofab

- Added protected helper method DynamicMetaRegistryImpl#isFrozen for use in DynamicRegistryFlagManager
- Added DynamicMetaRegistryImpl#LOGGER with the name "quilt_dynamic_registries" as a logger for catching exceptions related to the setting of flags
- Removed the ability to disable dynamic registry flags, changed the signature of the related flag-enabling methods from enableFlag -> setFlag (on both DynamicRegistryFlag and DynamicRegistryFlagManager)
- DynamicRegistryFlagManager#setFlag now throws an IllegalStateException if a mod attempts to enable a flag when dynamic registries are frozen. This is caught and printed to the logger mentioned prior in DynamicRegistryFlag calls
- Added varargs for setting DynamicRegistryFlag values on dynamic registry creation
- Improved DynamicRegistryFlag#OPTIONAL javadocs slightly

* Add missing icon to data callback library (#331)

* Commit most style changes

One of them needs a more specific wording change, so it's going to be done in another commit since that's easier for us

Co-authored-by: Ennui Langeweile <[email protected]>

* Make documentation for DynamicRegistryFlag more accurate

* Improve the javadocs on DynamicRegistryFlag AGAIN

accidentally dropped a word

guh

* BUT WAIT, THERE'S MORE!

Hopefully the final style change moment

Co-authored-by: Ennui Langeweile <[email protected]>

* Implement style change in DynamicRegistryFlagManager

Co-authored-by: LambdAurora <[email protected]>

* Fix binary incompatibility hopefully?
- Added back methods to DynamicMetaRegistry with the same signature as the old ones to avoid binary incompatibility. These are marked as deprecated and should be removed in a breaking/major QSL release.

* Remove deprecation annotations on compat. method overloads in DynamicMetaRegistry

* Fix: Modify Tag path behavior in Dynamic Registries (#329)

* Implement tweak to Tags API to append `tags/` to the start of Dynamic Registries for tag creation that do not already have said path appended to the start of them already.
This behavior also exits in FAPI as of the most recent release, and so adding it to QSL unifies the behavior of pure QSL and the upcoming QFAPI release in that regard.
This can easily be moved to the Registry API to reduce intra-module requirements, but was put in the Tags API as that's the part of the game that is being modified here.

* Move TagManagerLoaderMixin from Tags API to Registry API so that Tags API does not need to depend on Registry API for one very small mixin

* Modify mixin injector name to be more descriptive and have `quilt$` prefix for debugging

* Revert changes to quilt_tags.mixins.json

* Added tests for tag namespace changes

* go go gadget license generation

---------

Co-authored-by: Ennui Langeweile <[email protected]>

* Flip a boolean to sync with FAPI behavior

see 2ff57f2 and FabricMC/fabric@d3afe6c

* Clean up the dynamic tag test

* Add stopguard on registering dynamic registries
No, you cannot use the `minecraft` namespace and blow up the world

* Ran the licenser. Dear gods that's a lotta copyright year changes wowie

* Revert "Ran the licenser. Dear gods that's a lotta copyright year changes wowie"

This reverts commit 696a299.

---------

Co-authored-by: Lilly Rose Berner <[email protected]>
Co-authored-by: Ennui Langeweile <[email protected]>
Co-authored-by: LambdAurora <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working library: core Related to the core library. s: tested This pull request has been tested and confirmed as working. t: trivial This is a trivial fix that may skip FCP.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants