Magical gene / no coat effect
Music enjoyer
Play a record near this horse and it will stand there giving off hearts and slowly deciding it likes you. One of the few ways to build bond that does not involve feeding, riding or waiting.
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 |
|---|---|
Msc/Msc | bond rises near a playing jukebox, with hearts |
| anything else | nothing |
It still respects the daily limit
Bond has a cap per day, and this counts against it like every other source. Leaving a jukebox running overnight will not hand you a tier-three horse by morning — it will hand you the same day’s worth of bond you could have earned another way, for less effort.
Health
None.
- Gene key
horsegenetics.music_enjoyer- Alleles
Mscmusic-loving,n- Inheritance
- homozygous recessive
- Reaches the game as
- a
bondeffect gated onnear_jukebox - Coat effect
- none, ever
HorseCareAttachment carries bondToday precisely so no single source can run bond from nothing to the top tier overnight. A bond source that ignores it is an AFK exploit rather than a feature — and it devalues every other way of earning bond in one change.
Every existing condition flag is a field read off the horse. This one has to look at the world, and a naive implementation scans blocks per horse per tick. Interval-sampled, small radius, cached between samples.
§15 lists more bond sources as open work. The bond verb built here is the one food preference needs too, and the one a future grooming or sleeping source would reuse.
A small verb with more users than it looks
“Raise bond by an amount, on an interval, while a condition holds” is enough to express this gene, food preference, and every bond source the backlog has asked for. Building it here rather than hard-coding a jukebox check is what makes the next one free.
Bond as something a gene can touch
Bond has so far been entirely about what the player does. This is the first locus where the horse has an opinion about how it would like to be won over, and it opens a category the mod has not used: genes that change the husbandry rather than the animal.
common/genetics/genes/MusicEnjoyerGene.java