mojira.dev
MC-124147

Zombie horses are invisible and replaced with regular zombies on reload

I spawned some zombie horses both using eggs and /summon, but could only see their shadows.

They move, take damage, make noise, and drop items as normal. (Their hit boxes seem about right.)

Spectral arrows do not highlight them, but they do emit particles.

They are replaced with (visible) zombies (not zombie horses) upon reload.

Game output:

Couldn't render entity
java.lang.ClassCastException: java.util.Optional cannot be cast to java.lang.Boolean
	at ait.dw(SourceFile:134)
	at bxr.a(SourceFile:24)
	at cgb.a(SourceFile:147)
	at cgg.a(SourceFile:41)
	at cgg.a(SourceFile:16)
	at cfg.a(SourceFile:362)
	at cfg.a(SourceFile:349)
	at cba.a(SourceFile:615)
	at cau.b(SourceFile:1178)
	at cau.a(SourceFile:1086)
	at cau.a(SourceFile:944)
	at bob.b(SourceFile:822)
	at bob.a(SourceFile:382)
	at net.minecraft.client.main.Main.main(SourceFile:140)

When attacking zombie horses:

Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Default value cannot be lower than minimum value!
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at i.a(SourceFile:147)
	at bob.b(SourceFile:782)
	at bob.a(SourceFile:382)
	at net.minecraft.client.main.Main.main(SourceFile:140)
Caused by: java.lang.IllegalArgumentException: Default value cannot be lower than minimum value!
	at abi.<init>(SourceFile:21)
	at byf.a(SourceFile:1825)
	at lf.a(SourceFile:70)
	at lf.a(SourceFile:15)
	at ic$1.run(SourceFile:13)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at i.a(SourceFile:146)
	... 3 more

Related issues

MC-124339 invisible zombie horses bug when spawned by player MC-124351 Zombie Horse texture isn't showing up & middileclicking them MC-124370 Zombie Horses are invisible MC-124398 Zombie horses wouldn't be seen and have selector issues MC-124414 invisible zombie horses bug when spawned by player MC-124482 Zombie horses are invisible MC-124733 invisible zombie horses bug when spawned by player MC-124785 Zombie horses are invisible when spawned with egg MC-125207 invisible zombie horses bug when spawned by player MC-125532 Zombie horses are invisible and turn into zombies after leaving the world MC-125571 Zombie Horse bug MC-125586 Zombie Horse Invisible MC-125649 invisible zombie horses bug when spawned by player MC-125756 Zombie horses are invisible MC-125816 THE ZOMBIE HORSE IS INVISIBLE MC-125965 Zombie Horses are invisible MC-126029 Zombie horses are invisible in the 18w08a snapshot. MC-126170 issue with the zombie horse MC-126249 Invisible Zombie Horses MC-126299 Zombie horses are invisible MC-126415 Zombie horses are invisible MC-126902 Zombie horse doesnt render! MC-127087 Minecraft horses MC-127160 Zombie horses still invisible in latest snapshot MC-127194 Zombie Horses are invisible MC-127239 Zombie Horse appears invisible MC-127737 Zombie Horse still invisible in the latest snapshot MC-127739 Invisisble Zombie horse MC-127765 Invisiable Zombie Horse. MC-128036 Invisible Zombie Horse MC-128115 Zombie horses are invisible MC-128280 Zombie Horse missing texture MC-128818 Zombie Horse Egg Doesn't Work

Attachments

Comments

migrated
[media][media][media][media][media][media]
migrated

Please attach screenshots, and make sure no resource packs are loaded.

Cultist_O

Done. The shadow one was taken immediately before I logged out. The flaming zombie one was taken immediately after logging back in. (Single player, new world created today in 18w02a)

[Mod]Les3awe

This issue relates to MC-124114?

migrated

I can confirm this. Additionally, while the zombie horse is invisible (except its shadow), you can't select it with entity selectors by type. In other words, using @e[type=zombie_horse] finds nothing, even though zombie_horse is considered a valid ID by Brigadier; but if you try @e[type=!player] or some other non-specific selector, it will be included in the selected entities properly. On the other hand, if you specify the selector as zombie rather than zombie_horse, it targets the horse. (For instance, /kill @e[type=zombie] will kill the invisible zombie horse.)

So somewhere in development, it seems the zombie horse ID has been mismapped to regular zombies (but only in some parts of the code, not all, or else they'd just be zombies all the time). This makes it unlikely to be related to MC-124114.

migrated

I can confirm that when using the spawn egg in creative (no mods or resource packs used) I just see a shadow. I switched the time to night and got the same result.

migrated

Confirmed 18w07b:

[media]

[media]

[22:00:49] [Client thread/ERROR]: Couldn't render entity
java.lang.ClassCastException: java.util.Optional cannot be cast to java.lang.Boolean
at ajs.dA(SourceFile:140) ~[18w07b.jar:?]
at cgw.a(SourceFile:24) ~[18w07b.jar:?]
at cpo.a(SourceFile:142) [18w07b.jar:?]
at cpt.a(SourceFile:41) [18w07b.jar:?]
at cpt.a(SourceFile:16) [18w07b.jar:?]
at cot.a(SourceFile:368) [18w07b.jar:?]
at cot.a(SourceFile:355) [18w07b.jar:?]
at ckj.a(SourceFile:612) [18w07b.jar:?]
at ckd.b(SourceFile:1175) [18w07b.jar:?]
at ckd.a(SourceFile:1083) [18w07b.jar:?]
at ckd.a(SourceFile:944) [18w07b.jar:?]
at bxe.b(SourceFile:820) [18w07b.jar:?]
at bxe.a(SourceFile:381) [18w07b.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:141) [18w07b.jar:?]

ManDudeGuy

The game also refers to them as Zombie when summoning them via /summon command. This might be related to them turning into Zombies somehow.

FaRo1

say @e claims that they are zombies, but kill @e[type=zombie] does not get rid of them. So apparently not even the server is sure what they are.

migrated

Can confirm they are still invisible in 18w14b.

migrated

And 18w15a.

migrated

Poor zombie horse still invisible in 18w16a.

migrated

The invisible zombie horse that turns into a zombie after relogging has been there from 18w02a to 18w16a. And it actually spawns in a invisible zombie that you can't see until you relog. Any zombie horses you had before entering the snap shoots, would turn it into a invisible zombie you can't see until you relog.

Cultist_O

Agnes Larsson

Confirmed

zombie, zombie_horse

Minecraft 18w02a, Minecraft 18w03a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, ..., Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a

Minecraft 18w19a

Retrieved