本帖最后由 PotatoMaster101 于 2014-1-16 20:00 编辑

大家好,今天在玩转单指令方块刷多个生物时游戏崩了,于是就编写了一条让游戏崩溃的指令。当刷出多个生物的话,如果掉落沙骑在骷髅马上,那游戏就会崩溃(不知为何)。指令是:
  1. /summon Bat ~ ~1 ~
  2. {Riding:{id:FallingSand,Riding:{id:EntityHorse,Tame:1,Saddle:1,Type:4}}}
复制代码
大家看见指令就是一个蝙蝠骑着掉落沙骑着骷髅马。在服务器里也测试过,会把服务器弄崩溃。大家可以自己试试。(不过先备份地图,因为一旦刷出此生物后就没办法移除,除非MCEDIT)。


本人的崩溃记录:
  1. ---- Minecraft Crash Report ----
  2. // Don't be sad. I'll do better next time, I promise!

  3. Time: 14-1-16 ??5:28
  4. Description: Ticking entity

  5. java.lang.ClassCastException: wu cannot be cast to sg
  6.         at vt.f(SourceFile:1179)
  7.         at sg.e(SourceFile:1436)
  8.         at sh.e(SourceFile:300)
  9.         at rg.e(SourceFile:116)
  10.         at vq.e(SourceFile:41)
  11.         at vt.e(SourceFile:978)
  12.         at sg.m_(SourceFile:1271)
  13.         at sh.m_(SourceFile:171)
  14.         at vt.m_(SourceFile:1009)
  15.         at agx.a(SourceFile:1418)
  16.         at nb.a(SourceFile:514)
  17.         at agx.g(SourceFile:1396)
  18.         at agx.i(SourceFile:1301)
  19.         at nb.i(SourceFile:393)
  20.         at net.minecraft.server.MinecraftServer.u(SourceFile:527)
  21.         at net.minecraft.server.MinecraftServer.t(SourceFile:461)
  22.         at bve.t(SourceFile:123)
  23.         at net.minecraft.server.MinecraftServer.run(SourceFile:379)
  24.         at lr.run(SourceFile:647)


  25. A detailed walkthrough of the error, its code path and all known details is as follows:
  26. ---------------------------------------------------------------------------------------

  27. -- Head --
  28. Stacktrace:
  29.         at vt.f(SourceFile:1179)
  30.         at sg.e(SourceFile:1436)
  31.         at sh.e(SourceFile:300)
  32.         at rg.e(SourceFile:116)
  33.         at vq.e(SourceFile:41)
  34.         at vt.e(SourceFile:978)
  35.         at sg.m_(SourceFile:1271)
  36.         at sh.m_(SourceFile:171)
  37.         at vt.m_(SourceFile:1009)
  38.         at agx.a(SourceFile:1418)
  39.         at nb.a(SourceFile:514)
  40.         at agx.g(SourceFile:1396)

  41. -- Entity being ticked --
  42. Details:
  43.         Entity Type: EntityHorse (vt)
  44.         Entity ID: 9812
  45.         Entity Name: Skeleton Brumby
  46.         Entity's Exact location: 235.50, 75.00, 239.50
  47.         Entity's Block location: 235.00,75.00,239.00 - World: (235,75,239), Chunk: (at 11,4,15 in 14,14; contains blocks 224,0,224 to 239,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
  48.         Entity's Momentum: 0.00, 0.00, 0.00
  49.         Entity's Rider: wu['Falling Block'/9811, l='New World', x=235.50, y=75.00, z=239.50]
  50.         Entity's Vehicle: ~~ERROR~~ NullPointerException: null
  51. Stacktrace:
  52.         at agx.i(SourceFile:1301)
  53.         at nb.i(SourceFile:393)

  54. -- Affected level --
  55. Details:
  56.         Level name: New World
  57.         All players: 1 total; [ne['PotatoMaster101'/7312, l='New World', x=235.17, y=73.78, z=239.74]]
  58.         Chunk stats: ServerChunkCache: 688 Drop: 0
  59.         Level seed: 7071423172801282264
  60.         Level generator: ID 00 - default, ver 1. Features enabled: true
  61.         Level generator options:
  62.         Level spawn location: 244.00,64.00,232.00 - World: (244,64,232), Chunk: (at 4,4,8 in 15,14; contains blocks 240,0,224 to 255,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
  63.         Level time: 94 game time, 94 day time
  64.         Level dimension: 0
  65.         Level storage version: 0x04ABD - Anvil
  66.         Level weather: Rain time: 93312 (now: false), thunder time: 39703 (now: false)
  67.         Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
  68. Stacktrace:
  69.         at net.minecraft.server.MinecraftServer.u(SourceFile:527)
  70.         at net.minecraft.server.MinecraftServer.t(SourceFile:461)
  71.         at bve.t(SourceFile:123)
  72.         at net.minecraft.server.MinecraftServer.run(SourceFile:379)
  73.         at lr.run(SourceFile:647)

  74. -- System Details --
  75. Details:
  76.         Minecraft Version: 14w02c
  77.         Operating System: Windows 8 (amd64) version 6.2
  78.         Java Version: 1.7.0_10, Oracle Corporation
  79.         Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
  80.         Memory: 197001504 bytes (187 MB) / 394723328 bytes (376 MB) up to 954466304 bytes (910 MB)
  81.         JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
  82.         IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
  83.         Profiler Position: N/A (disabled)
  84.         Player Count: 1 / 8; [ne['PotatoMaster101'/7312, l='New World', x=235.17, y=73.78, z=239.74]]
  85.         Type: Integrated Server (map_client.txt)
  86.         Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
复制代码


=============END=============