Started by
yorik
on
Topic category: Help with Minecraft modding (Java Edition)
Hello. Right now I'm making a mod for minecraft and I want to make a mob that would only spawn on trees (i.e. only on leaves blocks). How could I do it?
Edited by yorik on Wed, 07/20/2022 - 10:11
I could be wrong but I think after you set a mob up ( such as making it a creature/mob ) you can change the block material it spawns on via code ( I could be wrong though )
Hm. I can't find this parameter in the code. And so, I'm not really versed in java script code.