How do I remove crops when blocks under it are destroyed?

Started by SilentkillarMC on

Topic category: Help with MCreator software

Last seen on 12:01, 1. Apr 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I remove crops when blocks under it are destroyed?

So I've finally come up with procedures to make my plants grow up to 3 blocks high. Now I just need to make a procedure that deletes the whole crop if the the block underneath them is destroyed. I did come up with a procedure, but it turns out to be really slow, almost like the tick update procedure is not being called quickly enough. I can destroy the block underneath but then they react maybe 2-3 seconds after? What I did was to run a if/do loop to check whether the block underneath is air, if yes then remove block.

How can I make this as fast as in standard vanilla minecraft?

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think there is a way…
Wed, 04/01/2020 - 00:25

I don't think there is a way except for setting the crop as plant type.

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
IF Is Air at Y-1 Than    …
Wed, 04/01/2020 - 09:14

IF Is Air at Y-1 Than
    Remove block 
 

Last seen on 12:01, 1. Apr 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Interesting! Do you reckon I…
Wed, 04/01/2020 - 12:02

Interesting! Do you reckon I'd be able to use the same growth procedures for a plant type? They're currently block type