Started by
VioletPyre
on
Topic category: Help with Minecraft modding (Java Edition)
Hello ! My monsters , since i updated on 2020.4 (old was 2020.2 and its been a long time and i still haven't found a solution) , my mobs spawns at a way higher light level. A regular monster spawns at light 7 and less, mine apparently spawns at light like 11 , 12 , 10 maximum. It is really annoying because they spawn almost everywhere except at full light (13+) or during the day.
Is there anything i could do ?
I dunno why this would happen, but a possible way to fix it would be to set in the addition requirements, a procedure that returns get light value of block at X Y Z < 8. Or something like that.
pretty sure it would just be Return: (Get light value of block at X Y Z) < (8).
This should have it check if the light value where it wants to spawn the entity is less than 8, so 7 and below. If so it returns true allowing it to spawn. If the value is higher, it returns false and it wont spawn.
I think this should work. Hope this helps.
This might help https://mcreator.net/wiki/mob-spawning-parameters
Hmm. So it may be what i think it is : This mob is the ONLY one to spawn in that biome (for now, i use them as a substitute since this biome hasn't its "true" mobs right now.) so this biome kinda stays hostile. Now i'm thinking the game tries to spawn them absolutely everywhere it can but I still wouldn't understand why would it break the [light < 7] thingy
Also you told me about "Conditions" , I can't understand how to make them in function. I cannot let a procedure without an output but i don't want the Condition to do another random thing, unless i have to put [Spawn mob of type [CUSTOM:shadowspider] ]