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.
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
| Combination | Outcome |
|---|---|
End/End | teleports ~8 blocks from an incoming projectile, rider included |
| anything else | nothing |
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
Endechoing,n- Inheritance
- homozygous recessive
- Reaches the game as
- a
teleporteffect on anon_hurttrigger - Coat effect
- none, ever
A ridden horse’s movement is client-authoritative — HorseWaterRidingHandler 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.
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.
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.
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.
common/genetics/genes/EnderEchoGene.java