Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-174731

Modifying "soul.json" (inside of "particles" folder) causes crash


    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w13a
    • 20w11a
    • None
    • Confirmed
    • Crash, Resource Packs
    • Very Important

      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

      1. Download and enable the attached Texture and Sound Tweaks EDITED.zip resource pack
      2. Equip boots enchanted with soul speed
      3. Walk on soul sand
      4. Look behind you
        The game crashes



      Stack trace

      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)

            grum [Mojang] Grum (Erik Broes)
            DreamedWave4364 DreamedWave4364
            2 Vote for this issue
            3 Start watching this issue