Skip to content

I don't know how to control variants. #552

@Good-Boi24

Description

@Good-Boi24

So I've written a script to spawn Untamed Wilds anacondas in the specified biomes. The issue is that UW uses "variant" nbt tags to specify species, so I have to use them to make them spawn.

[
{
"mob": "untamedwilds:large_snake",
"persecond": 900,
"attempts": 2,
"amount": {
"minimum": 1,
"maximum": 1,
"groupdistance": 3,
"nbt": {
"Variant":
["0"]
},
{
"Size":
["0.9"]
}
},
"conditions": {
"dimension": "minecraft:overworld",
"inwater": true,
"mindist": 5,
"maxdist": 20,
"minheight": 50,
"maxheight": 60,
"maxthis": 20,
"and": {
"biome": ["climaterivers:warm_river", "minecraft:mangrove_swamp", "terralith:tropical_rainforest"]
}
}
}
]

I am not sure how to use them in this case. It is important that I will have to specify "size" as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions