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

Advancements don't consider splash water bottles to be potions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.14.4, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, 20w11a, 20w13a, 20w14a, 20w15a, 20w16a, 20w19a, 20w20a, 20w28a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Advancements
    • Mojang Priority:
      Low

      Description

      The Bug

      Using the criteria

      "criteria": {
          "water_fight": {
            "trigger": "minecraft:player_killed_entity",
      	  "conditions": {
      		"killing_blow":{
      			"direct_entity": {
      				"type": "minecraft:potion"
      			}
      		}
            }
          }
        },
      

      one would expect that any potion would work, as long as it actually kills an entity, but although this code allows the advancement to be triggered when a damage or healing potion is used to kill an entity, in the case of killing a blaze with a splash water potion, it fails to trigger.

      This is odd, because if you take the "killing_blow" condition away, it triggers using splash water potions just fine. It even considers it to be "is_magic" correctly. It's only if you specify that it's a potion that it fails.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              paint Paint
              Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: