Mob replaces certain Block with air

Started by squib___ on

Topic category: Help with MCreator software

Active 2 years ago
Joined Mar 2020
Points:
678

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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.

 

Active 2 years ago
Joined Mar 2020
Points:
678

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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.

Active 3 years ago
Joined Mar 2020
Points:
1259

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1149
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]

Active 2 years ago
Joined Mar 2020
Points:
678

User statistics:

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

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

Active 3 years ago
Joined Mar 2020
Points:
1259

User statistics:

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

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