mojira.dev
MCPE-114152

trigger for events inside a sequence seems doesnt works properly.

 I have this kind of event inside a events:

"on_bee_morph": {
         "sequence": [
           {
             "remove": 
{               "component_groups": [                 "minecraft:player",                 "bat_morph",                 "bee_morph",                 "blaze_morph",                 "chicken_morph",                 "cat_morph",                 "cave_spider_morph",                 "cow_morph",                 "spider_morph"               ]             }
          },
           {
             "add": 
{               "component_groups": [                 "bee_morph",                 "skin_id_0"               ]             }
          }
         ]
       },

 

and i want to shorten it to :

 

"remove_all": {
         "remove": 
{           "component_groups": [             "minecraft:player",             "bat_morph",             "bee_morph",             "blaze_morph",             "chicken_morph",             "cat_morph",             "cave_spider_morph",             "cow_morph",             "spider_morph"           ]         }
      },
       "on_bee_morph": {
         "sequence": [
           
{             "trigger""remove_all"           }
,
           {
             "add": 
{               "component_groups": [                 "bee_morph",                 "skin_id_0"               ]             }
          }
         ]
       },

But seems it make my behavior broken, somehow the trigger is triggered after a the add called, while it should be called before the add happens since its a sequence.

Comments 2

Is this still an issue in the latest version (1.17.10)? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Darius Ellert Klaus

(Unassigned)

Unconfirmed

Windows

Windows 10 version 2004 build 19041.685

1.16.201 Hotfix

Retrieved