Magical gene / no coat effect

Ender echo

Shoot at it and it is not there any more. The horse blinks about eight blocks away from an incoming projectile, carrying whoever is riding it — which is either the best thing about it or the worst, depending on what is eight blocks away.

Built, and not yet seen in game

The gene, its inheritance and its founder table exist and are covered by the test suite; the translator that turns it into behaviour was written against the 26.1.2 sources and is flagged unverified in its own comments. Nothing on this page has been watched happening to a horse. What to look at, and what is most likely to be wrong, is on To be verified.

What it does

CombinationOutcome
End/Endteleports ~8 blocks from an incoming projectile, rider included
anything elsenothing

It takes you with it

You keep your seat and arrive somewhere else. Against skeletons this is close to immunity. Against a skeleton on the far side of a ravine it is a short trip you did not plan. Eight blocks is deliberately small — far enough to break a line of fire, not far enough to be transport.

Health

Strongly protective against ranged attackers, and neutral otherwise. The danger is the terrain, not the gene.

Gene key
horsegenetics.ender_echo
Alleles
End echoing, n
Inheritance
homozygous recessive
Reaches the game as
a teleport effect on an on_hurt trigger
Coat effect
none, ever
Teleporting a vehicle with passengers is a desync classic

A ridden horse’s movement is client-authoritativeHorseWaterRidingHandler gates on isLocalInstanceAuthoritative for exactly this reason, and BarebackSteeringHandler records that driving a ridden horse from the server tick “worked and it felt wrong”. A server-side teleport must reach the riding client as a position it accepts, or the rider rubber-bands straight back and the gene appears to do nothing intermittently.

Validate the destination, and refuse rather than move

Never into blocks, never into the void, never past a world border. A teleport verb that trusts its destination will eventually suffocate a horse inside a mountain with its owner on top. Failing to find a legal landing spot must mean no teleport this time.

The eight-block cap is load-bearing

Uncapped, this is free combat mobility and the best movement item in the mod attached to an animal. The range is a balance decision, not a placeholder.

The trigger is shared

on_hurt is a new entry in a closed set of four triggers. Guardian needs the closely-related on_owner_hurt, so the two should land together and the trigger machinery gets paid for twice.

Why a trigger and not a condition

Teleporting away from projectiles is an event, and the trigger set exists precisely so that event-driven effects do not have to be written as per-tick conditions that poll for something that already happened. The set is closed at four on purpose; adding to it is a real change and wants a second user, which is why this gene and guardian are scheduled together.

A survival trait, borrowed

The mod’s magical loci mostly grant things no animal has. This one grants something another mob in the same world plainly does, which makes it the easiest magical gene to believe in — the question it raises is not “how” but “where did a horse get enderman in it”, and that is a much better question for a breeding game to leave open.

Planned source: common/genetics/genes/EnderEchoGene.java