Skip to content

12-certain-blocks-with-the-tag-base_block_allow-are-unable-to-have-block-variants-generated#13

Merged
F-3-R-R-3 merged 5 commits into
masterfrom
12-certain-blocks-with-the-tag-base_block_allow-are-unable-to-have-block-variants-generated
Mar 18, 2026
Merged

12-certain-blocks-with-the-tag-base_block_allow-are-unable-to-have-block-variants-generated#13
F-3-R-R-3 merged 5 commits into
masterfrom
12-certain-blocks-with-the-tag-base_block_allow-are-unable-to-have-block-variants-generated

Conversation

@F-3-R-R-3

Copy link
Copy Markdown
Owner

No description provided.

- leaf blocks
- sand
- gravel
- concrete powder
…ase_block_allow-are-unable-to-have-block-variants-generated' into 12-certain-blocks-with-the-tag-base_block_allow-are-unable-to-have-block-variants-generated
@F-3-R-R-3

Copy link
Copy Markdown
Owner Author

@codex review

1 similar comment
@F-3-R-R-3

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca7ead9225

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

GraphicsMode currentMode = MinecraftClient.getInstance().options.getGraphicsMode().getValue();
if (lastGraphicsMode != currentMode) {
lastGraphicsMode = currentMode;
ReshapedClient.refreshVariantRenderLayers();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Move render-layer remap out of in-world tick

ReshapedClient.refreshVariantRenderLayers() is now called from END_CLIENT_TICK after client.world is non-null, which means it remaps blocks via BlockRenderLayerMap.putBlock while a world is already loaded. Fabric’s BlockRenderLayerMap contract requires these mappings to be done before world load/rendering, so changing graphics mode in-game can trigger unsupported remaps that lead to renderer-dependent glitches or instability instead of a safe layer update.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

can you setup an issue about this?

@F-3-R-R-3
F-3-R-R-3 merged commit d0bf996 into master Mar 18, 2026
2 of 3 checks passed
@F-3-R-R-3
F-3-R-R-3 deleted the 12-certain-blocks-with-the-tag-base_block_allow-are-unable-to-have-block-variants-generated branch March 18, 2026 20:48
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.

Certain blocks with the tag "base_block_allow" are unable to have block variants generated

1 participant