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

Localization and meta-blocktypes #43

Merged
merged 6 commits into from
Aug 4, 2023
Merged

Localization and meta-blocktypes #43

merged 6 commits into from
Aug 4, 2023

Conversation

falkreon
Copy link
Member

@falkreon falkreon commented Aug 4, 2023

  • Moves localization off of mixins and onto ordinary TranslatableTexts supplied by the BlockItem subclass. Should produce identical results for both current and legacy translation keys.

  • Allows localization overrides (see Create uk_ua.json #42) - for example, block.architecture_extensions.minecraft.stone_arch for the block architecture_extensions:minecraft/stone_arch

  • Adds meta-blocktype selectors in the staticdata schema. Allows people to future-proof by specifying #stone as a blockType instead of copying in every type stone blocks use.

  • Adds a 'creative' recipeConfigurator that will result in no recipes being generated.

  • Adds renderLayer to GroupedBlock, and render_layer key to the static-data schema, so you can use translucent base blocks

@falkreon falkreon marked this pull request as ready for review August 4, 2023 06:18
Copy link
Contributor

@maximumpower55 maximumpower55 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me except for one very very small nitpick

Copy link
Collaborator

@woodiertexas woodiertexas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Collaborator

@woodiertexas woodiertexas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

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.

3 participants