#transformation not adding component groups

1 messages · Page 1 of 1 (latest)

lime sonnet
#

||"lotr:transform_to_gondorian_ranger": {
"minecraft:transformation": {
"into": "lotr:gondor_humanoid<gondor_ranger>",
"keep_owner": true,
"add": {
"component_groups": [
"lotr:tamed"
]
}
}
}||

For some reason, its not adding the group in the add section. I need this group to be added along with calling the above event. Ideas?

zenith beaconBOT
#
Thanks for asking your question!

Once you have finished, please close your thread.

lavish portal
#

It's hard to say why the component group is not being added without more information about the specific implementation you're using and any error messages you may be encountering.

It's possible that the issue is with the "component_groups" field, which is an array and should contain string elements. If you are trying to add multiple component groups, you need to add each one as separate string element like : ["lotr:tamed", "lotr:other_group"]

#

Oh and also make sure it’s actually defined

lime sonnet
#

@lavish portal my solution was going to just be to use the transformation event built in, but for some reason that event isnt being called on transforming. I know that another issue, but do you know how that event works?