Please help me :( My trees are floating!

Started by braelin777 on

Topic category: Help with modding (Java Edition)

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please help me :( My trees are floating!

Hello everyone! I'm working on a mod that adds like 8 new dimensions, hundreds of mobs, etc. It's gonna be big. So far I have 3 dimensions basically done as far as the terrain goes. Anyways, the 4th one is called "The Woodlands" and as you might imagine, it's a sort of enchanted forest dimension with a few different similar biomes. Anyways let me get to the point. Some of the trees are floating, overhanging on corners, and some are even like 20 blocks off the ground. I am at a loss. I have been watching tutorials and trouble shooting for about 2 days and have read literally every thing on here about floating trees/structures (Yes, my trees are custom structures/schematics.) And I don't know what else I can do. Here's a list of some things I have tried:

-Changing the restriction block to the top layer grass, AND the second dirt layer.

-I've tried numerous different procedures, and I will attach pictures of some of them. 

-And a lot more. 

I will attach some pictures of how the trees are generating, and how I want them to generate. 

 

This is how I want them to spawn: http://image.noelshack.com/fichiers/2022/12/1/1647897803-good-gen.jpg&n…;

This is what the floating trees are doing: http://image.noelshack.com/fichiers/2022/12/1/1647897798-completely-flo…

This is what the overhanging trees are doing: http://image.noelshack.com/fichiers/2022/12/1/1647897798-hanging-off-co…

 

I'm really desperate for help guys. I can NOT have floating trees in this dimension. Especially this one. There were a few random ones in the floating island dimensions but I was okay with it. But not here. I need these trees to stay on the ground. What I was thinking is maybe there is some procedure that would check if the block is wood, AND if the block below the wood is air, then it would replace the air with the wood all the way until it reaches the ground. I'm not super super advanced in coding, so I don't know how to do this. Or if this would even be possible. Please someone help me :(

@Klemen

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just noticed my images didn…
Mon, 03/21/2022 - 21:31

Just noticed my images didn't upload. Here they are: 

 

Proper generation: Good Tree Generation

 

 

Floating Generation: 

Floating Tree Generation

 

 

Overhanging Generation:

Overhanging Tree Generation

Last seen on 13:37, 4. May 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok so what you want to do to…
Tue, 03/22/2022 - 02:57

Ok so what you want to do to fix this is find the world where you originally created the schematic for the tree and edit it so that it has the "Save" structure block right below the tree like this V

Tree

and then use that new tree schematic to replace the current one, then make a structure spawn condition that looks like this V

(but with your custom grass blocks)

this

It should work, all though i have not tested this specific procedure. Give it a try, tell me if it doesn't work and what happens.

Last seen on 13:37, 4. May 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also you might want to make…
Tue, 03/22/2022 - 02:58

Also you might want to make the structure spawn Y offset down by one.

I feel like it should save …
Tue, 03/22/2022 - 06:58

I feel like it should save "true" value in local variable, because for now it looks like it will always return "false" (it is the last "task", procedures work a bit differently than Java code)

Last seen on 13:37, 4. May 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is just how conditions…
Tue, 03/22/2022 - 17:25

This is just how conditions work in MCreator, I've made plenty, this should return true.

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll try this right now guys…
Tue, 03/22/2022 - 20:10

I'll try this right now guys and I'll lyk how it goes! Thanks for replying to me :D

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it didnt work bro :((((((((…
Tue, 03/22/2022 - 20:36

it didnt work bro :(((((((( its still doing the exact same thing :(

what i did was re make the tree structure exactly how u said, with the corner blocks and the save block underneath the tree like u said, and then i saved it as a new structure. then i went in and went into the structure mod element and clicked "additional generation condition, created that procedure u showed me, saved mod element, loaded the game, and it was still the same :( please tell me theres something else i can do because i definitely need these trees to be on the ground lol 

Last seen on 13:37, 4. May 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If they are all floating all…
Tue, 03/22/2022 - 20:57

If they are all floating all you need to do is make the structure spawn Y offset -1.

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but some are still floating…
Tue, 03/22/2022 - 20:59

but some are still floating 15-20 blocks off the ground like they were in that picture :(

Last seen on 13:37, 4. May 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you send me a screenshot…
Tue, 03/22/2022 - 21:47

can you send me a screenshot of your tree structure?

Last seen on 13:37, 4. May 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In MCreator.
Tue, 03/22/2022 - 21:48

In MCreator.

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i can as soon as i get home…
Tue, 03/22/2022 - 22:01

i can as soon as i get home from this meeting im at! will u be available in 2 ish hours? 

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what exactly do u mean bro?…
Wed, 03/23/2022 - 01:21

what exactly do u mean bro? do u mean a screenshot of the structure in game? the way its spawning? or the mod element in mcreator? sorry im just a lil confused and i wanna make sure i send u the right thing lol 

Last seen on 01:30, 29. Nov 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well if u mean the mod…
Wed, 03/23/2022 - 01:29

well if u mean the mod element then here ya go:

image