ldtteam / Structurize

Minecraft Structures
GNU General Public License v3.0
47 stars 45 forks source link

[BUG] Builder-placed Sculk sensors and shriekers lose some functionality compared to player-placed ones. #555

Closed Shadizar closed 1 year ago

Shadizar commented 1 year ago

Is there an existing issue for this?

Are you using the latest MineColonies Verison?

Did you check on the Wiki? or ask on Discord?

Minecraft Version

1.19

MineColonies Version

1.0.1122-ALPHA

Structurize Version

1.0.460-ALPHA

Related Mods and their Versions

Forge 43.1.52 blockui-1.19-0.0.64-ALPHA domum_ornamentum-1.19-1.0.75-ALPHA-universal

Current Behavior

Note: this bug is not about warden-summoning. I know that per Mojang's design is that non worldgen ones don't do that; this is about other items.

Expected Behavior

Sensors and shriekers to work exactly as player placed ones do.

Reproduction Steps

I've attached a blueprint zip if you want but basically,

  1. Place some sculk sensor(s), sculk catalyst, and shriekers. Make sure to put wool wherever you want to keep things separate for testing. Make sure to have pistons next to the sensors so you can see if things activate.
  2. Have the builder build the items

sculktest.zip

Logs

https://gist.github.com/Shadizar/460f6b42b0ae8485602c3efd1015dbee

Anything else?

sculk

uecasm commented 1 year ago

It looks like the main problem is that the sculk sensor saves an extra copy of its original world coordinates in the subcomponent that listens for noises, which is not updated when building it at a new location.

Moobien commented 1 year ago

I believe this is being fixed in 1.20

https://twitter.com/kingbdogz/status/1649078182882992129

Nightenom commented 1 year ago

@Moobien can you please validate once 1.20 gets compiled (matter of a few days)

Moobien commented 1 year ago

will do!

Nightenom commented 1 year ago

Fixed in vanilla