i just noticed i created a bug report, i didn't notice when creating it, i clicked on the "report to mojang" button in the launcher when it kept crashing, not realising it would create a bug report (wich seems pretty logical afterwards). i'm sorry, but still thanks for helping me out
oh okay, thanks for helping me out 🙂
FIXED
i know the difference, when the item id of dirt is set to 1, it looks normal, but in the f3 menu, on the top left, after variant, "grassless" shows up (see screenshots).
this means, no grass can grow on it. so it isn't a bug :/
the only difference i can remember is that i restarted my game in between the two tests, before and after you commented about it not working...
i don't know if it has anything to do with the level.dat, because it was fixed after i went into a different world.
this world is the world where the dirt growing problem is fixed though, after i went in to a new world and back in to this one...
as kumasasa said, i tried it in a new world, without the gamerule, and it started spreading onto the dirt placed by the command block.
i tried again in the world i discovered it in, and now it works there too, even with the gamerule on.
i am confuzzeled...
i am sorry, i copied the wrong command. the command i was supposed to copy was:
/execute @a ~ ~ ~ fill ~ ~-1 ~ ~ ~-3 ~ minecraft:dirt 1 replace minecraft:air
when a grass block is placed next to it, it doesn't spread onto the placed dirt
/execute @a ~ ~ ~ fill ~ ~-1 ~ ~ ~-3 ~ minecraft:grass 0 replace minecraft:air
so it was a duplicate, i'm sorry