Skip to content

Replace non-functional StructureSpawnListGatherEvent with StructureModifiers#8717

Merged
LexManos merged 8 commits intoMinecraftForge:1.19.xfrom
pupnewfster:spawn_list_gather
Jun 14, 2022
Merged

Replace non-functional StructureSpawnListGatherEvent with StructureModifiers#8717
LexManos merged 8 commits intoMinecraftForge:1.19.xfrom
pupnewfster:spawn_list_gather

Conversation

@pupnewfster
Copy link
Copy Markdown
Contributor

@pupnewfster pupnewfster commented Jun 11, 2022

General concept of this PR is that it adds a way to modify structure settings similar to how BiomeModifiers work. Also patches NaturalSpawner#mobsAt to redirect nether fortress' from reading a hardcoded list to reading the list from its overrides (which by default contains the same elements).

One thing I am unsure about is if we may want to extract the Phase enum up a level and just rename it to ModifierPhase rather than having duplicates but I held off on doing so at least for now as that would break biome modifiers slightly and I am unsure how worthwhile it is breaking that system so soon after it was added.

@pupnewfster pupnewfster added Feature This request implements a new feature. BreakingChange This request includes a change that would break compatibility with current versions of Forge. 1.19 labels Jun 11, 2022
@pupnewfster pupnewfster marked this pull request as ready for review June 11, 2022 18:19
@pupnewfster pupnewfster added the Triage This request requires the active attention of the Triage Team. Requires labelling or reviews. label Jun 11, 2022
@marchermans marchermans added Assigned This request has been assigned to a core developer. Will not go stale. and removed Triage This request requires the active attention of the Triage Team. Requires labelling or reviews. labels Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.19 Assigned This request has been assigned to a core developer. Will not go stale. BreakingChange This request includes a change that would break compatibility with current versions of Forge. Feature This request implements a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants