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

Improve Force Relay/Lens movement logic for block structures #4510

Merged

Conversation

TheRealWormbo
Copy link
Collaborator

(fixes #3917, #4411, and #4509)

  • fix pushing the wrong way if Force Relay is part of a retracting sticky piston's block structure
  • don't assume that the location where the force push seemingly originates from contains an unmovable block
  • updated/expanded tests to cover movement behavior in (potentially nested) block structures or with sticky pistons

(fixes VazkiiMods#3917, VazkiiMods#4411, and VazkiiMods#4509)

- fix pushing the wrong way if Force Relay is part of a retracting sticky piston's block structure
- don't assume that the location where the force push seemingly originates from contains an unmovable block
- updated/expanded tests to cover movement behavior in (potentially nested) block structures or with sticky pistons
@williewillus
Copy link
Member

tbh this logic is too complicated for me to understand anymore, so just gonna trust you

@williewillus williewillus merged commit 3d9b50a into VazkiiMods:1.20.x Dec 13, 2023
1 check passed
@TheRealWormbo TheRealWormbo deleted the 1.20-force-relay-retraction branch December 13, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Force Relay bug
2 participants