Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Better Horse Feeding

Better Horse Feeding

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

73
1
Food
Game Mechanics
Utility

Compatibility

Minecraft: Java Edition

1.21.1
1.20.1

Platforms

Fabric
Forge
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

View source

Creators

jason13official
jason13official Member

Details

Licensed Unlicense
Published last month
Updated last month
DescriptionChangelogVersions

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!

Modrinth is open source.

app-ads@1633f40

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.