Weird Sapling Bug

Started by Yusufhum3 on Wed, 07/24/2019 - 20:18

Topic category: Bugs and solutions

Last seen on 08:20, 3. Jul 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Weird Sapling Bug
Wed, 07/24/2019 - 20:18

So I was making a custom tree in MCreator 1.9.0. I made a custom sapling and a schematic but because the schematic generates air and destroys blocks in close range I made a procedure  for the custom sapling OnBlockRightclicked. If the Player has bonemeal in Hand it would place every block (logs and leaves) manually with the Place block at xyz block It has a 60% Chance of working so that it has the normal vanilla bonemeal like behavior and it works fine but sometimes when you click rightclick with bonemeal in Hand the tree generates but the sapling still stays in place until you use bonemeal again and if you rightclick the leaves and logs that generated the blocks just dissapear weirdly. If you have any solution to this pls help Thank you.

Last seen on 03:01, 7. Jul 2020
Joined Aug 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Put your custom tree in a…
Sun, 07/28/2019 - 18:16

Put your custom tree in a nbt file. For that, just use the structure block, and don't copy air.

Last seen on 09:37, 7. Jul 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Wow, I never knew about the…
Mon, 07/29/2019 - 19:12

Wow, I never knew about the don't copy air thing...

I had just been filling the structure with structure void. This sounds a lot quicker and easier!