Started by
KaidinOk
on
Topic category: Help with Minecraft modding (Java Edition)
I've been updating my desert update mod and i've been trying to fix the coyote mob only spawning in the nighttime, monster makes it only spawn in the night, creature makes it spawn on grass blocks only (which isn't very common in the desert) the water spawn types are the opposite of what i want for the spawn and I DONT EVEN KNOW WHAT MISC DOES. Ambient makes it spawn, but from the wiki page, ambient mobs only spawn in the dark, so most coyotes spawn in caves or at nighttime, I am going crazy
i'm still pretty new to mcreator so please don't give me an entire coding lesson if thats necessary
Ok, i fixed it, i almost went insane
Sorry for replying to an old post, but how did you fix it?
its not really a "fix" i just changed the entity base. I still don't know
Ok I figured my stuff out too with a workaround
I have a similar problem but I don't want to use entity base
You can use custom spawn conditions, something like:
(If (((Can block at X Y Z see the sky) And (Is day in provided world)) And (Is block at X (Y-1) Z tagged in (minecraft:sand)))
(return (True))
(Return (False))
Even though I have written this in a code-like format, this can be done with procedures.
It's funny because that's what I did, they just don't spawn a lot.