Custom Structures breaking Blocks when Spawning/generating

Started by NotFoxxz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Structures breaking Blocks when Spawning/generating

So my problem is that when my custom structure generates it breaks all blocks around it. I tried everything I could but it still breaks blocks around it. (sry for my bad english)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had a similar problem, but…
Sat, 02/26/2022 - 00:26

I had a similar problem, but when creating your structure did you use structure void(access it through /give)? Because if you didn't, the air blocks in the structure will replace the blocks when the structure is generated.

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes I did, but the problem…
Sat, 02/26/2022 - 01:06

Yes I did, but the problem is when I place 2 of my saplings close together and both grow, on of the trees logs get replaced by the other trees leaves.

 

Try putting leaves under …
Mon, 03/21/2022 - 06:03

Try putting leaves under "minecraft:leaves" block tag. If this doesn't work, I'm afraid you'd need to edit code to make them extend LeavesBlock, since this is totally normal Minecraft behaviour - the only thing making leaves not behave like that in vanilla is because they have special properties inside the code.