mojira.dev
MC-122557

Setting the size parameter for the dust particle to 0 or very close to it crashes the game

The bug

I ran the following command:

/particle dust 0 0 0 0 ~ ~ ~ 0 0 0 1 1 force

and my game subsequently crashed.

I believe changing the fourth zero in the chain is responsible for the crash since running

/particle dust 0 0 0 1 ~ ~ ~ 0 0 0 1 1 force

worked fine.

Crash report

[^crash-2017-11-26_22.02.02-client.txt] (17w47b)

Description: Ticking Particle

java.lang.ArithmeticException: / by zero
	at bxg.a(SourceFile:49)
	at bxw.b(SourceFile:206)
	at bxw.a(SourceFile:195)
	at bxw.a(SourceFile:185)
	at bxw.a(SourceFile:153)
	at bmh.m(SourceFile:1286)
	at bmh.b(SourceFile:788)
	at bmh.a(SourceFile:376)
	at net.minecraft.client.main.Main.main(SourceFile:134)

Linked issues

Attachments

Comments 7

This appears to have been fixed in 18w01a.

Oh... right, thanks for double-checking. Turns out I forgot how to use the /particle command.

Still affects 18w05a, please update!

can confirm for 18w09a, crashed on /particle minecraft:dust 0 0 0 0 -1 5.1 20 .5 .1 .5 1 50 with the same error shown above

Confirmed for 18w16a

OnePointZero

migrated

Confirmed

/particle, crash

Minecraft 17w47b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w09a, Minecraft 18w16a

Minecraft 18w19a

Retrieved