Skip to content

Fix invisible light blockstate warning#273

Open
JIAFALSEDREAM wants to merge 1 commit into
Xalcon:mc/1.21.1from
JIAFALSEDREAM:fix/invisible-light-blockstate
Open

Fix invisible light blockstate warning#273
JIAFALSEDREAM wants to merge 1 commit into
Xalcon:mc/1.21.1from
JIAFALSEDREAM:fix/invisible-light-blockstate

Conversation

@JIAFALSEDREAM
Copy link
Copy Markdown

@JIAFALSEDREAM JIAFALSEDREAM commented May 18, 2026

This fixes the invisible light blockstate being an empty JSON object.

On 1.21.1 the client logs this during resource reload:

[Worker-ResourceReload-10/WARN] [net.minecraft.client.resources.model.BlockStateModelLoader/]: Exception loading blockstate definition: 'torchmaster:blockstates/invisible_light.json' missing model for variant: 'torchmaster:invisible_light#'

The block is still invisible; this just gives it a valid empty model and uses the vanilla light particle texture as a fallback.

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.

1 participant