Topic category: Help with Minecraft modding (Java Edition)
I am trying to add custom grass-like block that generates in end dimension but I have encountered a few problems...
1. I can't get to make it generate only on surface. Even though I added a tick update which causes it to turn into endstone after being covered by another block, the naturally generated ones seem to disobey that rule. I don't know how to add the extra generating procedure, it just doesn't work when i do that.
2. I have managed to make it spread a little by bonemealing it but that caused another problem. I can't put any blocks on it unless I'm crouching.
3. I wanted to make it spawn in a biome but appearently biomes can only spawn either on surface or in custom dimensions. If there is a way to add biomes to end, please tell me.
If anyone can help me, I will be really grateful. If you can, please show me the correct code for that.
make a procedure that checks if the block that is on top of the grass is endstone, if yes, turn the grass to endstone and turn the upper endstone to grass
im srry i havent used mcreator in a long time