Nevakanezah / HorseEnhancer

All-natural horse enhancement for Minecraft 1.12 - 1.14
MIT License
3 stars 2 forks source link

Skeleton horses spawned via trap trigger are not given custom parent names. #35

Closed Nevakanezah closed 4 years ago

Nevakanezah commented 4 years ago

The refactor to breed/spawning code seems to have regressed the functionality of skeleton horses. The initial skeleton horse trap is given the "THUNDER" and "DEATH" parent labels as intended, but the extra horses spawned when the trap is triggered, the additional horses are not given the same label. Odds are good that this is because SpawnReason.TRAP is used by the skeleton archers themselves, while some other spawn reason (mount, maybe?) is used by their steeds.

Ensure that skeleton horses spawn with the custom names when the trap is triggered.

Nevakanezah commented 4 years ago

Upon investigation, this may only be failing to apply for the first horse spawned?

Nevakanezah commented 4 years ago

Code was excluding "DEFAULT" spawnreason, which is used by the vanilla /summon command. I've re-enabled it, so any skelly horse summoned via MC command will have the custom names, for better or worse.