Topic category: Help with modding
I am making a mod with a grass block, I want it to behave exactly like normal grass. what is the code for grass to spread to dirt? & what is the code for grass to change to dirt when a block is above it?
i could code it to spread to adjacent dirt blocks, but i dont know how to make it change to dirt when a block is on it without coding it for every singe block. any ideas? or code?