custom trees floating... how do i prevent this?

Started by Yrense on Sun, 08/16/2020 - 04:33

Topic category: Help with modding (Java Edition)

Last seen on 21:23, 20. Aug 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
custom trees floating... how do i prevent this?
Sun, 08/16/2020 - 04:33

im making custom trees which are essentialy custom structures and when they generate, they sometimes are on a ledge and just floating... it really breaks the environment and if there's a way to fix it, i would love to know!

Last seen on 03:47, 4. Sep 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Usign "Restricts to block…
Sun, 08/16/2020 - 06:04

Usign "Restricts to block type" and using blocks that are placed on the ground(dirt, grass_block, stone...) helps to prevent this I think

Last seen on 21:23, 20. Aug 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
well i already use that…
Sun, 08/16/2020 - 20:25

well i already use that function, but they still spawn half on land and half in the air. ill show you a picture of a good generation VS a bad one...

​​https://image.noelshack.com/fichiers/2020/33/7/1597609423-tree1.jpg good generation

 

https://image.noelshack.com/fichiers/2020/33/7/1597609428-tree2.jpg bad generation

Last seen on 03:47, 4. Sep 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Have you tried the new…
Wed, 08/19/2020 - 04:13

Have you tried the new option of 2020.4 that is "Additional generation conditions" maybe checking that none of the blocks below in a radius is the type air as a condition might fix it 

Last seen on 21:23, 20. Aug 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ill try something like that..
Wed, 08/19/2020 - 20:39

ill try something like that..

Last seen on 06:50, 22. Apr 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I second Sancho's "checking…
Wed, 08/19/2020 - 23:26

I second Sancho's "checking for blocks in radius" fix.

I believe the problem behind this is that the structure is so large x and z wise, it is probably hitting only one original block when trying to spawn and stretching out sideways from there, not realizing that all the other blocks beneath it are air.

Last seen on 21:23, 20. Aug 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i mean, i know what the fix…
Thu, 08/20/2020 - 21:25

i mean, i know what the fix is... i just need to find a way to implement it... i tried for an hour yesterday and just gave up o-o

Last seen on 06:50, 22. Apr 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Which part are you having…
Mon, 08/24/2020 - 22:04

Which part are you having trouble with?

Last seen on 05:27, 6. Dec 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm having the same issues…
Sun, 03/14/2021 - 09:23

I'm having the same issues with my custom tree but I don't understand what I would do with the "check type of block below" procedure template. Do i have it check for grass or air? Then what do I put in the "do" section for after it checks the blocks?

Last seen on 22:12, 5. Dec 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Check for solid blocks.
Mon, 06/28/2021 - 06:42

Check for solid blocks.

Last seen on 01:13, 8. Dec 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You need to spawn structures…
Mon, 06/28/2021 - 08:06

You need to spawn structures through procedures/code to get them to not be cut off and not floating. The code has to fire off before the world generation. I have entire custom villages with five 48x48x48 tiles generation fine. Also have dungeons that work just like rogue dungeons. 

1.16.5

Last seen on 00:14, 8. Dec 2021
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I am having the same problem…
Tue, 10/19/2021 - 20:16

I am having the same problem. the huge oaks that i made are in the air or stuck in the ground.