Plants on grass transforming the grass to dirt

Started by Cyonai on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined May 2020
Points:
635

User statistics:

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

Active 4 years ago
Joined Jan 2021
Points:
591

User statistics:

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

Active 2 months ago
Joined May 2014
Points:
1036

User statistics:

  • Modifications: 3
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 329
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