Summon commands - sekelsta/horse-colors GitHub Wiki
Colors
As of version 1.5.2, it's possible to specify genes when summoning a horse.
For instance:
/summon horse_colors:horse_felinoid ~ ~ ~ {extension:[I;0,0]}
will summon a random horse with e/e at extension. The name of the gene is extension
and is lowercase. Then for the value it wants a list of two numbers representing the two alleles. For extension, 0 means 'e'. The I;
specifies that they are integers. Without this the command will not work. Any genes not listed will be chosen at random, so while this command can produce chestnut horses, it can also produce red dun, red roan, chestnut tobiano, palomino, or any other chestnut based color.
To specify more than one gene, just put them both inside the brackets separated by a comma. So /summon horse_colors:horse_felinoid ~ ~ ~ {extension:[I;1,0], agouti:[I;0,0]}
specifies that the horse will be E/e at extension and a/a at agouti. The horse it summons will be black-based with the genetic potential for chestnut-based foals.
Gene names and allele numbers:
- extension (0, 1)
- agouti (0, 1, 4)
- dun (0, 1, 2)
- gray (0, 1)
- cream (0, 1, 2, 3, 4)
- KIT (0 to 7, 9, 11 to 15)
- MITF (0, 3)
- leopard (0, 1)
- PATN1 (0, 1)
- frame (0, 1)
- silver (0, 1)
- LCORL (0, 1)
- HMGA2 (0, 1)
- mushroom (0, 1)
- tiger_eye (0, 1)
- champagne (0, 1)
Use only those numbers with those genes. Any other numbers may cause issues. (As of version 10.0, using incorrect numbers should just do nothing rather than causing issues.)
Stats
As of version 10.0, summoning for stats is no longer available. For previous versions:
To summon a horse with the best stat genes, use
version 1.2.3 or earlier (make sure you have useGeneticStats enabled in the config): /summon horse_colors:horse_felinoid ~ ~ ~ {SpeedGenes:-1, HealthGenes:-1, JumpGenes:-1}
version 1.2.4 or later: /summon horse_colors:horse_felinoid ~ ~ ~ {SpeedGenes:-1, HealthGenes:-1, JumpGenes:-1, MHC1: 107374182, MHC2: 107374182, Immune: 107374182}
In versions before 1.5.2, this will only make splashed white flaxen liver chestnut horses. If for some reason you want the worst stat genes, just replace all those numbers with 0.
Examples
A horse or pony more likely to be small, any color:
/summon horse_colors:horse_felinoid ~ ~ ~ {LCORL:[I;0,0], HMGA2:[I;1,1]}
A horse more likely to be large, any color:
/summon horse_colors:horse_felinoid ~ ~ ~ {LCORL:[I;1,1], HMGA2:[I;0,0]}
Any black-based color (e.g. black, blue roan, grullo/mouse dun, black tobiano):
/summon horse_colors:horse_felinoid ~ ~ ~ {extension:[I;1,1], agouti:[I;0,0]}
Bay with no testable pinto patterns:
/summon horse_colors:horse_felinoid ~ ~ ~ {extension:[I;1,1], agouti:[I;4,4], dun:[I;0,0], gray:[I;0,0], cream:[I;0,0], KIT:[I;0,0], MITF:[3,3], leopard:[I;0,0], frame:[I;0,0}, silver:[I;0,0]}
A small horse or pony with the mushroom dilution, on any base color:
/summon horse_colors:horse_felinoid ~ ~ ~ {LCORL:[I;0,0], HMGA2:[I;1,1], mushroom:[I;1,1]}
A horse with leopard spots or semileopard pattern, any base color, no other testable pinto patterns, not gray:
/summon horse_colors:horse_felinoid ~ ~ ~ {gray:[I;0,0], KIT:[I;0,0], MITF:[3,3], leopard:[I;1,0], PATN1:[I;1,0], frame:[I;0,0}}
A gray horse with high jump:
/summon horse_colors:horse_felinoid ~ ~ ~ {gray:[I;1,0], JumpGenes:-1}