Mojira Archive
MCM-835

Execution order of on_exit/on_entry events is reversed

Partner Rank:

2

Partner Team Reporting:

Everbloom Studios

Verification builds:

1.13.0.9

Summary:

The execution order of on_exit/on_entry events in animation controller state transitions has been reversed from what it used to be. When switching from one animation state to another, one would expect the on_exit events of the previous state to be run before the on_entry events of the state being transitioned to - and this was the behavior until 1.13.0.9, when the order was reversed.

Impact:

This breaks existing content that relies on the execution order of these events. For example, a fill command as an on_exit event, followed by a teleport command in the on_entry events, would now teleport before the fill command runs, which is unexpected behavior.

Repro Steps:

  1. Create and join the provided world. Find the area labeled MCM-835
  2. Hop into the minecart and look at chat.

Observed Results:

In chat you see:
[Name] on_entry, riding
[Name] on_exit, default

Expected Results:

In chat you should see:
[Name] on_exit, default
[Name] on_entry, riding

Screenshots/Videos attached: Yes/No

No.

Regression Builds:

1.13.0.6

Fixed

Energyxxer

2019-10-06, 05:52 AM

2019-12-12, 07:55 PM

2019-12-12, 07:55 PM

4

1

Future Release

-