mojira.dev
MC-72784

Armor Stand spawner block

I have a bug that armor stands don't work with spawner blocks

*What I expected to happen was...:
That a armor stand would spawn

*What actually happened was...:
Crashed a realm and my client

Steps to Reproduce:
1. Spawn a spawner block that spawns armor stands

/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {EntityId:ArmorStand}

2. Game crashes

---- Minecraft Crash Report ----
// Uh... Did I do that?

Time: 7-10-14 15:05
Description: Ticking block entity

java.lang.ClassCastException: adi cannot be cast to xn
	at aqi.a(SourceFile:165)
	at aqi.c(SourceFile:108)
	at bdg.c(SourceFile:55)
	at aqu.i(SourceFile:1311)
	at qt.i(SourceFile:479)
	at net.minecraft.server.MinecraftServer.z(SourceFile:607)
	at net.minecraft.server.MinecraftServer.y(SourceFile:531)
	at cyk.y(SourceFile:155)
	at net.minecraft.server.MinecraftServer.run(SourceFile:447)
	at java.lang.Thread.run(Unknown Source)


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

-- Head --
Stacktrace:
	at aqi.a(SourceFile:165)
	at aqi.c(SourceFile:108)
	at bdg.c(SourceFile:55)

-- Block entity being ticked --
Details:
	Name: MobSpawner // bdg
	Block type: ID #52 (tile.mobSpawner // axr)
	Block data value: 0 / 0x0 / 0b0000
	Block location: World: (-500,20,446), Chunk: (at 12,1,14 in -32,27; contains blocks -512,0,432 to -497,255,447), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Actual block type: ID #52 (tile.mobSpawner // axr)
	Actual block data value: 0 / 0x0 / 0b0000
Stacktrace:
	at aqu.i(SourceFile:1311)
	at qt.i(SourceFile:479)

-- Affected level --
Details:
	Level name: New World
	All players: 1 total; [qw['tryrodave'/260, l='New World', x=-499,27, y=18,82, z=444,56]]
	Chunk stats: ServerChunkCache: 1720 Drop: 0
	Level seed: 6737337316394647885
	Level generator: ID 01 - flat, ver 0. Features enabled: true
	Level generator options: 
	Level spawn location: -20,00,4,00,269,00 - World: (-20,4,269), Chunk: (at 12,0,13 in -2,16; contains blocks -32,0,256 to -17,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 249704 game time, 10913 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 73409 (now: false), thunder time: 52910 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.z(SourceFile:607)
	at net.minecraft.server.MinecraftServer.y(SourceFile:531)
	at cyk.y(SourceFile:155)
	at net.minecraft.server.MinecraftServer.run(SourceFile:447)
	at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
	Minecraft Version: 1.8
	Operating System: Windows 8 (amd64) version 6.2
	Java Version: 1.7.0_45, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 164729360 bytes (157 MB) / 305532928 bytes (291 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [qw['tryrodave'/260, l='New World', x=-499,27, y=18,82, z=444,56]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Comments 6

If you wanna try it out here is the command:

/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {EntityId: ArmorStand}

incomplete without crash report

Found out how to fix in singleplayer, you need to change the version to 1.7.10 and then load the world. Some stuff might be gone, but the spawner doesnt work.
*Still don't know how to fix in multiplayer servers/ realms

Got the crash report

Btw if you use the command, the entity type is " ArmorStand" note: the space

Is this still an issue in 15w47c or later?

No crash for me.

dave

(Unassigned)

Confirmed

Minecraft 1.8

Retrieved