Mojira Archive
MCM-669

Molang variables aren't updated if player isn't looking at entity

Partner Rank:

1

Partner Team Reporting:

Pathway Studios

Verification builds and Platforms:

Minecraft-Release_UAP_x64_2244817 - 1.12.0.6 RC1

Summary:

User-defined molang variables are not updated if they are changed while the player is facing away from the entity.

Impact:

Leads to mechanics working inconsistently as sometimes these variables are updated through entity tags communicating with behavior packs and render controller queries when the player is facing away from the entity.

Repro Steps:

  1. Open the map provided to Gregg in slack.
  2. Face away from the model so that it disappears
  3. Push the button on top of the gold block, then the button on top of the diamond block, then look at the model
  4. While facing the model, push the button on the gold block followed by the button on the diamond block

Observed Results:

When facing away from the model the entity does not update.  When facing towards the model, the entity updates.

Expected Results:

The entity should update in both cases.

Screenshot/Video?

Yes, provided to Gregg in slack.

Regression Builds:

None.

Notes:

The model also reverts to its default state if the entity is outside of the player's render distance (not just the player having their back turned, but walking several chunks away such that the entity unloads).

Unresolved

MrSquishy

2019-05-31, 01:50 AM

2019-06-03, 01:19 AM

1

1

Future Release

-