Zombie horsemen can spawn holding any of the items that normal zombies have a chance to spawn holding, namely an iron sword or iron shovel. This may be intended, but the 25w41a changelog does say
Zombie Horses now has a chance to spawn in plains and savanna biome types, with a zombie rider holding an iron spear
so I wanted to confirm what the intended behavior is.
To reproduce
Create a new creative superflat world with the default preset
Set the difficulty to hard (although I’m not sure if it matters)
/gamerule doDaylightCycle false
/time set midnight
/gamerule commandBlockOutput false
Set up a repeating command block facing sideways with
teleport @e[type=!player,type=!minecraft:zombie_horse,type=!zombie] ~ -1000 ~
Place a chain command block after it with
teleport @e[type=minecraft:zombie_horse,distance=20..256] ~ ~1 ~
Place another chain command block after that one with
execute as @e[type=zombie,nbt={OnGround:1b},distance=..256] run teleport @s ~ -1000 ~
Place a final chain command block after that one with
execute as @e[type=minecraft:zombie_horse] on passengers unless entity @s[nbt={equipment:{mainhand:{id:"minecraft:iron_spear"}}}] run effect give @s minecraft:glowing infinite 0 true
Power the repeating command block
/tick sprint 100d
Run
/teleport @e[type=zombie_horse,nbt={Passengers:[{id:"minecraft:zombie",equipment:{mainhand:{id:"minecraft:iron_spear"}}}]}] ~ -1000 ~
periodically when the number of regular zombie horseman spawns has become annoying
❌ A glowing zombie horseman holding something other than an iron spear will eventually appear/tick sprint stop
Note
I would not really mind if this is intended, I’m more just curious how Mojang feels about it.
I would like if it could at least hold copper to diamond spears, with enchantment too