Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-127632

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

XMLWordPrintable

    • Unconfirmed

      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.

            Unassigned Unassigned
            MukiTanuki MukiTanuki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: