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

[Enchantment] Use setSpawnFlags() to control monster spawning #1469

Open
MarioG1 opened this issue Jul 30, 2014 · 3 comments
Open

[Enchantment] Use setSpawnFlags() to control monster spawning #1469

MarioG1 opened this issue Jul 30, 2014 · 3 comments
Labels
State: Open to PR Open to anyone who frees like contributing to MV. Type: Idea Suggestion for a new feature or enhancement.

Comments

@MarioG1
Copy link

MarioG1 commented Jul 30, 2014

At the moment you just cancel the spawn events of mobs/animals to control mob/animal spawning. A much better way is to use setSpawnFlags(boolean allowMonsters, boolean allowAnimals) to disable/enable monster and animals pawning.

This will also fix #1424 in an better way. The gamerule doMobSpawning prevents all mobs (animals and monsters) from spawning.

@MarioG1
Copy link
Author

MarioG1 commented Aug 1, 2014

@dumptruckman @fernferret you should look into the PropertyValidator's in MVWorld.java because the are never called which leads to some problems/not working foundations.

@FlippantCactus
Copy link
Contributor

If you have a suggestion about spawning mobs, by all means, make pull request.

@dumptruckman
Copy link
Member

The current spawn control is somewhat of a mess. The future of multiverse likely does not include individual mob type control and will use the more efficient means available in bukkit. If you want to make a PR updating this feature, please do.

@dumptruckman dumptruckman reopened this Aug 1, 2014
@benwoo1110 benwoo1110 added the State: Open to PR Open to anyone who frees like contributing to MV. label Nov 7, 2020
@fernferret fernferret removed their assignment Aug 13, 2022
@benwoo1110 benwoo1110 mentioned this issue Feb 10, 2023
75 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
State: Open to PR Open to anyone who frees like contributing to MV. Type: Idea Suggestion for a new feature or enhancement.
Projects
None yet
Development

No branches or pull requests

5 participants