Affects Version/s: 188.8.131.52 Beta, 184.108.40.206 Beta, 220.127.116.11 Beta, 18.104.22.168 Beta, 22.214.171.124 Beta, 126.96.36.199 Beta, 1.9.0, 1.10.0, 188.8.131.52 Beta, 184.108.40.206 Beta, 1.12.0, 1.14.0
Fix Version/s: 220.127.116.11 Beta
Platform:Windows 10 - PC
Instant effects (namely instant health, instant damage, and saturation) are intended to be applied, well, instantly – for a single tick. They have an immediate effect then disappear, not even noticeable on the effects pane. This works fine for drinkable/splash potions, etc.
However, when applied with /effect, the time is treated as seconds, causing the effect to be applied for 20 times longer than intended. This makes it impossible to apply an instant effect for the intended amount of time, causing instant damage to be always fatal and instant health to fully heal you, regardless of the amplifier selected.
Note that treating time as seconds is intended for non-instant effects.
In survival mode, run the following command:
Expected Behavior: You instantly take three hearts of damage (because amplifier 0 was specified).
Actual Behavior: You take four separate hits of three hearts and die.