nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Better Horse Feeding

Better Horse Feeding

Mod

Better Horse Feeding makes Golden Apples apply their effects to horses, as they should!

Client and server FoodGame MechanicsTransportationUtility

67 downloads
1 follower

Better Horse Feeding makes Golden Apples apply their effects to horses when fed to a horse by a player.

Technical Information: This mod works by using SpongePowered Mixins to inject into the Java bytecode of Minecraft. Within the AbstractHorse class (used as the base for the main Horse entity type) there is a method with a mapped name of "handleEating", which has two parameters; one for the Player feeding the horse, another for the ItemStack being fed to the horse. BHF injects into the "head" of this method, applying the effects (if any) from the food being fed to the horse. It's that simple!

External resources


Project members

jason13official

Member


Technical information

License
Client side
required
Server side
required
Project ID