#Keep cat variant when structure generates

1 messages · Page 1 of 1 (latest)

ornate imp
#

I have a structure that generates a cat in it but I need it to be a black cat every time the structure generates, but whenever it generates the cat is randomized. Is there any way for it to be a black cat every time?

peak hareBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1730866528:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

wild tide
#

I'm pretty sure even though things like cat variant or equipment can be randomized when a structure generates, if the entity has tags it will keep them when spawned. So unfortunately you'll probably need to give those cats a tag, re-save the structure, then use a ticking function to check for cats with the tag and change their variant with a data command

ornate imp
#

I don't know how do any of that

#

also this structure is in a mod and not a datapack.

wild tide
#

So you want mod help, not data pack help?

ornate imp
#

well I thought since structures are the same in mods and datapacks unless you are doing something advanced, it would be fine to ask here. I kinda forgot you even had a channel for mod help

wild tide
#

We don't

ornate imp
#

#1143095605577654392 doesn't that have modding help?

wild tide
#

Not really, no

ornate imp
#

oh

wild tide
#

You're right that mods and data packs handle structure generation the same way, but there isn't a feature of custom structure generation that disables the randomization of things like cat variant or mob equipment

ornate imp
#

mob equipment does stay the same

wild tide
#

So I offered a solution that I know how to do in my capacity as a helper in a data pack server

wild tide
ornate imp
wild tide
#

Unfortunately not

ornate imp
#

well thanks for your time then

#

ill close this post