* Add HudRenderEvents
* Add HudRenderEventsTests and deprecate HudRenderCallback
* Update tests
* Add client parameter and apply suggestions
* Split HudRenderEvents into separate interfaces
* Fix before chat and last
* Add after sleep overlay event and update after main hud injection point
* Add comments for injection points
* Revert splitting HudRenderEvents into separate interfaces
* Use vanilla layered drawer layer interface
* Cleanup InGameHudMixin
* POC of hud modification
* Implement HudLayerRegistrationCallback
* Delete HudRenderEvents
* Fix sub drawers and add basic documentation
* Fix checkstyle
* Apply suggestions from code review
* Add Javadocs
* Add more unit tests
* Apply suggestions from code review
- Update Javadocs
- Remove vanilla sub drawer flattening
- Improve LayeredDrawerWrapperImpl internals
* Javadoc oddities
* Add client gametests
* Finish client gametests
* Change method and add documentation
* Ensure test environment is correct
* Move test class to same package
* Add render condition for tests
* Fix merge conflicts
* Update javadocs
* Small bug fixes, documentation, and sub drawer tests
* Update javadocs some more
* Add contract and get around return value not used warnings
* Apply suggestions from code review
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
* Migrate AtomicBoolean to MutableBoolean
* Update javadocs on render condition
* Use ListIterator#set
---------
Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit 44a0820dd2)
The sided names avoid confusing modders into thinking that the client codec
is only used for syncing since it also reads data pack contents.
(cherry picked from commit 742bac29fb)
* New translations en_us.json (Ukrainian)
* New translations en_us.json (German)
* New translations en_us.json (Italian)
* New translations en_us.json (Ukrainian)
* New translations en_us.json (Ukrainian)
* New translations en_us.json (Greek)
* New translations en_us.json (Greek)
(cherry picked from commit e359e316fb)
* Organize packages
* Move all gametest system properties into one class where we won't lose them
* Add references to loom helpers to documentation in relevant places
(cherry picked from commit 2d7e411e9b)
* WW DEBUG
Revert "apple log"
This reverts commit e3ba09c109a92f2cde401c0fbea8648b628c5452.
Possible Fix
apple log
Update RemapStateImpl.java
Revert "WW DEBUG"
This reverts commit 3f2ffa9272163c6640218b2fa72d36165b4b4bda.
* Fix Client Registry Remapping Only Remapping One Registry
* Add unit test
---------
Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit 4ba56ac745)
* 25w03a game tests
* Cleanup and improvements
* Update fabric-gametest-api-v1/src/main/java/net/fabricmc/fabric/impl/gametest/TestAnnotationLocator.java
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
* Use an 8x8 empty structure by default
* Use a dedicated RegistryLoaderMixin instead of hacking around registry sync's api
* Fix
* Checkstyle
---------
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
* Rework testmod into client gametest
* Fix broken mixin
ClientPlayNetworkHandlerMixin silently broke due to targeting an instruction that changed from being unconditional to inside of a branch
* spotless
* Review feedback
---------
Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit 314f4e45e2)
* fix EntityTrackingEvents at once
* use event in Attachment Sync API
* fix: remove removed mixin from mixins.json
(cherry picked from commit 89981351cc)
- The (int[], int) overload used to keep the normal flags as is
- The (BakedQuad, RenderMaterial, Direction) overload used to reset all normal flags
- The normal flag for a vertex is now set if and only if the normal is not zero, ignoring the W component
- Clarify that MutableQuadView#fromVanilla(BakedQuad, ...) resets the quad tag
* Make sure client locking only happens if there will actually be a tick
* Swap the order of client and server tasks and merge the client tasks into one block
* Remove useless capture of @Share
* Ensure all packets are handled in the tick after it was sent
* Add main thread packet handlers to our set before they are added to the vanilla queue, not after
* Don't deadlock if client stops on a frame that doesn't tick
* Fix checkstyle
* Switch back round the client and server tasks
* Only apply vanilla task loop phases if network synchronization is enabled
* Update docs
* Add network synchronizer impl notes to match PR description
* Set ThreadingImpl.gameCrashed back to private. We don't want to accidentally change this value without using the setter.
* Instant screenshots, with counter and more configurability
* Force consistent window size across all systems and stretch framebuffer to fit the physical window
* Docs
* Wait ticks appropriately for the screenshots in the gametest test
* Should -> must
* Fix window resizing for different display scales
* Fix framebuffer size not being changed at all
* Add test for window resizing