Skip to content

[Codex suggestion] Move render-layer remap out of in-world tick #14

Open

Description

@F-3-R-R-3

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 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in #13 (comment)

Activity

  1. changed the title [-]**<sub><sub>![P1 Badge](https://img.shields.io/badge/P1-orange?style=flat)</sub></sub> Move render-layer remap out of in-world tick**[/-] [+][Codex suggestion] Move render-layer remap out of in-world tick[/+] on Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions