mojira.dev
MC-202383

Regeneration effect is not remembered from saved games

After setting player regeneration effect in a newly created world like so:

/effect give @p regeneration 1000000 255 true

regeneration works fine.  You can see the jumping health heart animation and player damage is limited / not severe.  I then save the game and exit. 

Later, I will reopen the launcher, and choose the game I previously saved.  The jumping heart animation is shown and the effect is listed when viewing the inventory (without the recipe book open) but the regeneration effect itself is not enabled and player receives damage as if no regeneration is enabled at all.

Regeneration settings elsewhere were not adjusted.

Difficulty mode is Normal

No resource packs or mods (vanilla install).

The only other cheat I entered along with regeneration is:

/effect give @p night_vision 1000000 255 true

Environment

Minecraft Java Edition - launcher info:
2.1.17626
Wednesday, September 16, 2020, 1:50:13 AM
382474d99b77e172fbe15dd789a580d7f16cf5f6
Using bundled Java runtime.
Issue is on Linux Mint, Mac OS X 10.11.6, macOS 10.15.x, Windows 10

Linked issues

Comments 2

See MC-10755. Do not use effects greater than level 127

@tryashtar, the link to 'Potion effects' wiki in the issue you linked to has no content.  How would I know about this?  The game should present a warning if you use a multiplier over 127.  I agree with some of the posters in that thread: the game should warn that any multiplier over 127 is wrong.  Smells like a bug to me.

migrated

(Unassigned)

Unconfirmed

1.16.3, 1.16.4 Pre-release 1

Retrieved