* Add WorldRenderEvents
* Fix typos
* Incorporate PR feedback
* Simplify context and block outline events
* Update implementation
* Ensure the BLOCK_OUTLINE mixin does nothing if BEFORE_BLOCK_OUTLINE mixin is disabled
* Document event order in class header
* Update fabric-rendering-v1/src/main/java/net/fabricmc/fabric/api/client/rendering/v1/WorldRenderEvents.java
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Add environment tag to nested type
* More envionment tags
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit c26373137e)
* Boost to Loom 0.5
Add null related annotations
* Rearrange nullable to be overline
* Fix anno sorting for picky
* Add imports
* Address feedback
* Fix import
* Add item renderer with model transformation mode, deprecate old one.
This PR simply adds a new interface which supplies the additional `Mode` parameter.
All old renderers are delegated to an implementation of the new renderer, thereby making this PR still backwards compatable with all existing renderers.
(cherry picked from commit 7c9162e99f48c6e3989eec9a46afaa935d65ce30)
* Update fabric-rendering-v1/src/main/java/net/fabricmc/fabric/api/client/rendering/v1/BuiltinItemRendererWithMode.java
Co-authored-by: shartte <shartte@users.noreply.github.com>
* Rename new interfact to `DynamicItemRenderer`, make it an inner class of the registry class.
* Update fabric-rendering-v1/src/main/java/net/fabricmc/fabric/impl/client/rendering/BuiltinItemRendererRegistryImpl.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update BuiltinItemRendererRegistryImpl.java
* Update BuiltinItemRendererRegistryImpl.java
* Imports
* Use ItemConvertible for new render method
* Rename new interfact to `DynamicItemRenderer`, make it an inner class of the registry class.
fabric-rendering-v1/src/main/java/net/fabricmc/fabric/api/client/rendering/v1/BuiltinItemRendererRegistry.java
* Move inner class out, fix formatting issue in loot-tables with linux oses
* why was this multilined
* license header lol
* Apply suggestions from code review
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Make renderer a nested class again
* putIfAbsent
Co-authored-by: shartte <shartte@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>