# Horse Powered 1.7.0
Backport of the 1.21.1 branch's 2.6.1 release into 1.20.1.
## New Content
- **Bottles can take fluid out of the Horse Press** ([#17](https://github.com/breakinblocks/HorsePowered/issues/17)): glass bottles carry no fluid-handler capability in Forge, so the press never recognised one as a container and fluids that only have a bottled form (fruit juices and the like) could not be removed by hand at all. A new `horsepowered:bottling` recipe type covers that gap: right-clicking the press with a recipe's `container` drains its fluid from the output tank and hands back the filled item, and right-clicking with the filled item does the reverse, filling the input tank and returning the empty container.
- **One bottling recipe ships by default**: a glass bottle takes 250 mB of water from the press and becomes a water bottle. Press ice, snow, snowballs, or pointed dripstone for the water. Mods and packs add their own at `data/<namespace>/recipes/bottling/<recipe>.json` with `container`, `fluid`, `result`, and optional `priority`. Result NBT is respected, so potions and other data-carrying items work. See `README.md` for the full schema.
- **New Bottling category in JEI and EMI** listing every registered bottling recipe, with the Horse Press as its workstation.
## Bug Fixes
- **Modded spawn eggs now show in Trapping recipes** ([#18](https://github.com/breakinblocks/HorsePowered/issues/18)): the recipe panels looked the entity's spawn egg up through vanilla's `SpawnEggItem.byId`, which only knows about vanilla eggs. Any mob whose egg was registered through `ForgeSpawnEggItem` fell back to a plain egg. The lookup now goes through `ForgeSpawnEggItem.fromEntityType`, which checks Forge's registrations first. If that still finds nothing, an item named `<namespace>:<entity_path>_spawn_egg` is tried before giving up, which covers mods that register a custom egg item class.
- **Trapping recipes with an unresolvable entity no longer capture a pig**: `BuiltInRegistries.ENTITY_TYPE` returns `minecraft:pig` rather than null for an unknown ID, so a recipe naming a mob whose mod was absent (or a typo'd ID) trapped a pig and wrote the bogus ID into the trap's NBT. The trap then went dead on reload: nothing rendered, and no loot ever rolled. Such recipes are now skipped outright, and a saved trap holding an unresolvable entity reports as empty instead of as a pig. The two recipe viewers were affected the same way and no longer show a pig spawn egg for these recipes.
- **EMI's Trapping category had no name**, showing its raw translation key. It now reads "Trapping".
## Recipe Viewer
- **Trapping recipes now name the animal in text** ([#19](https://github.com/breakinblocks/HorsePowered/issues/19)): the JEI and EMI Trapping panels only identified the catch through the spawn egg icon and its hover tooltip, which packs that hide creative items (AStages, GameStages, JEI blacklists) strip out. Each recipe now prints the animal's name as a heading line under the arrow, so the panel reads correctly with no spawn egg visible.
- **New optional `title` field on `horsepowered:trapping`**: overrides that heading. Accepts a translation key (resolved against the active language) or a plain string (shown as-is). Omit it and the entity's own name is used, so existing recipes and datapacks get the naming for free.
- **New optional `icon` field on `horsepowered:trapping`**: an item ID for the panel's output slot, for mobs that have no spawn egg at all. Resolution order is `icon`, then the entity's registered spawn egg, then the conventional egg item ID, then a plain egg.
Optional dependencies
EMI
Any compatible version
Jade 🔍
Any compatible version
Just Enough Items (JEI)
Any compatible version
GuideME
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }