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

1.21.3 minor update #75

Merged
merged 3 commits into from
Nov 10, 2024
Merged

1.21.3 minor update #75

merged 3 commits into from
Nov 10, 2024

Conversation

viciscat
Copy link
Contributor

Mod Support not tested
MoreBannerFeatures kept only for pre 1.21.2 due to me not having an idea of how to support that and also cuz the mod didn't get updated

Copy link

what-the-diff bot commented Oct 31, 2024

PR Summary

  • GitHub Actions Enhancements
    The team has included new publishing layers for the version 1.21.3 across varied platforms. These platforms include Curseforge and Modrinth for Forge, NeoForge, and Fabric loaders. This will likely increase the distribution of our software.

  • Alterations to CapeHolder Interface
    New methods for managing the simulation state have been added to the CapeHolder interface. This would greatly improve control over simulations.

  • ExtendedPlayerRenderState Interface Added
    A new interface has been created to facilitate the management of the cape holder and underwater status. This allows finer control over player conditions.

  • Introduction of CapeRenderInfo Class
    The team has added a new class to handle rendering-related information about capes. This class simplifies checking the player's state and visibility.

  • Update to CapeRenderer Render Method
    The render method in the CapeRenderer interface has been altered to use CapeRenderInfo instead of AbstractClientPlayer. This change will potentially improve rendering efficiency.

  • Updates to PlayerMixin
    PlayerMixin has been revamped to handle the cape simulation state, including the introduction of dirty flags. This can lead to optimized performance with rendering.

  • PlayerRenderStateMixin Incorporated
    The team has integrated a mixin for managing extended player states including cape holder and underwater status. This allows for better fine-tuning of player conditions.

  • Revisions in NMSUtil
    Certain methods have been adjusted to comply with version checks for rendering systems, ensuring alignment with different versions.

  • Settings File Updated
    New version entries have been added to preserve compatibility with the latest versions.

  • Removal of Unused Methods
    Legacy methods and code segments have been deprecated and removed.

  • PlayerRendererMixin:class Altered
    The function hierarchy of this class underwent major changes. New flags and methods introduced allow for advanced tracking and handling of the CapeHolder.

  • CustomCapeRenderLayer Class Changes
    This class's rendering methods have been refined for better integration with cape rendering logic. Moreover, updates to cape visibility and rendering checks are now in place.

  • EarsSupport and MinecraftCapesSupport Classes Reworked
    Both classes have been adjusted to fetch player UUIDs and cape data from CapeRenderInfo instead of AbstractClientPlayer.

  • ModSupport Interface Updated
    The ModSupport interface has been updated with a new method accepting CapeRenderInfo with the previous method becoming outdated.

  • General Code Improvements
    Multiple improvements across the codebase increase efficiency and readability. Unused imports and legacy code have been removed, and conditional compilation based on Minecraft versions was added.

  • MoreBannerFeaturesSupport Class Updated
    This class content was commented out and is wrapped in preprocessor directives for conditional compilation for better version management.

  • waveycapes.mixins.json Modified
    Reordered the client mixins list and added PlayerRenderStateMixin.

  • Version Update
    The project version was updated from 1.21-fabric to 1.21.3-fabric. This reflects the advancement in the project over time and allows version-specific patches and bug-fixes.

@tr7zw tr7zw merged commit 0a6e04d into tr7zw:main Nov 10, 2024
Copy link

sonarcloud bot commented Nov 10, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants