Mojira Archive
MC-270097

Crash when set_ominous_bottle_amplifier item modifier sets out-of-range amplifier

Summary
This is yet another "item modifier setting invalid component causing crash" bug. Here, the new set_ominous_bottle_amplifier item modifier does not clamp or validate the amplifier, causing a crash.

Steps to Reproduce

  1. Give yourself a stick.
  2. Run the following command:
    /item modify entity @s hotbar.0 {function:"set_ominous_bottle_amplifier",amplifier:10}
    
  3. Pause the game.

Expected Result
The game does not crash.

Actual Result
The game crashes.

Fixed

apple502j

2024-03-29, 02:31 AM

2024-04-16, 11:42 AM

2024-04-16, 11:42 AM

2

2

Confirmed

Normal

1216329

Expansion B

Crash

24w13a, 1.20.5 Pre-Release 1

1.20.5 Pre-Release 3