NeoForge
NeoForge copied to clipboard
Horse Armor Expansion
Just musing about a few things that would make horse armor more extensible.
- Delegate
Horse#setArmorEquipment
toHorseArmorItem
so that armor can apply more attribute modifiers than just the armor modifier. a. Vanilla logic has to be replicated, and a method for removal needs to exist as well so modifiers can be cleaned up when the armor is replaced. - Delegate
Horse#isArmor
toIItemExtension
instead of requiringp_30731_.getItem() instanceof HorseArmorItem
. (Depends on the first point, as currently that method casts toHorseArmorItem
).