quilt-standard-libraries
quilt-standard-libraries copied to clipboard
Item Rendering Extensions
A rewritten version of my old item overlay customization API.
Also adds the containing rendering
library.
TODO
- [x] Customizing parts of the overlay
- [x] Count label
- [x] Item bar
- [x] Provide API for multiple item bars
- [x] Cooldown overlay
- [x] Callbacks for before/after overlay rendered
- [x] Javadoc
- [x] Testmod
- [x] Count label
- [x] Item bars
- [x] Cooldown overlay
- [x] Before/after render callbacks
oooh, remind me to review this later 👀
This looks pretty good! but waiting for other people to review it, you need to update to the latest changes, and I suggets adding a test mod.
Can we get BuiltinItemRendererRegistry as well with this PR? Or do you think it's out of scope?
Can we get BuiltinItemRendererRegistry as well with this PR? Or do you think it's out of scope?
I'll do that in a separate PR after this one gets merged.
You might hate this, but i think this would fit better under the rendering
library as an item
module. Since this entire module is client side and rendering related, i think it fits better there.
Agreed ^^^
I only just realised this was under the item library.
IT HATH BEEN MOVED
I have committed an initial version of the quad batching API (currently untested since I can't run the testmod for some reason).
Closing because man I made this overcomplicated as hell. Will bring back later (possibly after extracting the quad batching stuff into its own PR)?
Feels like QSL shouldn't be doing this invasive rendering optimizations, quad batching would fit better in its own rendering optimization mod Imo
This optimization only applies to items customized via this API - Vanilla items (and items from mods that do not use this API) are unaffected.
Ah👍