Need help with sapling

Started by SabretoothSasquatch on

Topic category: Help with modding (Java Edition)

Last seen on 18:06, 10. Mar 2023
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with sapling

Hi there everyone, so I am making a custom tree for my mod and I followed the growable sapling tutorial by NorthWestTrees Gaming. The procedures compiled fine and I think I did everything fine, the sapling item places the block on the ground as the tutorial says it should, but the sapling never grows. I suspect I formatted the "modidRandomGrowChance" part wrong. The way I set it was "Sakurasapling1". If someone could help explain that part and if I had formatted it wrong and how to format it, it would be greatly appreciated! Thanks a bunch!

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did this once to make cave…
Sun, 08/02/2020 - 18:04

I did this once to make cave roots grow in my mod Cavecraft: Cave Update. You need to make 2 procedures one will be the right clicked procedure for the sapling. The first procedure is is item in entitys hand bone meal if true 50% chance to remove block at x y z then spawn the structure. The structure is the tree that you would build and import to mcreator since it would be using structure blocks. The second procedure is on tick update. First open the sapling block you have then select the option tick randomly. The procedure is 10% chance to remove block at x y z then spawn the tree structure. Done I hope this helps you

Last seen on 18:06, 10. Mar 2023
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The bonemeal one is very…
Sun, 08/02/2020 - 18:10

The bonemeal one is very useful to note, but I did the rest as the tutorial I followed had said, and my tree just doesn't grow naturally.

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make sure your sapling block…
Sun, 08/02/2020 - 18:51

make sure your sapling block has tick randomly enabled. Once thats enabled make a procedure for the tick update. The procedure is 10% chance to remove block at x y z then spawn structure ___. The underscore represents the name of the structure. You can always change the random tick speed to 1000 using commands then the sapling should grow almost instantly. Also the command is for a testing world to see if it grows. The command I mentioned is /gamerule randomtickspeed 1000

Last seen on 18:06, 10. Mar 2023
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did exactly that, I…
Sun, 08/02/2020 - 19:31

I did exactly that, I enabled random ticks for the sapling and after 10 mins it never grew. Here's a link to some screenshots of my procedures, I think the part that says "Sakurasapling1" was formatted badly due to the 1 being the RandomGrowChance the video shows, but feel free to take a look and tell me what I got wrong https://imgur.com/a/8iWr81g

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I checked right before I…
Sun, 08/02/2020 - 20:11

I checked right before I commented and labeled them.

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you just need to use…
Sun, 08/02/2020 - 20:12

you just need to use structure blocks and build the tree then import the structure from minecraft

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Structure blocks can be…
Sun, 08/02/2020 - 20:28

Structure blocks can be obtained using /give @s structure_block

Last seen on 18:06, 10. Mar 2023
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got the bonemeal procedure…
Sun, 08/02/2020 - 21:07

I got the bonemeal procedure to work, thanks for that! But can I see your update tick procedure? That's the one I'm having most trouble with

Last seen on 18:06, 10. Mar 2023
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I honestly don't know where…
Sun, 08/02/2020 - 21:26

I honestly don't know where I went wrong, but it just won't grow with the random tick, even when I do the same thing as yours

Last seen on 18:06, 10. Mar 2023
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, I got it to work now!…
Sun, 08/02/2020 - 21:31

Hey, I got it to work now! Thank you so much for the help!! I wish you luck with your mods!!!

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! Also I recently…
Sun, 08/02/2020 - 22:57

Thanks! Also I recently found a new thing in 2020.4 which lets you make entitys only spawn on certain y levels

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using a new procedure block
Sun, 08/02/2020 - 22:59

Using a new procedure block