mojira.dev
MC-119900

advancements not loading

advancements in data/advancements/deathMessages (my namespace) will not load, including an example i got from here that is said to work, as well as this:

{
"display":
	{
	"icon":
		{
		"item":"minecraft:paper",
		"data":0
		}
	"title":"killedBy0",
	"frame":"task",
	"description":"killed by number 0",
	"show_toast":true,
	"announce_to_chat":true,
	"hidden":false,
	}
"requirements:"[["killedDirectly","killedIndirectly"]],
"criteria":
	{
	"killedIndirectly":
		{
		"trigger":"minecraft:entity_killed_player","conditions":
			{
			"killing_blow":
				{
					"direct_entity":
					{
					"nbt":"{Tags:[\"0\"]}"
					}
				}
			}
		},
	"killedDirectly":
		{
		"trigger":"minecraft:entity_killed_player","conditions":
			{
			"killing_blow":
				{
				"source_entity":
					{
					"nbt":"{Tags:[\"pl0\"]}"
					}
				}
			}
		}
	}
}

will not load. I have reloaded several times, and rebooted mc. the game does not recognize them.

Comments 2

Your JSON is invalid. Check https://jsonlint.com/ before you try to load your advancement.

sorry for the waste of time then. I had checked also with a advancement from another report marked CNR with that code, so I didn't bother to chseck this. sorry

Adan Chappuis

(Unassigned)

Unconfirmed

Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1

Retrieved