Mojira Archive
MC-127632

Advancements granted that have an "impossible" trigger don't grant rewards

Granting an advancement with a "minecraft:impossible" trigger using /advancement grant does not give the player any of the listed "rewards"
Here is a simple example:

{
	"display": {
		"title": "test",
		"description": "",
		"icon": {
			"item": "minecraft:potion"
		},
		"show_toast": true,
		"announce_to_chat": true	
	},
	"parent": "test:parent",
	"criteria": {
		"impossible_trigger": { 
			"trigger": "minecraft:impossible"
		}
	},
	"rewards": {
	    "function": "test:function_reward",
		"loot": [ "minecraft:entities/blaze" ]
	}
}

assuming the rewards are available, this results with nothing. Changing the "trigger" to something else will successfully grant the rewards when using the /advancement grant command.

Invalid

MukiTanuki

2018-03-25, 02:45 PM

2018-03-31, 12:45 PM

2018-03-29, 11:01 PM

0

1

Unconfirmed

advancement, impossible, rewards, trigger

Minecraft 18w11a

-