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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w11a
    • Fix Version/s: 20w13a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Crash, Resource Packs
    • Mojang Priority:
      Very Important

      Description

      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

      Video

      https://www.youtube.com/watch?v=BYy_fFRg-8I

      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)
      

        Attachments

          Activity

            People

            Assignee:
            grum [Mojang] Grum (Erik Broes)
            Reporter:
            DreamedWave4364 DreamedWave4364
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: