You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirmed on 21.4.12-beta. Debugging reveals this to be caused by an outdated code, which is trivially fixable.
The Block & BlockState extensions has the method onDestroyedByPushReaction, which is called when that block is destroyed by a piston. That method is called from PistonBaseBlock, and the original code handling the block destruction is moved to the extension method.
However, as can be seen in the two links, the code originally in PistonBaseBlock slightly differs from the code in onDestroyedByPushReaction: the flag used in the call to Level#setBlock is a constant in the original PistonBaseBlock code, but the code in onDestroyedByPushReaction uses different flags (depending too on the logical side).
Synchronizing the code in onDestroyedByPushReaction to match the original code from PistonBaseBlock fixes the issue, with the sign attached to the moss block remaining unbroken when the moss block is destroyed (then replaced with the stone block).
Minecraft Version: 1.21.1
NeoForge Version: 21.1.80
Logs: -
Steps to Reproduce:
The issue here is that the sign stays in place in Vanilla Minecraft, in Neoforge it breaks.
The issue occurs with no mods installed.
EDIT:
Here some screenshots to understand it.
NeoForge 21.1.80:
Vanilla:
The text was updated successfully, but these errors were encountered: