-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Sync code in onDestroyedByPushReaction to original #1752
Sync code in onDestroyedByPushReaction to original #1752
Conversation
Last commit published: bc5badea80e5f8197674c7101d4aa74cf1a6b942. PR PublishingThe artifacts published by this PR:
Repository DeclarationIn order to use the artifacts published by the PR, add the following repository to your buildscript: repositories {
maven {
name 'Maven for PR #1752' // https://github.com/neoforged/NeoForge/pull/1752
url 'https://prmaven.neoforged.net/NeoForge/pr1752'
content {
includeModule('net.neoforged', 'testframework')
includeModule('net.neoforged', 'neoforge')
}
}
} MDK installationIn order to setup a MDK using the latest PR version, run the following commands in a terminal. mkdir NeoForge-pr1752
cd NeoForge-pr1752
curl -L https://prmaven.neoforged.net/NeoForge/pr1752/net/neoforged/neoforge/21.4.16-beta-pr-1752-1.21-GH-1699-moss-block-sign-piston/mdk-pr1752.zip -o mdk.zip
jar xf mdk.zip
rm mdk.zip || del mdk.zip To test a production environment, you can download the installer from here. |
🚀 This PR has been released as NeoForge version |
This comment has been minimized.
This comment has been minimized.
Created backport PR: #1899 |
This PR fixes #1699 by synchronizing the code in
IBlockExtension#onDestroyedByPushReaction
to the original code fromPistonBaseBlock
(which was moved to the extension method).Particularly, the flags passed to
Level#setBlock
is now a constant18
, which is the combination ofBlock#UPDATE_KNOWN_SHAPE
andBlock#UPDATE_CLIENTS
.Tested with the same reproduction steps in the linked issue, and the fix works as the sign does not pop off on piston push.