mojira.dev
MC-53317

Mob spawned with empty SkullOwner: tag in it's helmet gives weird mob relocation and other effects

What I Expected the command as follows in a command block to do:

/summon PigZombie ~ ~1 ~ {Equipment:[{Count:1,id:279,tag:{ench:[{id:33,lvl:1}]}},{Count:1,id:309,tag:{ench:[{id:2,lvl:4}]}},{Count:1,id:304,tag:{ench:[{id:3,lvl:4}]}},{Count:1,id:315,tag:{ench:[{id:4,lvl:4}]}},{Count:1,id:397,Damage:3,tag:{SkullOwner:}}],CustomName:Jake4832,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:35},{Name:generic.movementSpeed,Base:1.0},{Name:generic.attackDamage,Base:3.5},{Name:generic.followRange,Base:20},{Name:generic.knockbackResistance,Base:0.5}],IsVillager:1,DropChances:[1.0F,1.0F,1.0F,1.0F,1.0F]}

Was to spawn a zombie pigman with Knockback resistance of 0.5, a follow range of 20, an damage of 3.5 inflicted to player, a movement speed of 1.0, and a health of 35. This zombie pigman would also be wearing a random head with a drop chance of 100%, a golden chest plate enchanted with projectile projection level 4 with a drop chance of 100%, some chainmail leggings with (either fire protection leve 4 or blast protection level 4, do not remember which, sorry :{ ) with a drop chance of 100% , and iron boots with a feather falling enchantment level 4 and a drop chance of 100%. He would have a diamond axe enchanted with silk touch level 1 and a drop chance of 100%. He also is a villager zombie, but it does not change a zombie pigman's skin.

What Actually happened:
Alot of weird things, and all i could keep thinking was:
"Damn, I Broke Minecraft Bad..."
Please see videos below for account of what happened!

Linked issues

Attachments

Comments 7

Can confirm in 14w11b. Weird things happen.
But works fine in 1.7.9

Devconsole says:

[07:48:13] [Client thread/INFO]: [CHAT] [@: Object successfully summoned]

Repeating:

[07:48:13] [Client thread/ERROR]: Couldn't render entity
java.lang.IllegalArgumentException: Name and ID cannot both be blank
	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:25) ~[authlib-1.5.5.jar:?]
	at bzt.a(SourceFile:66) ~[14w11b.jar:?]
	at byj.a(SourceFile:368) ~[14w11b.jar:?]
	at byj.a(SourceFile:154) [14w11b.jar:?]
	at byn.a(SourceFile:23) [14w11b.jar:?]
	at byn.a(SourceFile:11) [14w11b.jar:?]
	at bxo.a(SourceFile:219) [14w11b.jar:?]
	at bxo.a(SourceFile:199) [14w11b.jar:?]
	at bxo.a(SourceFile:176) [14w11b.jar:?]
	at btm.a(SourceFile:472) [14w11b.jar:?]
	at btf.a(SourceFile:1150) [14w11b.jar:?]
	at btf.b(SourceFile:935) [14w11b.jar:?]
	at bfr.ai(SourceFile:828) [14w11b.jar:?]
	at bfr.f(SourceFile:755) [14w11b.jar:?]
	at net.minecraft.client.main.Main.main(SourceFile:121) [14w11b.jar:?]
[07:48:58] [Client thread/ERROR]: ########## GL ERROR ##########
[07:48:58] [Client thread/ERROR]: @ Post render
[07:48:58] [Client thread/ERROR]: 1283: Stack overflow

Caused by empty SkullOwner: tag of the head. Works fine with:

/summon PigZombie ~ ~1 ~ {Equipment:[{Count:1,id:279,tag:{ench:[{id:33,lvl:1}]}},{Count:1,id:309,tag:{ench:[{id:2,lvl:4}]}},{Count:1,id:304,tag:{ench:[{id:3,lvl:4}]}},{Count:1,id:315,tag:{ench:[{id:4,lvl:4}]}},{Count:1,id:397,Damage:3}],CustomName:Jake4832,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:35},{Name:generic.movementSpeed,Base:1.0},{Name:generic.attackDamage,Base:3.5},{Name:generic.followRange,Base:20},{Name:generic.knockbackResistance,Base:0.5}],IsVillager:1,DropChances:[1.0F,1.0F,1.0F,1.0F,1.0F]}

After killing that bugged pigzombie, I'll get a named head without name.

Tested same command in 14w34c with no issues.

However, interestingly enough, MC-55413 had an issue with no SkullOwner tag, which duplicated to MC-58512 (fixed).

Ok, resolving this as duplicate of MC-58512

Sean Mignosa

(Unassigned)

Confirmed

Minecraft 14w11b

Retrieved