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

Mob on turtle eggs causes the game to crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Release Candidate 1
    • 1.15.2, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7
    • None
    • Plausible
    • Crash

      The bug

      A large number of mobs on a large number of turtle eggs will cause the game to crash in an uncertain time.It seems that the game thinks that the air is the turtle egg, but the data value of the turtle egg cannot be found, causing the game to crash. I've tested that 1.13 to 1.16 will crash.

      It's not just creepers, many mobs and animals can cause crashes.
      Any world ,even a new world,will crash.It's a low probability event that requires hundreds of mobs and turtle eggs to increase the probability.

      Try this. The game will crash as soon as the commands is executed in any world
      /difficulty normal
      /time set 18000
      /fill ~-30 ~30 ~-30 ~30 ~31 ~30 minecraft:turtle_egg
      /spreadplayers ~ ~ 0 30 false @e[type=!player]
      /spreadplayers ~ ~ 0 30 false @e[type=!player]
      /spreadplayers ~ ~ 0 30 false @e[type=!player]
      /spreadplayers ~ ~ 0 30 false @e[type=!player]
      /spreadplayers ~ ~ 0 30 false @e[type=!player]

      Stack trace

      20w11a: crash-2020-03-13_18.43.43-server.txt
      Description: Ticking entity
      
      java.lang.IllegalArgumentException: Cannot get property cdk{name=eggs, clazz=class java.lang.Integer, values=[1, 2, 3, 4]} as it does not exist in Block{minecraft:air}
      	at ccj.c(SourceFile:93)
      	at bzi.a(SourceFile:73)
      	at bzi.a(SourceFile:67)
      	at bzi.a(SourceFile:47)
      	at amh.a(SourceFile:615)
      	at amq.e(SourceFile:1986)
      	at amq.l(SourceFile:2336)
      	at amr.l(SourceFile:498)
      	at azj.l(SourceFile:39)
      	at amq.h(SourceFile:2147)
      	at amr.h(SourceFile:303)
      	at ayv.h(SourceFile:155)
      	at yg.a(SourceFile:604)
      	at bmy.a(SourceFile:542)
      	at yg.a(SourceFile:400)
      	at net.minecraft.server.MinecraftServer.b(SourceFile:860)
      	at net.minecraft.server.MinecraftServer.a(SourceFile:799)
      	at ejv.a(SourceFile:129)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:658)
      	at java.lang.Thread.run(Thread.java:748)
      

            cojomax99 [Mojang] Cory Scheviak
            ffcr ffcr
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: