The bug
I was making a resource-pack that makes tweaks to sounds and visuals of the game. I've modified particles to look smoother/more natural. I was doing the same thing for the "soul" particle but it ended up crashing my game. Here is a video I've uploaded to YouTube that shows the bug in action, as well as how you can recreate it.
To reproduce
Download and enable the attached
resource pack
Equip boots enchanted with soul speed
Walk on soul sand
Look behind you
→ ❌ The game crashes
Video
https://www.youtube.com/watch?v=BYy_fFRg-8I
Stack trace
20w11a\: [^crash-2020-03-13_23.49.11-client.txt]
Description: Ticking Particle
java.lang.ArrayIndexOutOfBoundsException: 16
at com.google.common.collect.RegularImmutableList.get(RegularImmutableList.java:60)
at dve$a.a(SourceFile:91)
at dvw.b(SourceFile:46)
at dvn.a(SourceFile:27)
at dve.b(SourceFile:333)
at dve.a(SourceFile:322)
at dve.a(SourceFile:295)
at dve$$Lambda$3634/1809217972.accept(Unknown Source)
at java.util.IdentityHashMap.forEach(Unknown Source)
at dve.b(SourceFile:293)
at dhh.p(SourceFile:1542)
at dhh.d(SourceFile:976)
at dhh.d(SourceFile:631)
at net.minecraft.client.main.Main.main(SourceFile:204)
Attachments
Comments 7
Ok sure! The file is too big for this website so I have uploaded it to Google Drive. I made 2 versions for testing. The whole resource-pack and one with just the soul particle tweak. I also edited the post for it to show the crash report.
Whole Resource Pack Link: https://drive.google.com/open?id=1wuoFTH52FrfNiqmDiuz2I6lrsmTQqvuw
Soul Particle Tweak Link: https://drive.google.com/file/d/1W_FA4ye-0lo_Bte0mE7CM1EVVQqxo5sW/view?usp=sharing
And yes... I just tested it, both versions crash (even if it was just the soul.json and soul_0-15.png files in the resource pack)
And no... Thank YOU sir/ma'am!
I've attached the resource pack directly to this ticket, I hope that's fine with you. If not, I can remove it again.
Could you attach the resource pack for help in reproducing this please?