Skip to content
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

No monsters underground on day server #262

Open
2 tasks
Svahnen opened this issue May 27, 2022 · 4 comments
Open
2 tasks

No monsters underground on day server #262

Svahnen opened this issue May 27, 2022 · 4 comments

Comments

@Svahnen
Copy link

Svahnen commented May 27, 2022

Info

This is:

  • [x ] bug report
  • feature request
  • other

Your issue / suggestion

Im guessing monsters only spawn at night, even under ground, cus on my server thats always day time i get no monsters in caves unless i set it to night time.

Configuration

Link to debugpaste:

<!-- Run debugpaste command and put the link here -->

Config:

<!-- Put your config.yml contents here  -->
@Svahnen
Copy link
Author

Svahnen commented May 27, 2022

Is there a hint somewhere where I can begin to look through the code for a way to try and work around this problem? Maybe having spawning occur below a specific z level at all time

@Svahnen
Copy link
Author

Svahnen commented May 27, 2022

I have gotten somewhere by adding || pos.y < 50 for the monsters that should spawn underground, like for example line 29 in SpiderSpawner.java

I have no idea what values should be used or if there is a better way of doing this. This way would not work if the cave was located in a mountain above the height of 50 however. If there is a way to detect the current "ground" level then that would be an improvement.

@Svahnen
Copy link
Author

Svahnen commented May 28, 2022

I tried using blockLightLevel < 1, but it seems that it does not count the sunlight.

@silas0526
Copy link

Close issue. It works fine for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants