Skip to content

Can't use "Passengers" as an NBT tag. #38

@dabunginator

Description

@dabunginator

When catching pufferfish, I'm trying to make them spawn with primed TNT stacked on top of them, but they're only spawning by themselves with no TNT spawning at all. Here's the code in my pufferfish.json file:

{
    "input": {
        "item": "minecraft:pufferfish"
    },
    "result": {
        "id": "minecraft:pufferfish",
        "nbt": {
            "Passengers": [
                {
                    "id": "minecraft:tnt",
                    "fuse": 40
                }
            ]
        }
    }
}

I don't think there's an issue with my syntax, because I tried using /summon in-game with the exact same value that I wrote for "nbt", & it worked perfectly.

I didn't test out too many other NBT tags, but I did get CustomName to work, so I'm confused as to what's going on here.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions