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

Rename PistonBlock#move boolean argument to 'extend' #3930

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

Octol1ttle
Copy link
Contributor

@Octol1ttle Octol1ttle commented Aug 16, 2024

Fixes #3914

Easy to confirm that this should be extend by looking at the head of the method
image
In English, this means "if not extending (so, retracting) and there's a piston head present in the provider direction, set that piston head to air". This lines up with what actually happens in the game

If "retract" was the correct name, this wouldn't make sense.

@apple502j apple502j added bug Fixes or discusses a bug within the mappings snapshot A PR that targets a snapshot version of Minecraft labels Aug 16, 2024
@apple502j apple502j merged commit 9bac9d8 into FabricMC:24w33a Aug 16, 2024
5 checks passed
@Octol1ttle Octol1ttle deleted the fix-3914 branch August 16, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes or discusses a bug within the mappings snapshot A PR that targets a snapshot version of Minecraft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

retract should be extend
2 participants