ldtteam / Structurize

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

Block Replace not setting leaf blocks as persistent. #679

Open Moobien opened 5 months ago

Moobien commented 5 months ago

Is there an existing issue for this?

Are you using the latest Structurize Version?

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

Minecraft Version

1.20

Structurize Version

737-beta

MineColonies Version (if related bug)

n/a

Related Mods and their Versions

n/a

Current Behavior

replacing any block with a leaf block is not setting the leaf block as persistent.

Expected Behavior

well..the opposite of what it is doing. replacing a block with a leaf block should set the leaf block as persistent.

Reproduction Steps

go to dark oak treehouse dyer/tavern on schem server. replace leaf blocks with bedrock, replace bedrock with leaf block and see they are still not persistent.

Logs

n/a

Anything else?

n/a

Footer


Viewers

Nightenom commented 5 months ago

This is generally problem of the replacement itself, on low level like now it should be just best-guess swap, but it's missing high level where user can modify blockstate properties like persistent

Moobien commented 5 months ago

This is generally problem of the replacement itself, on low level like now it should be just best-guess swap, but it's missing high level where user can modify blockstate properties like persistent

yeah. but it makes schematic fixes a LOT more difficult when you have 1200 leaf blocks to manually replace across a single building (all 5 levels)

Nightenom commented 5 months ago

for simple stable replace you can just use fill/replace command

uecasm commented 2 months ago

If you replace already-persistent leaves with another leaf type, it should work. It's only if you replace leaves to a different block type and then back to leaves that you will lose the persistent flag. This is the same as other blockstate properties at present.