Update Tick Procedure for Spawning Tall Plant

Started by Tucson on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update Tick Procedure for Spawning Tall Plant

I want to make a new plant like tall grass and rose bush that spawn in a biome, but I was hoping someone could show me what the Update Tick procedure would look like for the bottom block if I wanted the top block to spawn on top of the bottom one. There is this thread (https://mcreator.net/forum/43203/how-do-i-create-plant-two-blocks-tall-when-placed-peony), but I was not able to open up the file.

Thanks

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
might have to add a few…
Wed, 07/01/2020 - 05:30

might have to add a few things in the update tick procedure to check the blocks.. this only affects creative mode though.

In survival the player would never see the blocks, as long as you have them both drop the plant item itself like the cactus, the blocks would always drop the plant item, so the player can't place them wrong.