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

Move objects even when sticky blocks are involved #598

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TurkeyMcMac
Copy link
Contributor

@TurkeyMcMac TurkeyMcMac commented Feb 26, 2022

Fixes #596. Fixes #462.

This significantly complicates the code. I had to add some special cases to replicate the old behavior. For example, when a sticky piston retracts while pulling no blocks, only objects touching the face of the piston head should be pulled. I could simplify the code if this behavior does not need preservation. One thing that did change in the pulling of objects is that mvps no longer pull objects downwards. I think the new behavior is more consistent with the lack of pulling in other directions, although it could affect elevators a bit.

Objects are still dragged on the sides of moving stacks, but no longer are dragged into solid nodes.

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

Successfully merging this pull request may close these issues.

sticky movestones lose solidity while ascending via movestone Sticky piston dragging players
3 participants