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

Linked issues

MC-124339 invisible zombie horses bug when spawned by player Resolved MC-124351 Zombie Horse texture isn't showing up & middileclicking them Resolved MC-124370 Zombie Horses are invisible Resolved MC-124398 Zombie horses wouldn't be seen and have selector issues Resolved MC-124414 invisible zombie horses bug when spawned by player Resolved

Attachments

Comments 12

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

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)

This issue relates to MC-124114?

Daniel Burnett

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.

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.

2 more comments

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.

Can confirm they are still invisible in 18w14b.

And 18w15a.

Poor zombie horse still invisible in 18w16a.

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