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

Create 0994-Add-Mob-Spawner-support-to-AffectsSpawning.patch #9577

Closed
wants to merge 1 commit into from
Closed

Create 0994-Add-Mob-Spawner-support-to-AffectsSpawning.patch #9577

wants to merge 1 commit into from

Conversation

TreemanKing
Copy link
Contributor

Introduce API for Mob Spawner support for AffectsSpawning to allow different type of spawning types. The reason for this as it would allow for the ability to only prevent natural spawns and keep mob spawns from spawners.

Originally I was just going to create another get/set, however, the code for checkDespawn is quite hard to change without breaking a previous patch hence I opted for editing original API by adding an extra boolean to the get (public void setAffectsSpawning(boolean affects, boolean affectsMobSpawners))

I believe everything should work by common sense but unsure if I've missed or possibly stuffed something up as it's my first time meddling around with this.

@TreemanKing TreemanKing requested a review from a team as a code owner August 5, 2023 11:11
@github-actions
Copy link

github-actions bot commented Aug 5, 2023

Please do not open pull requests from the master branch, create a new branch instead.

@github-actions github-actions bot closed this Aug 5, 2023
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