Plants on grass transforming the grass to dirt

Started by Cyonai on

Topic category: Help with modding (Java Edition)

Last seen on 05:36, 14. May 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Plants on grass transforming the grass to dirt

So, haven't had any problems yet. I've been making a dimension and I'm encountering this weird problem with plants'n'grass. I've tried to do this simple vanilla tick thing, when you place a block on a grassblock, the grassblock becomes dirt. sounded simple and worked. The problem is, the same happens, whenever I put a plant on it. In other words:

A flower makes a grassblock become dirt.
My procedure looks something like "if y+1 air set grass, else dirt"

I do not know how to make exceptions in this. I've looked for quite a while now, can't find anything.

 

aand, is there "do nothing" thingy in the procedure-creator menu? haven't found it, others are talking about that.

Sorry, if there were any spelling/grammar mistakes. Pretty early here in germany, haha.

Last seen on 00:09, 21. Jun 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe it's because de block…
Thu, 01/28/2021 - 20:55

Maybe it's because de block being detected in the top of your grass is taked like a specific block. The block type you're trying to detect it's a not solid block, like flowers or torches

like this

you can do it with this procedure

like this

Sorry about the delay.

Last seen on 00:30, 24. Aug 2023
Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah I think the OP has…
Thu, 01/28/2021 - 21:00

Yeah I think the OP has either done something else or solved this long ago, lol