cccbridge icon indicating copy to clipboard operation
cccbridge copied to clipboard

Advancement loading error on startup

Open tmvkrpxl0 opened this issue 1 year ago • 4 comments

Description Insert a clear and concise description of what the bug is. This error is printed on startup:

[06:19:57] [main/ERROR] [minecraft/ServerAdvancementManager]: Parsing error loading custom advancement cccbridge:place_animatronic: Failed to parse 'location' field
[06:19:57] [main/ERROR] [minecraft/ServerAdvancementManager]: Parsing error loading custom advancement cccbridge:place_redrouter: Failed to parse 'location' field

and I believe advancement is not working correctly due to this.

To Reproduce Steps to reproduce the behavior:

  1. Install cccbridge
  2. Start world. Preferably on dedicated server as the output is more cleaner.
  3. Observe that error

Expected behavior Insert a clear and concise description of what you expected to happen. I expected advancement to word without issue.

Software (please complete the following information):

  • Minecraft Version 1.20.1
  • Mod Version 1.6.3
  • ModLoader: Forge 47.2.30

tmvkrpxl0 avatar Apr 27 '24 22:04 tmvkrpxl0

According to official source, "conditions" must contain "location" field. But advancements of cc bridges does not. Below is part of place_redrouter.json

    "criteria": {
        "placed_redrouter": {
            "trigger": "minecraft:placed_block",
            "conditions": {
                "block": "cccbridge:redrouter_block"
            }
        }
    }

It just contains "block"

tmvkrpxl0 avatar Apr 27 '24 22:04 tmvkrpxl0

Thank you for this issue! Yeah that indeed seems to be a mistake from my side. I will try to fix this.

SammyForReal avatar Apr 27 '24 23:04 SammyForReal

when?

tmvkrpxl0 avatar Aug 05 '24 20:08 tmvkrpxl0

when?

tmvkrpxl0 avatar Sep 14 '24 14:09 tmvkrpxl0