Custom Structures breaking Blocks when Spawning/generating

Started by NotFoxxz on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Feb 2022
Points:
477

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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)

Active 2 years ago
Joined Feb 2022
Points:
633

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 158
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.

Active 2 years ago
Joined Feb 2022
Points:
477

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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.

 

Active 10 months ago
Joined Dec 2020
Points:
1158

User statistics:

  • Modifications: 2
  • Forum topics: 28
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 819
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.