Bonemeal for sand?

Started by Aksumite on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bonemeal for sand?

I would like to have bonemeal create my custom desert plants just like how bonemeal works on grass blocks.

Thanks :D

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could create a procedure…
Sun, 06/28/2020 - 19:12

You could create a procedure that activates on (Player right clicks on block), and when the player in question has bonemeal in their main hand and the block clicked is sand, you could spawn a bunch of plants on top of the grass.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
plants like grass* or plants…
Sun, 06/28/2020 - 19:13

plants like grass* or plants that normally generate in deserts such as cacti.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah I know how to do the…
Sun, 06/28/2020 - 21:05

Yeah I know how to do the right clicking, I’m just not sure how to make the desert plants generate randomly in different places on top of the sand

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make your flowers generate…
Thu, 07/30/2020 - 07:09

make your flowers generate at different Xs and Zs axis.. from where you click, you can make it go around it.

So on your right click procedure, add block to X+1, y, z.. add block to X-1, y, z..  etc.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make this out of procedure…
Thu, 07/30/2020 - 07:41

Make this out of procedure blocks

When global RIGHT CLICK

IF block = sand AND item in main hand = bonemeal

DO {

IF random (0,1) > 50, AND get block at x y+1 z = air, DO {place cactus at x y+1 z}

IF random (0,1) > 50, AND get block at x+1 y z = sand, AND get block at x+1 y+1 z = air, DO {place cactus at x+1 y+1 z}

}

Duplicate the second "random (0,1)" line with different coordinates for each block you want to have a chance to place a cactus. (The first line doesn't need to check if the x y z block is sand, because you clicked on that block and checked for sand already.)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will try it out, thanks!
Thu, 07/30/2020 - 21:34

I will try it out, thanks!

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome! Tell me if…
Thu, 07/30/2020 - 23:47

You're welcome! Tell me if you have any problems with it!