Mob replaces certain Block with air

Started by squib___ on Sat, 06/27/2020 - 16:42

Topic category: Help with MCreator software

Last seen on 23:07, 22. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mob replaces certain Block with air
Sat, 06/27/2020 - 16:42

I need help with making a procedure.

Basically, I'm making a mob that eats red mushrooms. It'll try to do this every 12 seconds, and I have a makeshift timer in the form of a potion effect added. (Potion effect is applied when mob spawns, when potion effect runs out, it gets it again). However, it's incomplete.

I need a procedure that checks if the block the mob is in is a red mushroom- then break it. Also, I should probably note the mob is less than a block tall.

 

Last seen on 23:07, 22. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Clarification: If possible,…
Sat, 06/27/2020 - 17:08

Clarification: If possible, I also need it to not break the block if it's not a red mushroom.

Last seen on 21:36, 16. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If: ([Get Block at x y z] = …
Sat, 06/27/2020 - 17:50

If: ([Get Block at x y z] = [red mushroom])

   Do: [Place block at x y z air]

Last seen on 23:07, 22. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"[Get Block at x y z]" doesn…
Wed, 07/01/2020 - 00:57

"[Get Block at x y z]" doesn't fit into "If:".

Last seen on 21:36, 16. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
....you have to put it in…
Wed, 07/01/2020 - 01:09

....you have to put it in the yellow equation block first.