Started by
bardo
on
Topic category: Help with Minecraft modding (Java Edition)
So, I have this small mob (less than 1 block in size). I need it to spawn in caves. I almost managed to do this using a procedure, but with my current setup, it's only spawning near lava.
Here is my procedure: https://imgur.com/a/NWPL3C3
Here is my spawning tab: https://imgur.com/a/Qqy5AUR (weight = 500 for tests)
So umm quick thing that WILL crash your world beacuse you know that thing set to 500? That is the spawn wait. And the spawn wait conrtols how often the entity spawns. A more reasonable spawn wait would be like maybe 40 and thats on the high side
Oh sorry I didn't read the 3rd line on the title nvm
No way I miss-typed "weight" like 6 times in a row
lol thats cool, i thought i was the one who couldn't find the right option.
So, i remove the spawning condition and create a on initial entity spawn procedure, and now they dont spawn at all
I'm seriously considering just letting it spawn near lava
Just making sure but, did you attach the condition to the spawning condition and is it still trying to bind to that condition?
No, I deleted the spawn condition and left only the trigger "on initial..."
Maybe try editing the procedure to only check if the sky is visible but, idk if it will work
if it doesn't work I'm kinda out of ideas. But there are probobly other forums on it so idk
It still not working, ill just leave it spawning near lava, maybe my mob only likes hot places.
Thank you so much for your help, really. If I ever find the solution, ill come back to this post.
For now, the bug has become a feature.
Yeah, sorry it didn't work.
try removing the "get light level" and the < 3 operation
and also when i copied your procedures it works just fine so maybe its the mcreator version or generator
Yeah, I think it's probably the MCreator version, since I tried recreating the procedure in the latest version and it worked perfectly. It's a shame I'm building the whole mod in 2024.4
Let me find the solution on 2024.4