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

Freecam Schematica Compatibility #481

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

rfresh2
Copy link
Member

@rfresh2 rfresh2 commented Jan 31, 2023

Describe the pull
Fixes Freecam compatibility with Schematica (still requires Entropy5's schematica fork with freecam fix)

Describe how this pull is helpful
Schematica is a popular mod and using freecam while building a schematic is helpful.

Additional context
The redirect mixin used here may be incompatible with certain other clients, see kami-blue/client#1886 and kami-blue/client#1950. I've tested this with Future and Rusherhack with no issues though.

Why we need this redirect and our previous ViewFrustum injection does not work is caused by this ViewFrustumOverlay in Schematica.
We need Schematica to render using the freecammed player's view, but we also need MC to update chunks using the non-freecammed player's view (otherwise we get ghost chunks when we turn off freecam).

Definitely open to suggestions for alternate solutions though.

Copy link
Member

@Avanatiker Avanatiker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot :)

@Avanatiker Avanatiker merged commit c593f8a into lambda-client:master Feb 1, 2023
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