CC:C Bridge

CC:C Bridge

6M Downloads

Advancement loading error on startup

tmvkrpxl0 opened this issue ยท 7 comments

commented

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
commented

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"

commented

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

commented

when?

commented

when?

commented

fixccc.zip
I've been using this datapack. Perhaps you could look into this?

commented

Thank you, this will be fixed in the next update

commented

Thank you for your patience and your efforts. This has now been fixed in 733c03f,
which will be available in the next update