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

Add a BiomeCategories API #2338

Merged
merged 3 commits into from
Jun 24, 2023
Merged

Add a BiomeCategories API #2338

merged 3 commits into from
Jun 24, 2023

Conversation

me4502
Copy link
Member

@me4502 me4502 commented Jun 17, 2023

This PR adds BiomeCategories, and reworks the category registry system to make it provided by the platform rather than pulling from the platform. Expanding this would heavily cleanup the code.

There are some open design questions though, the main ones being:

  • Rather than passing a set to the category, should it receive a Supplier?

This PR mostly uses the new category type as a demo for the API changes; will follow up with entity categories too after this is all sorted

Fixes #2331

@me4502 me4502 requested a review from a team June 17, 2023 11:54
…system, but still retaining the inversion of control that this PR was intended to provide
@me4502 me4502 merged commit 6136382 into master Jun 24, 2023
@me4502 me4502 deleted the feature/biome-categories branch June 24, 2023 05:11
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.

Provide BiomeCategories class a la BlockCategories, ItemCategories
2 participants