mojira.dev
MC-116980

Trigger enter_block will activate even if not in specified block

I've created a custom advancement but when I use a trigger block with for ex: minecraft:water It will activate even If It Isn't right
advancements in test.zip

Attachments

Comments 5

Can you attach your advancement here?

man... I erased it :v

Can you recreate it, so we would be able to reproduce the issue?

Your conditions for enter_block are set up incorrectly. The "items" list needs to be removed with "block" appearing at the root of the "conditions" object. Fixed advancement:

{
    "display": {
        "icon": {
            "item": "minecraft:water_bucket"
        },
        "title": {
            "translate": "test"
        },
        "description": {
            "translate": "Testing the error"
        }
    },
    "parent": "custom:test/root",
    "criteria": {
        "get_stone": {
            "trigger": "minecraft:enter_block",
            "conditions": {
                "block": "minecraft:water"
            }
        }
    }
}

mmm... I thought that didn't matter, since other advancements I made didn't have influence with it

WolfieTundra

(Unassigned)

Unconfirmed

Minecraft 17w18a

Retrieved