Mob replaces certain Block with air

Started by squib___ on

Topic category: Help with MCreator software

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob replaces certain Block with air

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.

 

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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]

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:".

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.