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

Replace the lamps' mob-killing logic with mob-blocking logic. #898

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Baughn
Copy link
Contributor

@Baughn Baughn commented Feb 15, 2019

This should be far more efficient, performing a logarithmic-time operation on every mob spawn -- once. Instead of having each and every lamp search for mobs. It's also more likely to work.

  • Test thoroughly.
  • Find a better data structure, and make this work outside of the 32km by 32km range it has now.

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

Successfully merging this pull request may close these issues.

1 participant