-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobs repellant for spawn #38
Comments
IF Eden uses mobs redo mod : mobs_spawn_protected If set to 1, mobs will not spawn in protected areas. Type: int Source: https://antummt.github.io/mod-mobs_redo/api.html#mobs_spawn_protected |
yes, I just found that. However, this would prevent mobs from spawning in many places; we just want to stop them from spawning at our player spawn point. |
I found out that mob spawning is handled in the -- don't spawn mobs inside the player spawn region
if not (pos.x > -100 and pos.x < 100)
and not (pos.y > 0 and pos.y < 40)
and not (pos.z > -100 and pos.z < 100) then
return
end The server could have another custom mod for this, so this isn't removed with the next update of mobs_redo. |
Nice research. I propose that we actually author a change for the I can code this up in a few days, unless someone beats me to it. |
We need to find a way to make mobs not spawn in the spawn area (-100, 0, -100) to (100, 40, 100)
The text was updated successfully, but these errors were encountered: