mojira.dev
MC-248581

Recipe tag "fence_gates" is not recognized in datapacks

 

Recipe file with placed in the folder "<WorldSave>\datapacks\<DatapackName>\data\crafting\recipes" containing the text below does not yeild recipe result.

{
    "type": "minecraft:crafting_shapeless",
    "ingredients": [
        {
            "tag": "minecraft:fence_gates"
        }
    ],
    "result": {
        "item": "minecraft:stick",
        "count": 8
    }
}

 

 

Comments 3

Invalid, it's a block tag, not an item tag. Asking for it to also be an item tag is a feature request.

I see what you mean, but why does the tag "minecraft:fences" work as a proper tag then when it is also a block? Is this distinction due to how it's also a redstone component?

Block tags only apply to placed blocks. #fences exists as both a block tag, and an item tag, unlike #fence_gates.

Frostyflyrap

(Unassigned)

Unconfirmed

(Unassigned)

datapack, fence_gate, tags

1.18.1

Retrieved