Skip to content

[1.21.11] Placeholder causes resource reload to fail #1517

@DimaFargry

Description

@DimaFargry

_neoforge-21.11.37

fancymenu_neoforge_3.8.4
konkrete_neoforge_1.9.18
melody_neoforge_1.0.15_


I already wrote about this problem here.
#1513

Image

I spent some time figuring out the issue with my menu and found the cause of the bug.

The bug is related to the use of a placeholder in the background.

The placeholder is used only for testing and as an example.
Whether there is a config, images from the config, or no images at all does not affect the bug — the result is always the same.

Set Background > Image > Choose Image > Open in Editir
{"placeholder":"randomtext","values":{"source":"/config/fancymenu/assets/configs/artmenurandom.txt","interval":"5"}}
or alternatively
{"placeholder":"randomtext","values":{"path":"/config/fancymenu/assets/configs/artmenurandom.txt","interval":"60"}}

The bug is not affected by:

  • The path to the config.
  • Whether the config exists or not.
  • Whether the images specified in the config exist or not.
    The result is always the same. Using a placeholder in the background breaks Minecraft.

To fix the bug, you need to remove the placeholder from the background and restart Minecraft.

On previous versions of Minecraft, everything works correctly.

I need this solution in order to display a random image in the background.

Test files that reproduce the bug:
config_12111_fan_test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions