Started by
Arkenia
on
Topic category: Help with Minecraft modding (Java Edition)
[1.15.2; 2020.5]
I wanted to have grass grow atop Netherrack and Endstone, to give an much-needed appearance boost to the Nether and the End, but no matter what I try, nothing works. I figured it would be a simple case of having an additional generation condition to that sees it replacing the desired block if air is above it, and I'm sure it still is, but I can't figure out exactly by what method, and in the only even close to related topic I could find, they have this bit already figured out and are trying to fix something else with it, which doesn't help me.
Well first of all make your custom blocks and in the generation put them into nether or end, replace endstone or netherrack and in the generation condition put this:
if get block x y+1 z = true
return true
return false
Whenever I try to put "return true" or "return false" it errors "procedure that uses return value must always end with a valid return block".