Skip to content

[Bug]: WorkbenchBlock does not override updateShape #419

@vercte

Description

@vercte

Bug Description

WorkbenchBlock doesn't override updateShape, causing one side to remain when the other is destroyed. This introduces a duplication glitch when removing one side of the bench without a player (e.g. TNT). BedBlock overrides this and serves as a good example of how to implement this.

This was found on the Create Discord and also causes incorrect behavior when the block is tagged #create:wrench_pickup, allowing only one side to be picked up.

How to Reproduce?

java.February.27.at.14.35.mp4

Expected Behavior

Both sides of the bench are destroyed when one side is destroyed, regardless of what destroyed it.

Version

4.0.2

Mod Loader Version

1.21.1 - 21.1.218

Mod Loader

NeoForge

Logs or additional context

No response

Code of Conduct

  • I have searched the issue tracker and confirmed that the issue has not been reported
  • I have checked the FAQ (if one is present) and my issue is not listed
  • I have verified that I am using the latest version of the mod
  • I have verified that I have installed all the required dependencies for the mod
  • I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions