Mojira Archive
MCM-670

Molang variables aren't saved across game sessions

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 saved and loaded when the player quits and rejoins a world.

Impact:

Player actions that affect a custom entity's appearance are not saved when a player quits the world.  This causes the game to display the entity using the default parameters defined in the resource pack entity file's scripts/initialization component when the player next loads the world, instead of using the values set by the player.

Repro Steps:

  1. Open the map provided to Gregg in slack.
  2. While facing the model, push the button on the gold block followed by the button on the diamond block
  3. Log out and back in

Observed Results:

The model will change appearance when the diamond block button is pushed.  On relog, this change will be undone and the model will revert to its default state.

Expected Results:

The molang variables should be saved and loaded across game sessions.

Screenshot/Video?

Yes, provided to Gregg in slack.

Regression Builds:

None.

Notes:

None.

Unresolved

MrSquishy

2019-05-31, 02:01 AM

2019-06-04, 06:44 AM

1

2

Future Release

-