Uploaded image for project: 'Minecraft'
  1. Minecraft
  2. MC-82677

/give @p minecraft:anvil 1 3 will crash your game

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w44b
    • Fix Version/s: Minecraft 16w02a
    • Labels:
      None
    • Environment:

      Java SE binary version 1.8

    • Confirmation Status:
      Confirmed

      Description

      I was experimenting with the /give cmd in vanilla and I typed /give @p minecraft:anvil 1 3 and I got an un-textured block called "anvil" when I placed it the game crashed unfortunately when I opened my recording software it was to late-the game had completely crashed crash report:

      
      
      ---- Minecraft Crash Report ----
      // Hey, that tickles! Hehehe!
      
      Time: 25/07/15 09:49
      Description: Unexpected error
      
      java.lang.IllegalArgumentException: Cannot set property amn{name=damage, clazz=class java.lang.Integer, values=[0, 1, 2]} to 4 on block minecraft:anvil, it is not an allowed value
      	at ama$a.a(SourceFile:124)
      	at aez.a(SourceFile:52)
      	at yo.a(SourceFile:50)
      	at zx.a(SourceFile:127)
      	at bda.a(SourceFile:310)
      	at ave.ax(SourceFile:1371)
      	at ave.s(SourceFile:1812)
      	at ave.av(SourceFile:888)
      	at ave.a(SourceFile:325)
      	at net.minecraft.client.main.Main.main(SourceFile:124)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Stacktrace:
      	at ama$a.a(SourceFile:124)
      	at aez.a(SourceFile:52)
      	at yo.a(SourceFile:50)
      	at zx.a(SourceFile:127)
      	at bda.a(SourceFile:310)
      	at ave.ax(SourceFile:1371)
      
      -- Affected level --
      Details:
      	Level name: MpServer
      	All players: 1 total; [bew['coolplayer78'/93, l='MpServer', x=117.34, y=50.00, z=2131.31]]
      	Chunk stats: MultiplayerChunkCache: 1089, 1089
      	Level seed: 0
      	Level generator: ID 01 - flat, ver 0. Features enabled: false
      	Level generator options: 
      	Level spawn location: 133.00,8.00,1998.00 - World: (133,8,1998), Chunk: (at 5,0,14 in 8,124; contains blocks 128,0,1984 to 143,255,1999), Region: (0,3; contains chunks 0,96 to 31,127, blocks 0,0,1536 to 511,255,2047)
      	Level time: 303085 game time, 1000 day time
      	Level dimension: 0
      	Level storage version: 0x00000 - Unknown?
      	Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
      	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
      	Forced entities: 2 total; [bew['coolplayer78'/93, l='MpServer', x=117.34, y=50.00, z=2131.31], bew['coolplayer78'/93, l='MpServer', x=109.70, y=-257.25, z=2132.01]]
      	Retry entities: 0 total; []
      	Server brand: vanilla
      	Server type: Integrated singleplayer server
      Stacktrace:
      	at bdb.a(SourceFile:309)
      	at ave.b(SourceFile:2293)
      	at ave.a(SourceFile:339)
      	at net.minecraft.client.main.Main.main(SourceFile:124)
      
      -- System Details --
      Details:
      	Minecraft Version: 1.8.7
      	Operating System: Windows 7 (x86) version 6.1
      	CPU: 2x Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz
      	Java Version: 1.8.0_25, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
      	Memory: 58987600 bytes (56 MB) / 317452288 bytes (302 MB) up to 523501568 bytes (499 MB)
      	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
      	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
      	Launched Version: 1.8.7
      	LWJGL: 2.9.4
      	OpenGL: ATI Mobility Radeon HD 3400 Series GL version 2.1.8787, ATI Technologies Inc.
      	GL Caps: Using GL 1.3 multitexturing.
      Using GL 1.3 texture combiners.
      Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
      Shaders are available because OpenGL 2.1 is supported.
      VBOs are available because OpenGL 1.5 is supported.
      
      	Using VBOs: No
      	Is Modded: Probably not. Jar signature remains and client brand is untouched.
      	Type: Client (map_client.txt)
      	Resource Packs: [Find the pressure plate resource pack]
      	Current Language: English (US)
      	Profiler Position: N/A (disabled)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ProfMobius [Mojang] ProfMobius (Thomas Guimbretiere)
                Reporter:
                coolplayer78 Cameron David Ball
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: