quilt-standard-libraries
quilt-standard-libraries copied to clipboard
Armor Rendering Registry
A quasi-port of the ArmorRenderingRegistry of old, now with LambdAurora Incoprorated brand phases!
This API resides in the new entity_rendering module, inside the new rendering library!
Note that ArmorFeatureRendererMixin is somewhat similar to Fabric API's MixinArmorFeatureRenderer.
Do my changes make it unique enough, or should I add a Fabric license header to it too?
If you copied significant amounts of code then yes
3 out of 5 injections are copied directly from Fabric API, but those copied injections are 2 lines each at most. I'll add the license header, just to be safe.
A really nice QoL feature would be being able to define a texture path in an ArmorMaterial, like how vanilla uses the name but instead providing full asset path support, without having to register it.
I'll inject a getTextureIdentifier() method into ArmorMaterial, sure.
Main API is ready, testmod needs custom texture/model which are outside of my skills...
...accidentally merged with 1.19.3, so changing base branch to that for now. If this isn't good I'll redo the merge targeting 1.19 tomorrow.
But! This API shall be finished!
Retargeted for 1.19!
Marking as finished for now! There may be a model testmod in the future, but pretty much everything is done.