mojira.dev
MC-313701

The server becomes unresponsive and eventually crashes when dispensers shoot projectiles with very high power

The Bug:

The server becomes unresponsive and eventually crashes when dispensers shoot projectiles with very high power.

Steps to Reproduce:

  1. Place down a dispenser facing upward that holds a snowball with a very high shooting power by using the command provided below.

    /setblock ~ ~ ~2 minecraft:dispenser[facing=up]{Items:[{Slot:0b,id:"minecraft:snowball",count:1,components:{"minecraft:dispense_behavior":[{type:"minecraft:shoot_projectile",offset:[0.0,0.0,0.0],scale:0.7,uncertainty:0.0,power:1.0e30}]}}]}
  2. Activate the dispenser.

  3. Try to perform actions like throwing items on the ground and observe how the server is unresponsive.

Observed Behavior:

The server becomes unresponsive and eventually crashes.

Expected Behavior:

The server would not become unresponsive or crash.

Comments 0

No comments.

Avoma

(Unassigned)

Plausible

Platform HC

Important

Crash, Performance

26.4 Pre-Release 2

Retrieved